Notifications
Announcements
No record found.
Hi
Is it possible that Hyperlink Parameters passed from navision are not visible in Browser
Thanks
*This post is locked for comments
If the hyperlink is broken, yes :) Do you have an example?
Hi Stefano
HYPERLINK('localhost/.../Test.aspx;+''+"No."+''+'&uid='+''+USERID);
Check if the generated url is correct or not. I think it's a malformed url (you're not compising it well. Normally parameters in .aspx are passed like: Test.aspx?Param1=XX&Param2=YYY)
U can take your example but how it should be made invisible in Browser.
I don't uderstand your problem, but in code you should programmatically compose a string with the right url and then call the HYPERLINK. Something like:
strURL := 'localhost/.../Test.aspx?param1=' +"No." + '¶m2=' + USERID;
HYPERLINK(strURL);
I want that parameters passed thru Hyperlink can be made invisible in browser so user should not be able to change values . Can we encrypt and decrypt the parameters
Do you mean in the browser address bar? This is not possible. HYPERLINK opens an url in the default browser of your client machine, but the URL is displayed in the browser (exactly as every other address). You cannot control the browser's behaviour.
ok . How can we ensure that user should not be able to change parameter values in Url . Suppose No 10 is passed from Navision . On Web Page 10 is displayed in textbox.
User changes value to 11 in Url & then press enter so value in textbox changes to 11 which is wrong.
This is an url, you cannot avoid that. The url from NAV is opened exactly with your parameters. If then (ater the page is opened in the browser window) the users change the url, it's absolutely possible (exactly on every site you browse).
You can't make it invisible, it would be a huge security issue if you can. On the other hand, if you have control over the site, then this is what I suggest you do, as a workaround to your concern about users changing or guessing a another link's value. Add another parameter that's a formulated value of an existing parameter, let's say No. is a numeric value and Code is the additional parameter. In NAV, formulate a value from the No. and expect the Code to be the equivalent. Here's simple formula: Code = No. * 100 / 5. Let's say No. is 5 so the Code should be 5 * 100 / 5 or 100. The parameter will then need to be ?No.=5&Code=100. If they change No. to a 6, then they'll need to have a valid Code, because 6 * 100 / 5 is not equal to 5. Your formula is hidden but needs to be the same in NAV as well as your website.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.