Create Bookmark for new record in page

Hi ALL,

I have assigned to a task of Automatic Notification for New Record Creation & URL must be created. If click on link under page in My notification, must go to relevant document. I have achieved with Automatic Notification. but not able to create url with proper bookmark to link the particular record in relevant page. Please suggest me to create correct url with bookmark to open record in relevant page.

I tried out with following ways:


IF “No.” <> ‘’ THEN

Vend.GET(“No.”);

LURL := GETURL(CLIENTTYPE::Windows,COMPANYNAME, OBJECTTYPE::Page,26,Vend);

MESSAGE(’%1’,LURL);


&


RecRef.GETTABLE(Rec);

CLEAR(RecRef);

RecRef.OPEN(DATABASE::Vendor); //Used a RecordRef variable

RecRef.SETPOSITION(GETPOSITION);

LURL :=‘dynamicsnav://localhost:7046/dynamicsnav71/Jeyyam%20Products%20Private Ltd./runpage?page=26&bookmark=’+FORMAT(RecRef.RECORDID,0,10)+’&mode=edit’; //10 = base64 encoding

NotifitnMgt.CreateNotification(RecRef,’’,STRSUBSTNO(Text000,“No.”,USERID),’’,LURL);


Thanks in Advance,

SS