Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

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

$
0
0
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?

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>