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
Hi,
Within my custom data type I need to update a dictionary value upon publish.
I know you can access the contentService in js controller like so:
function ($scope, contentService) { *code here* }
But every time I try to access the usual methods in the content service api it just says it doesn't exist.
Does anyone know of any documentation or example of using the content service in an angular data type.
Thanks in advance
Comment author was deleted
Think you'll have to write your own web api methods and then call those... don't think the content service is exposed in js (only in c#)
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
contentService in Custom Data Type
Hi,
Within my custom data type I need to update a dictionary value upon publish.
I know you can access the contentService in js controller like so:
But every time I try to access the usual methods in the content service api it just says it doesn't exist.
Does anyone know of any documentation or example of using the content service in an angular data type.
Thanks in advance
Comment author was deleted
Hi,
Think you'll have to write your own web api methods and then call those... don't think the content service is exposed in js (only in c#)
is working on a reply...