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
Super User
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
Super User
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
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,195)