Cannot empty the value of a lookup through the action framework


Since Banzai creating an action ‘Update a field on row(s)’ if its a lookup and you leave it empty does not remove the content.

Pablo.  I don’t think it ever worked direclty in the Action framework.  I’ve known this going back at least into the summer.  Look at this post:

HAHAHAHA!!! Banzai!!!

<skuidpage unsavedchangeswarning="yes" personalizationmode="server" showsidebar="true" showheader="true"> <models> <model id="Contacts" limit="20" query="true" createrowifnonefound="false" adapter="" type="" sobject="Contact"> <fields> <field id="AccountId"/> <field id="blank" uionly="true" displaytype="TEXT" label="blank" readonly="true" returntype="TEXT"/> </fields> <conditions/> <actions/> </model> </models> <components> <skootable showconditions="true" showsavecancel="true" showerrorsinline="true" searchmethod="server" searchbox="true" showexportbuttons="false" pagesize="10" createrecords="true" model="Contacts" buttonposition="" mode="read" uniqueid="sk-1d7U81-135"> <fields> <field type="COMBO" valuehalign=""> <label>AccountId</label> <template>{{{AccountId}}}</template> </field> </fields> <rowactions> <action type="edit"/> <action type="delete"/> <action type="multi" label="Remove Account Ref" icon="sk-icon-magic"> <actions> <action type="updateRow" fieldmodel="Contacts" field="AccountId" enclosevalueinquotes="true" value="{{blank}}"/> </actions> </action> </rowactions> <massactions usefirstitemasdefault="true"> <action type="massupdate"/> <action type="massdelete"/> </massactions> <views> <view type="standard"/> </views> </skootable> </components> <resources> <labels/> <javascript/> <css/> </resources> <styles> <styleitem type="background" bgtype="none"/> </styles> </skuidpage>

That’s hacking at its best.  Using a feature to solve a problem that was not originally identified as a requirement for the feature. Thanks Pat.


Hah, yeah, UI Only fields open up a lot of possibilities. :slight_smile: