Hi DynamicWeb,
I am trying to call Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl method in my Data Integration activity (RunJob method of Configurable AddIn).
Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(1) - This works and returns correct friendly URL (/forside).
Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl("Default.aspx?ID=9&ProductID=86245714020-at-SHOP1") - This does not work and throws "Object reference not set to an instance of an object.." (this ProductID exists in DB and this function works correctly when called from the frontend).
Kind regards,