cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jsanjur
New Member

Display field information on text label

Hi all,

 

Im new using Powerapps, recently learning.  I have a list named "Providers requests" and i want to change the list form using Powerapps.

 

On the top i have a text label and i want it to display the Title + ID of the current item im have opened.  Is there is a way i can do that, ive been looking for some answers with no luck.

 

Thanks in advance

 

Juan

1 ACCEPTED SOLUTION

Accepted Solutions
RandyHayes
Super User III
Super User III

@Jsanjur 

The Updates property should be able to supply all the information from the form.

But, for simplicity, just change the Text property to :

SharePointIntegration.Selected.Title & "  ID: " & SharePointIntegration.Selected.ID

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

4 REPLIES 4
RandyHayes
Super User III
Super User III

@Jsanjur 

It sounds like you are using SharePoint Integration (customize form in PowerApps).

So it depends on where you have the label.

If you have the Label in your form as a custom datacard, then you can set the Text property of the Label to : ThisItem.Title & "  ID: " & ThisItem.ID

 

If it is outside of the Form, then you need to reference the current Item from the SharePoint list.

The easiest way would be to reference the Updates property of the Form itself.  So your Text property on the Label would be: 

  yourForm.Updates.Title & "  ID: " & yourForm.ID

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Hi Randy, thank you for the answer.

 

The label is outside the form. The name of the form is the default SharepointForm1 so i went ahead as a test and just added: SharePointForm1.Updates.ID but nothing is displayed, even tho in the form i can see the ID = 1.

 

I did it with a couple more fields and its the same. On the predictive text on the formula bar once i type the formula it says SharePointForm1.Updates.ID = En blanco (empty)

 

Thanks again

RandyHayes
Super User III
Super User III

@Jsanjur 

The Updates property should be able to supply all the information from the form.

But, for simplicity, just change the Text property to :

SharePointIntegration.Selected.Title & "  ID: " & SharePointIntegration.Selected.ID

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

Hey Randy, it worked.

 

Thank you very much for your help!!!

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,520)