Attention: This is a not supported procedure, do it only for testing purpose
These are steps:
- Create on localhost for example a WEBSITE and put inside a ASPX page
- Comment out lines 11 and 12 on Form EPWebSiteParameters > Data Sources > WebSiteTable > InternalUrl > validate method
- Insert your website inside enterprise portal configuration (System Administration > Setup > Enterprise Portal > WebSite)
- Link your user to a EPRoleCenter Profile (System Administration > Common > Users > User profiles) for example Accountant
- Modify method getCurrentUsersHomepageURLPath of ProfileManager class, comment out whole code and return your own ASPX page, for mine example default.aspx
- Close Dynamics AX client and reopen it, now your role center page is your own page
The link can be something like this:
menuitemaction://CueRun+CueId=35637150593/
In this case the form related to Cue is opened
Links are catched by method processLink of SysHelp, refer to that class or standard rolecenter links for more information to create your own custom role page.
Nessun commento:
Posta un commento