Notifications
Clear all
Topic starter
I want to add and open (go to) a form via the function view if my parameters are "hit". Here's what I have:
This adds the form, but does not open it.
{!IF
DOCUMENT.EGG1 == "yes" AND
DOCUMENT.EGG2 == "yes" AND
DOCUMENT.EGG3 == "yes" AND
DOCUMENT.EGG4 == "yes" AND
DOCUMENT.EGG5 == "yes"
THEN
ADD_FORM_COMP("Enterprise\AHNE", "Easter Egg", insert_position, OPEN, label)
ELSE
""
ENDIF
}
Changing the ADD-FORM-COMP string to add in the " or ' causes Centricity to crash.
Any ideas?
Posted : April 17, 2015 10:21 am
You have to fill out the last three arguments- the default position is AT_END if you leave the third argument blank, this should do it
ADD_FORM_COMP(“Enterprise\AHNE”, “Easter Egg”, "", "OPEN", "")
Posted : April 20, 2015 2:48 am