Hi,
I have a form that submits and updates exactly as required. However, I would like to update the same sharepoint record at the same time with information that is NOT on the form. E.G Username, todays date etc.
I have a button onselect = submit(form1) this works for all data in form, but how do I add to it the additional data to write to the same record?
Thank you.
Solved! Go to Solution.
@Anonymous
The easiest way to do this is to add the columns you want to your Form and set their Visible properties to false. Then utilize the Update property of those datacards to set the values you want all along with the Submit. No further action needed.
However, if you want to still do this after the submit, then I would suggest putting a formula in your Form's OnSucess action.
A formula such as this:
UpdateIf(yourDataSource, ID=yourForm.LastSubmit.ID,
{
yourOtherColumn: yourColumnValue
}
)
I hope this is helpful for you.
@Anonymous
The easiest way to do this is to add the columns you want to your Form and set their Visible properties to false. Then utilize the Update property of those datacards to set the values you want all along with the Submit. No further action needed.
However, if you want to still do this after the submit, then I would suggest putting a formula in your Form's OnSucess action.
A formula such as this:
UpdateIf(yourDataSource, ID=yourForm.LastSubmit.ID,
{
yourOtherColumn: yourColumnValue
}
)
I hope this is helpful for you.
Thank you worked like a charm.
User | Count |
---|---|
247 | |
106 | |
82 | |
51 | |
43 |