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 / Using a Reference ID t...
Power Apps
Unanswered

Using a Reference ID to go back to A record

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi, 

 

So, I have a Sharepoint list which has all the records of a form I created. Let's say I want to use a Reference ID to go back to the same record and continue answering the form questions say 3 days later using said Reference ID  (Reference ID created like so in the Default pane : Concatenate(Left(User().FullName;2);"-";Text(Now(); "ddmmyy-hhmmss")) )

 

How would I do that ? 

 

Do let me know if you require any further information : ) 


reine2000_0-1690489384605.png

 



Thank you in advance, 

 

 

 

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

    @Anonymous 

     

    You can display the recerence ids in a gallery and then when the user selects one of them, you can open a form that uses LookUp to point to that record.

    Here my list contains only IDs that have value in them.

    narayan225_0-1690513225052.png

    When a I select a value, the form does a lookup in datasource for that ID.

     

    Hope this helps.

     

    Cheers!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @narayan225 , 

    Thank you so much for your reply. 

     

    I have tried your method and still trying to make it work. 

    Once I have selected my ID, what should my "OnSelect" formula look like so that I can pen a form that uses LookUp to point to that record?

    reine2000_1-1690917081533.png
    i want whats in yellow to be the same record. I dont want it to create a new one. How would i do that ?

    Thank you in advance for your guidance

     

     

  • narayan225 Profile Picture
    2,547 Moderator on at

    @Anonymous 

     

    You can use a lookup formula on the form's item property to point to that record.

    For example,

    Lookup(tableName,ReferenceID = Gallery.Selected.ReferenceID)

    Hope this makes sense.

     

    Cheers!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at
     
    reine2000_2-1691416964102.pngreine2000_3-1691417016115.png

     

    When I keep the tab open and continue on the same screen. I do not get this error. 

    However, If I close the tab then reopen and try to access the form through the reference ID, I get this error. 

    How do I avoid these problems with data not displaying in a report ? What is the reason ?

    Thank you for your help, 

  • narayan225 Profile Picture
    2,547 Moderator on at

    @Anonymous 

     

    Are you getting the data directly from the data source or are you storing the data to the collection and then getting it into the form?

     

    This usually happens when the record you are trying to access cannot be found in the source. I suggest your run On App Start and then run your application for testing.

    narayan225_0-1691482119969.png

     

    Hope this helps.

    Cheers!

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 395

#2
WarrenBelz Profile Picture

WarrenBelz 352 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 287 Super User 2026 Season 1

Last 30 days Overall leaderboard