This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal


Jan 4, 2018, 4:58 PM
5 Posts

@Command agents in 9.0.1

  • Category: Domino Designer
  • Platform: Linux
  • Release: 9.0.1
  • Role: Administrator
  • Tags:
  • Replies: 2

A change has been made to a database field.  I need to refresh all documents so that these new field values are visible for the View's SELECT and @Contains code.  I am trying to create a simple agent that will open, save and close each document in a View.  The error --  Formula error: @Command and other UI functions are not allowed with this search type; please select 'None' as your runtime target -- appears when the agent is run. I cannot find where to change the Runtime Target.  I go to the agent properties but this option is not available.  

My first question, are @Command agents still allowed in 9.0.1?  Second question, where can I find the Runtime Target option?

Thank you for any input.   

Anita

Jan 8, 2018, 8:44 AM
107 Posts
See example


For Browser users who can't see the above screenshot:
  • Create an @Formula agent
  • Open Agent Properties
  • On the first tab, section 'Runtime', of the Agent Properties box, select 'Target: None'.
  • In the code pane of the agent, enter @Command([ToolsRefreshAllDocs])
Jan 23, 2018, 11:30 PM
323 Posts
And just for the record, I use [ToolsRefreshSelectedDocs] here with little problem.

Often I only want some of the docs refreshed, so just writing this and then select-all, that'll work when I want 'em all.

I also have a toolbar icon for it.


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal