Hiding an agent - programmatically

Hello All,

Do any of you know if there is a way to programmatically hide an agent? I know you can go to the design properties and set the agent to be hidden, but I am looking for a hide\when functionality. If not a hide when functionality, then a way to set that setting via an API or in script.

Thanks in advance!

Steve

Subject: Hiding an agent - programmatically

Just an ideaExport the agent to dxl, change the property and reimport the agent.

This might work

Subject: Hiding an agent - programmatically

i think you can…

i’m not shure what flag you’re talking about, but:

check wich flag it is (properly one in $flags).

build an agent that gets a list of all designelements you like to change (e.g. using NotesNoteCollection), loop through all agents, open them by note-id, check title and get/set flags…

Markus Seitz

markus.seitz@icodex.com