Skip to main content

Notifications

Announcements

No record found.

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 230,445 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,711 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans