Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

how to add hyperlink to another form?

(0) ShareShare
ReportReport
Posted on by 920

Hi,

1832.form.png

I want to add Hyperlink to stringEdit x++ first,then I want to display a list of user and I  add hyperlink to every user to open 
Customer card

*This post is locked for comments

  • BASMA Profile Picture
    BASMA 920 on at
    RE: how to add hyperlink to another form?

    thanks Rustem, I use SysUserInfoDetail menuItem and that what I want :)

  • Suggested answer
    Rustem Galiamov Profile Picture
    Rustem Galiamov 8,072 on at
    RE: how to add hyperlink to another form?

    Check the menuItem SysUserInfoPage. This menu item should open SysUserInfoPage form.

    You can also use SysUserInfoDetail menu item. And system administration >common > users and retails essentials > employee >users are the same form.

  • BASMA Profile Picture
    BASMA 920 on at
    RE: how to add hyperlink to another form?

    public int selectionChange()

    {

       int             ret;

       MenuFunction    menuFunction;

       Args            args;

       UserInfo        userInfoSelected;

       select userInfoSelected where  userInfoSelected.name == this.getText(this.selection());

       ret = super();

       args         = new Args();

       menuFunction = new MenuFunction(menuitemDisplayStr(SysUserInfoPage),MenuItemType::Display);

       args = new Args(menuFunction.object());

       args.caller(element);

       args.record(userInfoSelected);

       menuFunction.run(args);

       return ret;

    }

  • Rustem Galiamov Profile Picture
    Rustem Galiamov 8,072 on at
    RE: how to add hyperlink to another form?

    Can you share your code please?

  • BASMA Profile Picture
    BASMA 920 on at
    RE: how to add hyperlink to another form?

    That what I want.

    but when I open the user profil,I have issue:

    normally the user profile is set in system administration >common > users,when I open user profil from my form Iget this:

    retails essentials > employee >users!!!

  • Suggested answer
    Rustem Galiamov Profile Picture
    Rustem Galiamov 8,072 on at
    RE: how to add hyperlink to another form?

    You can use mouseDown() method and do the same thing.

  • BASMA Profile Picture
    BASMA 920 on at
    RE: how to add hyperlink to another form?

    Rustem,

    Just last question :)

    I have also a stringEdit and I want to add hyperlink to form.

    I use the modified method of this stringEdit but I don't get any thing!!!

  • Rustem Galiamov Profile Picture
    Rustem Galiamov 8,072 on at
    RE: how to add hyperlink to another form?

    Ahh..And i'm missed this !!

    Good work!

  • BASMA Profile Picture
    BASMA 920 on at
    RE: how to add hyperlink to another form?

    Thanks Rustem,it works now,I forget to set args in method run

  • Suggested answer
    Rustem Galiamov Profile Picture
    Rustem Galiamov 8,072 on at
    RE: how to add hyperlink to another form?

    That's mean what you don't get userInfo record. Try to debug it.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans