Skip to main content

Hi Wondering if there’s any way to accomplish the following:

I want to automatically add some text on a Large Text field, by the click of a button.
But problem is , often this field already contains notes that i don’t want to overwrite

Is there a way to accomplish this using the action " Update field on row" without losing original notes?

I do this often with WF or PB in SF by using formula “some text” & br() & Text_field__c

Which basically inputs my new note (some text) and add its on top of exiting note

Thank you

Dave…

This is definitely possible in Skuid! 

  • Create a button

  • use action to update field on row…choose your field you want to update here

  • in the value you want to set it to use merge syntax and then add your text on to the end.

  • So the value field in the action could be {{$Model.myModelName.data.0.myModelField__c}} test value

  • When you click the button it will update to what is in the field and append test value text to the end.

  • I think you can replace ‘test value’ with another merge syntax if you used a UI only field. Didn’t test it, but would imagine that would work.

Hope that helps!

-Jeff Rutter


Hey Jeff, thank you for help. Have you ever tried this?

As i had tried this prior to posting and just tried again.

and i keep losing the original text in field…

Here’s syntax i used: {{$Model.AccountAppW.data.0.Sales_Notes__c}} This is a test  

any ideas?


I was able to make a basic reproduction page and the XML is below. I think this might be what you’re describing as far as I can tell.


Steps to reproduce:


  1. Click pencil to edit

  2. Add text to Field “New Text to add to the end”

  3. Press Row action of Two pieces of paper.

  4. Notice that the End result has added the section to the end.








{{Description}}+" "+{{NewTexttoaddtotheEnd}}














End Result of added text











account
























Thank you Stephen, that approach did work!

Thx


Dave,

Yes, I did test this before posting to you. The org I tried it in is on Banzai still and I created this on a detail page. Not sure if version or my use case test might have anything to do with our differences here! Glad Stephen shared something that worked for you!

-Jeff


Pardon me while I do a victory lap. WWWAAAAAAAHHHHOOOOOOOOOOOOOOOOOOOO