Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have created a custom datatype and a controller with a hand full of methods to retrieve data, I am now trying to get the data specified by the current pages GUID in the back end, anyone know how I could do this?
Can you use the integer ID instead of the GUID? Because then in Angular you should be able to use the contentResource resource.
If you have to use a GUID then you'd probably need to write a C# controller and use ContentService.GetById() which accepts a GUID.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Get page key with angular/js or c#
I have created a custom datatype and a controller with a hand full of methods to retrieve data, I am now trying to get the data specified by the current pages GUID in the back end, anyone know how I could do this?
Can you use the integer ID instead of the GUID? Because then in Angular you should be able to use the contentResource resource.
If you have to use a GUID then you'd probably need to write a C# controller and use ContentService.GetById() which accepts a GUID.
is working on a reply...