cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Imade
Helper I
Helper I

PowerApps auto select button

Hello Team,


I need some help with my canvapps. 

 

I would like to open the form line from the sharepoint directly from the PowerApps application created with its ID.

for that I have added in the "StartScreen" and "OnStart" this value :

StartScreen:

 

 

If(
    !IsBlank(Param("ID"));
    DetailsScreen;
    HomeScreen
)

 

 

OnStart:

 

 

Set(
    varID;
    LookUp(
        'Go no Go';
        ID = Value(Param("ID"))
    )

 

 

 The json button is active on the list SharePoint and give me the right line but.

But with as the fields depends on button in the visible setting I have to manually press the button to display the content.

 

Do you know how to make a button automatically activated when opening the line in my list?

 

With a manual click in the button "Contact"

 

cc.png

 

 

When i open the line of my list without any click ...

No button activateNo button activate

 

Could you please help me with my issue 🙂

 

Thank you in advance

 

Regards,

Imade

1 ACCEPTED SOLUTION

Accepted Solutions
gabibalaban
Dual Super User
Dual Super User

@Imade ,

Try to put on the OnVisible property of the DetailsScreen:

Select(ContactButton)

where ContactButton is the name of your button control.

Hope it helps !

View solution in original post

3 REPLIES 3
cwebb365
Super User
Super User

Doh, you're right, I thought you could execute a button I just couldn't remember. Edited mine out. Gabibalaban has the solution :). 

gabibalaban
Dual Super User
Dual Super User

@Imade ,

Try to put on the OnVisible property of the DetailsScreen:

Select(ContactButton)

where ContactButton is the name of your button control.

Hope it helps !

Imade
Helper I
Helper I

Hello !

 

It works, thank you very much @gabibalaban ! I had really done everything, formulas etc.... When it was so simple!

 

 

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Apps Ideas

Check out the New Ideas Site

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (5,209)