You need to sign in to do that
Don't have an account?
Affinaquest
Passing Parameters to Visual Force Page in a Managed Package
I am creating a managed package for distribution to several different organizations. I have a need to use visual force pages. I am confused by what is allowed in passing parameters to these pages in a managed package.
I can call these pages with the following type of URL successfully in my developer instance: "/apex/mypage?param1=xyz¶m2=abc" and it works fine. However, some of the posts on this board indicate this might not work in a managed package.
I have also seen references to the use of URLFOR, although the solution above seems more straightforward.
I'm generally doing this from a custom button on either the detail page or from a related list button. It has been suggested in this forum that one must use a visualforce page in a managed package to keep this all straight and that the page must use a standard controller. Unfortunately, that doesn't seem to work with a button on a related list.
I would appreciate clarification of exactly what can be done to pass parameters to a visualforce page in a managed package.
Thanks in advance for your assistance.
Steve
40/40 Consulting
www.4040consulting.com