Hello Team,
I am trying to patch and append data to an editable form. I could allow the button to submit and that would solve it but, I need the append function so that only the newly added or edited data can added to the form.
Here is my code below:
//Create a new collection with exisisting Text
Collect(updateCollection, {'Business Use_DataCard':BusinessUseDataCardValue.Text});
//Patch Data - Append info
Patch('Installable Software Assessments', DetailsGallery.Selected, {BusinessUseDataCardValue.Text & Char(13)& DetailsGallery.Selected.'});
I am not sure what exactly I am doing wrong. Can someone assist please?
Solved! Go to Solution.
Again, this would all happen as part of the SubmitForm action. I am not sure what it is that you want to append. Are you not just talking about changing a record shown in your form and saving the edits?
Not sure exactly what it is that you are doing! The two formulas you provided don't seem to be connected or even correct.
Can you elaborate more on what you are trying to achieve and any column names in your datasource that are relevant, and since you mentioned this is a Form, is there any particular reason you are using a Patch?
Perhaps even a screenshot with explanation if you have some.
The one issue I see is that the Patch you are doing contains only a value and not a fieldname. Also it looks like you are trying to concatenate a full record from the gallery with the text in the use case. You can't concatenate a record and a string.
Sorry for the lack of depth with the first post.
What I want to achieve is make the highlighted fields editable fields and basically the end user will be able to make those changes per field as needed so its not going to a form that gets field out and then submitted but mostly individual fields might get edited as needed. So that information will be appended and patched instead so it will only save the last input. I hope this clears it up.
Again, this would all happen as part of the SubmitForm action. I am not sure what it is that you want to append. Are you not just talking about changing a record shown in your form and saving the edits?
Yea you are right randy i think I just over complicated a simple solution. I was over thinking it you. thank you for helping and saving me a headache