Is there any way to store code snippets in a SharePoint list so that I can use them in multiple apps? Is there a better solution?
For instance, If I have a function that I am using for a bunch of apps, I would like to ideally only change it in one place, not have to do find every app that has that function and update it.
I need to be able to trigger the code snippet by form dynamically.
For example:
for sales commission process 1, the commission amount will need to sum field 1,2,3
for sales commission process 2, the commission amount will need to sum fields, 1,4,5
I am drawing the forms similar to how is shown here: https://platformsofpower.net/building-dynamic-forms-in-power-apps-part-1/
I want to be able to define functions that will be applied to certain columns, and ideally would like that to be done at the SharePoint list level.
Does anyone have any thoughts or experience with this?
Any help is appreciated.
Thanks!