Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Custom save functionality on temp table

(0) ShareShare
ReportReport
Posted on by 20
Hi, I'm using a temporary table on a SimpleList form to create a grid on which the data is edited.
 
I've created a new 'SAVE' button on the action pane which will take the contents of the temporary table and update a more normalized permanent table.
 
It makes sense to edit the data in a grid (by clicking on the cell which puts it in edit mode but it's a bit confusing to have 2 save buttons on the action pane.
 
Is there anyway I can hide the standard edit/save button but still edit the data in the grid by clicking on the cells?
 
  • Martin Dráb Profile Picture
    Martin Dráb 231,399 Most Valuable Professional on at
    Custom save functionality on temp table
    If your logic should run when saving an individual row, why you don't you simply keep the standard button in place and just run your logic on saving? E.g. in insert() and update() methods of your temporary table?
     
    Maybe you want the user allow to change several rows and then apply all the changes to the persistent table at once, but than it's a different operation than "Save" and it should have a different name.
  • Suggested answer
    Komi Siabi Profile Picture
    Komi Siabi 12,772 Most Valuable Professional on at
    Custom save functionality on temp table
    Your custom button should not be Save. You could give it a name Update XYZ.
    That would take away the notion of having two Save buttons. 
     
     If this helped you, I would appreciate it if you would mark this as a Verified Answer, which may in turn help others as well.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,399 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans