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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / PowerApps Timestamp an...
Power Apps
Unanswered

PowerApps Timestamp and Username that is unique for each List Entry and is saveable

(0) ShareShare
ReportReport
Posted on by 4

Hello im a Beginner at PowerApps, im building a Form to add Entries to a Sharepoint List. I want a Checkbox that when its checked or unchecked writes the Username and a Timestamp of the Current Date in another Input Element, that is located in another Datacard. From what i can tell i cant work with Variables because there arent unique Variables for each List Entry and it changes the Variable for all Entries? And changing the Text from the Input directly also didnt work, i tried it in the onchange of the Checkbox with:

DataCardValue29.Text = Text(Now(), "[$-en-US]yyyy-mm-dd hh:mm:ss") & " " & User().FullName;
 
Categories:
I have the same question (0)
  • Verified answer
    AARON_C Profile Picture
    2,235 Most Valuable Professional on at

    Hi @AlvM,

     

    For your checkbox try this on the OnCheck property:

    Set(varTimeStampUser, Text(Now(), "[$-en-US]yyyy-mm-dd hh:mm:ss") & " " & User().FullName);

     

    On the UnCheck property:

    Set(varTimeStampUser, "");

     

    For the DataCardValue29 Default property:

    varTimeStampUser

     

    Please tick Accept as solution if the answer is useful.

    Thanks,

    @AARON_C 

  • AlvM Profile Picture
    4 on at

    Hi @AARON_C , thanks for the answer. My Problem with this is that the variable gets updated for all List Entries in my Sharepoint if i check it in one Entry or when i Add a New one it gets updated for all Entries. So i need to have a unique variable for each List Entry or get it to Update the Input directly without using variables.

  • johnxt Profile Picture
    on at

    can you tell us more about the workflow, the code above should do the trick but I'm not sure what you mean about it changing for all entires?

     

    If you are then adding this to a line in a sharepoint list once you have done some other work after generating the unique code, whatever process you then use to add the line to the list can clear the variable ready for the next line or even generate a new code for you automatically depending on what it is you need to do?

  • AARON_C Profile Picture
    2,235 Most Valuable Professional on at

    @AlvM 

     

    Could you please share with me more details about how you are saving this to your sharepoint list.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard