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:
http://unidocs.baileyweb.online/Frontend/AJAX/BaileyWeb.University.Data.SearchCourses.ashx?SearchCourseTitle=English
The page datafolder outputs via RoutedData to pages such as this one:
http://uni.baileyweb.online/courses/2017/9/25/BA-DRAM
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?
http://unidocs.baileyweb.online/Frontend/AJAX/BaileyWeb.University.Data.SearchCourses.ashx?SearchCourseTitle=English
The page datafolder outputs via RoutedData to pages such as this one:
http://uni.baileyweb.online/courses/2017/9/25/BA-DRAM
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?