web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Updating and concatena...
Power Apps
Unanswered

Updating and concatenating a multi page form title with a SharePoint ID

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello all, 

 

I've been struggling with this issue for a while now and thought it was time to call some experts. 

 

Currently, I am building a project (PowerApps Canvas) which includes a form dashboard (allowing you to view forms in a SharePoint list), as well as a form that a user can fill out. All is well up until the user submits the form. I have logic, that concatenates 3 fields in the form and puts it in the title, the formula looks like this:

 

Concatenate("#",TM_ID_Value, " - ",TM_UserFullName_Value,": ",'TM_Date&Time_Value')

 

On the second forms 'OnSuccess' property, I also have the following code which concatenates the title with the form ID field: 

 

Patch(
  'TM',
  TM_Form_1.LastSubmit,
  {
    Title: Concatenate(
    "#",
    TM_Form_1.LastSubmit.ID,
    " - ",
    TM_Form_1.LastSubmit.Title
    )
  }
);

 

The issue is that when the form is submitted, it seems that the title doesn't update with the SharePoint ID, instead it is just blank, and I get something like:

 

'# - John Smith: 24/07/2023 13:11' 

 

when it should be...

 

'#76 - John Smith: 24/07/2023 13:11'

 

any ideas would be appreciated. 

 

Thank you, 

- Proton

Categories:
I have the same question (0)
  • victorcp Profile Picture
    2,350 Moderator on at

    Hi,

    did you submit 'TM_Form_1' before submitting 'Trade_Marketing_Form_1'?

     

    as it uses 'TM_Form_1.LastSubmit.ID' you must subimit it before

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello, apologies for the typo. TM_Form_1 is submitted after the previous form, which is 'TM_Form_0', I have corrected this in the question now. 

     

    Do you have any idea what could be going wrong? 

     

    Thank you.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 494

#2
WarrenBelz Profile Picture

WarrenBelz 352 Most Valuable Professional

#3
11manish Profile Picture

11manish 323

Last 30 days Overall leaderboard