Skip to main content

Notifications

Community site session details

Community site session details

Session Id : tg8foTYBOT2AXeW+8bVF66
Power Apps - Building Power Apps
Answered

PowerApps auto select button

Like (0) ShareShare
ReportReport
Posted on 16 Aug 2022 16:35:28 by 103

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

  • Imade Profile Picture
    103 on 16 Aug 2022 at 19:20:20
    Re: PowerApps auto select button

    Hello !

     

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

     

     

  • Verified answer
    CU-18081211-6 Profile Picture
    9,266 Super User 2025 Season 1 on 16 Aug 2022 at 17:21:31
    Re: PowerApps auto select button

    @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 !

  • cwebb365 Profile Picture
    3,294 Most Valuable Professional on 16 Aug 2022 at 17:20:38
    Re: PowerApps auto select button

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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,668 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard
Loading started