Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Direct hyper links to customer/contact cards

(0) ShareShare
ReportReport
Posted on by 165

Hi

I am using NAV 2009 R2 RTC client and need to be able to link directly to a specific customer/contact card from an external application. I know I can use the dynamicsnav:/// handler to open the correct page but not with a specific customer/contact unless I use a bookmark which I do not have.

I have used the web service (from c#) to retrieve the customer/contact I want to open and have the contact/customer number. But how can I convert this to a bookmark without having to create a codeunit. Ideally I could do with being able to call  FORMAT(RecRef.RECORDID,0,10) via the webservice.

Is this possible or if not do I have any alternatives?

Thanks

Ben

*This post is locked for comments

  • Verified answer
    geordie Profile Picture
    on at
    RE: Direct hyper links to customer/contact cards

    Yes, was a typo: you need to declare a RecordRef variable called RecRef before using it.

  • cowlinb6 Profile Picture
    165 on at
    RE: Direct hyper links to customer/contact cards

    Ill add the screen shot this time!

  • cowlinb6 Profile Picture
    165 on at
    RE: Direct hyper links to customer/contact cards

    I've added this is the OnAfterGetRecord event (I assume you meant RecRef not ReRef) but when I try and save I receive this error. I did try ReRef but had the same error.

  • geordie Profile Picture
    on at
    RE: Direct hyper links to customer/contact cards

    So, if you exposed the customer card insert this code in OnAfterGetRecord:

    ReRef.SETPOSITION(GETPOSITION)

    And add a new field in page with, as source expression, the string in previous post.

  • cowlinb6 Profile Picture
    165 on at
    RE: Direct hyper links to customer/contact cards

    Thanks Daniele, not quite sure what you mean by this. The webservice I am using is for the CustomerCard not my own webservice within NAV. How would you access the RECORDID.value property?

  • geordie Profile Picture
    on at
    RE: Direct hyper links to customer/contact cards

    If you don't want to create a new codeunit what about inserting in your ws (I assume a page) a field

    evaluated in this way?

    "DynamicsNAV:////runpage?page=21&bookmark="+RECORDID.value

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,865 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,723 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans