I have certain rules on some fields that get passed to my external DLL and I would like to know how I can apply default value depending on witch alternative layout was found. So I though of doing it in my Rules with the IRulesContext but I do I know which page I'm on. I know to get the name of the layout Name you can go in p_context.Document.Pages.Item(X).MatchedSection (p_context is my object from FC IRulesContext) X would be the current page the rule is called from.
Unless you know of another method to give default value depending on the alternative layout?
Thanks