Jump to content
Salesforce and other SMB Solutions are coming soon. ×

Set Field vs. Clear field to clear contents of global fields


Recommended Posts



I'm using some global fields to filter a list view layout. In order to clear filter options I had a button that triggered a script with numerous Clear [select;field] steps. However, I found that one of the fields wasn't clearing when this script was executed.


I have now changed the script so that each Clear field step is replaced by a Set Field [field;""]script step. This is working how I wasn't it to but I just want to understand why the Clear field approach didn't work?


Any thoughts would be appreciated.





Link to comment
Share on other sites

There could be a few reasons why Clear wasn't working. The main idea is, (1) the field has to be on the layout, (2) the step has to select the entire contents.


It's simply easier and more reliable to just use Set Field [ FieldName ; "" ].

Link to comment
Share on other sites

This thread is quite old. Please start a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

Terms of Use