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 / need help generating a...
Power Apps
Answered

need help generating a unique ID. almost have it but get an error.

(0) ShareShare
ReportReport
Posted on by 359

Hi. Is there something wrong with our formula? It gives us an error. We are just trying to generate a unique ID based on Date and Time.

 

If(SharePointForm1.Mode = FormMode.New, "XVOD"&Text(Now(),"[$-en-US]yyyymmddhhmmss")&"00", ThisItem.AssetID1); 

 

Screen Shot 2019-10-14 at 8.15.45 AM.png

Categories:
  • cds Profile Picture
    1,001 on at

    What error are you getting

  • Verified answer
    timl Profile Picture
    37,350 Super User 2026 Season 2 on at

    Hi @cchan000 

    I think the trailing semi-colon is causing this error.  I would remove it to see if it fixes the problem.

    If(SharePointForm1.Mode = FormMode.New, "XVOD"&Text(Now(),"[$-en-US]yyyymmddhhmmss")&"00", ThisItem.AssetID1)

     

     

  • cchan000 Profile Picture
    359 on at

    THANK YOU SO MUCH.

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

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 258

#3
Mohsin Ali Profile Picture

Mohsin Ali 231

Last 30 days Overall leaderboard