Hi everyone,
I am trying to send a notification e-mail with a hyperlink to a specific page to be approved.
I used the following code that I found in standard NAV (codeunit 440):
EXIT(STRSUBSTNO('DynamicsNAV:+//%1/RunPage?Page=%2',SystemUri.EscapeDataString(COMPANYNAME),PAGE::"MyPage"));
but this way I can't get a specific record , it always gives the same result.
How can I get a specific record?Is there any other parameters to pass? and how?
Thanks in advance
Comments
The complete format will be -
="DynamicsNAV:////runpage?page=30&mode=edit&bookmark="+FORMAT(Fields!Item_Rec_Ref_Val.Value)
Where ItemRecRef, Datatype - RecordRef.
I have done it on reports have a look, it will provide you some idea.
http://saurav-nav.blogspot.in/2012/10/hyper-link-to-page-from-report.html
Thanks & Regards,
Saurav Dhyani
Do you Know this About NAV?
Connect - Twitter | Facebook | Google + | YouTube
Follow - Blog | Facebook Page | Google + Page
I tried it in my page and it worked, thanks a lot
but I have a question...Am I supposed to put the server name(localhost for example) and the service name in the url?
Why you want server name & Service Name in URL.
I hope you are sending it for approval and the approver will also have NAV installed on his machine, so when he/she clicks the link it will open the default Navision.
Let me know if any doubts
Thanks & Regards,
Saurav Dhyani
Do you Know this About NAV?
Connect - Twitter | Facebook | Google + | YouTube
Follow - Blog | Facebook Page | Google + Page