cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nithishguptak
Helper II
Helper II

Id auto increment with prefix

Hello,

 

I have been trying to auto increment the id with prefix- though it works without a prefix it doesnt work with a prefix and saves same.

 

If(
Form_JournalScreen.Mode = FormMode.New;
   With(
      {
         wList:
         Sort(
            'Journal Sicherheitsrelevante Ereignisse'.'ID_Jahr/LFdnR';
            Descending
         )
      };
      "2021/  " &     
      Text(  
         Last(wList).'ID_Jahr/LFdnR' + 1
      )
   );
   Parent.Default )

ID_increment.PNG

11 REPLIES 11
nithishguptak
Helper II
Helper II

@Nogueira1306 So thing is after its saved in sharepoint it isnt updated in powerapps. I placed a trigger so that it refreshes every time there is new record.

 

Thank you for your time and being so helpful 

nithishguptak
Helper II
Helper II

@Nogueira1306 thanks for your time. its working now

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,195)