I have a page which is configured in Kentico.I have a html of this Page.
This html contains one href "https://www.ingrammicro.ch/ebs/?action=Redirect&program=HPTC&company=##COMPANY##&branch=##BRANCH##&customer=##RESELLER_ID##&uid=##USER_GUID##&sid=##SID_HASH##".
This href value is mentioned in the URL Redirection property of that page. Page->Properties->Navigation->URL Redirection
I want to replace this href value with the new href. How do i do this in Kentico code? OR How do i access this property programatically so that i can replace its value with new one?
Hello,
yes, you simply get a TreeNode as you are used to and update the DocumentMenuRedirectUrl property with a new value.
Best regards, Jan Hermann
Please, sign in to be able to submit a new answer.