update field action to include option to update value from another model

Conlan O'RourkeConlan O'Rourke ✭✭✭✭
edited October 11, 2018 in Ideas
I use the mustache syntax {{$Model.myModel.data.0.Id}} a lot in conjunction with the "Update a Field on Row(s)" action. 

It would be great if this action had the same options available when setting model conditions, such as "Field from another model", "Single Specified Value", "None - blank value", "Result of subquery", etc.
3 votes

Implemented · Last Updated


  • edited May 3, 2018
    Conlan, this is actually getting implemented as part of the Millau Update 2 release, which is coming at the end of this May.
  • Conlan O'RourkeConlan O'Rourke ✭✭✭✭
    edited September 21, 2018
    Zach, any chance the ability to update date fields will be included in this upcoming release?
  • Conlan O'RourkeConlan O'Rourke ✭✭✭✭
    edited October 11, 2018
    Hey Zach,

    I'm going to bump this again. I think one of the recent releases updated the "Update a field on rows" to restrict/validate that picklists can only be updated with one of the field's picklist values (see screenshot attached).

    I can understand how this would provide better data validation so this action will only updating the field with the correct data type...date fields must be updated with a specific or relative date and picklist fields must be updated with one of the picklist options...

    However, this took away the ability to pass in a dynamic value from another model. As a result, I'm having to revert to Javascript snippets to accomplish updating fields.

  • edited October 11, 2018
    Conlan, FYI you can go into the XML for the page, find the <action/> node, and put in the merge syntax as the value, e.g. value="{{$Model.Foo.data.0.Some_Field__c}}", that way you don't need to use JavaScript.
  • edited October 11, 2018
    Also, what Skuid release are you on? Are you on Millau Update 2?
  • Conlan O'RourkeConlan O'Rourke ✭✭✭✭
    edited October 11, 2018
    Awesome! That's going to save me like 6 snippets on this one page alone.

    I'm running 11.2.5 right now

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!