Resolving page datafolder paths in Inline C# functions for use by external apps and JavaScript/AJAX apps

Topics: General, Troubleshooting
Mar 6 at 2:30 PM
I’m creating a new Inline C# function that will allow me to search a page datafolder via JavaScript/AJAX or via a mobile phone app. The function returns a set of XML with results of the search, and can be previewed at:

The page datafolder outputs via RoutedData to pages such as this one:

The problem I have is that I currently have no way to resolve the URL of the page datafolder’s path (the CourseURL node value in the XML), so that I can link to the page from my external app. Is there a C1 function that will resolve the full path URL from a known datatype ID?