Using iLogic to check if a parameter already exists
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I could use some help creating a statement in an external rule. I have an .xml file which contains a list of custom parameters with default settings.
When I open an existing part file, I want to check to see if these parameters already exist. If they do not exist, I want to use iLogicVb.Automation.ParametersXmlLoad(ThisDoc.Document, “path\filename.xml") to import the parameters. If they already exist, I want to skip this step and move on with the rest of my rule.
What type of statement can I add to check if a parameter already exists, regardless of what value that parameter may be set to? It's basically a true/false question. Does it exist? Yes or No. That's what I want to know. If yes, then do one thing. If no, then do something else.
Any suggestions?