1
votes

I manage to get the portal list from PortalController.GetPortals(). What is the next step for me to get the friendly URL from this list?

1
Welcome to stackoverflow! Take this tour to get to know how this site works and what it is for. Posting some code would be useful for the persons attempting to help you. What have you tried so far?Devraj Gadhavi

1 Answers

1
votes

If you want to get the FriendlyURL For a page in DotNetNuke you want to use

DotNetNuke.Common.Globals.NavigateURL()

If you want to get the Portal Alias for a portal, you can get that from the PortalSettings controller in DNN, that or simply look at the PortalAlias table based on the PortalID