cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP Build Apps How to save data in draft after button click

VijayCR
Active Contributor
0 Likes
547

Dear SAP Build Apps Experts,

I have a requirement to save the data to local draft after clicking on the submit button .Could you please let us know if there is any option to save in local draft to show the data temporarily ?

 

Thanks,
Vijay

Accepted Solutions (0)

Answers (1)

Answers (1)

Dan_Wroblewski
Developer Advocate
Developer Advocate

You could just create an on-device entity -- no need to define all the fields -- and store an object in the entity. The rest depends on what needs to happen next in your requirement.

Dan_Wroblewski_0-1739256496311.png

 

VijayCR
Active Contributor
0 Likes
Hi @dan46 its only working for toggle and drop down my requirement is to store the record on click of button how to add an event to on click of button in the global canvas i see only on change of fields or on change of app refresh events are only possible there
Dan_Wroblewski
Developer Advocate
Developer Advocate
0 Likes
But the button is on a different canvas so it makes sense the event would be on the page on which it is defined, and on the global canvas there would be not be a UI event, no? Why can;t you have the event on the page where the button is?