Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Bezmundo 48 posts 139 karma points
    Oct 17, 2016 @ 10:03

    contentService in Custom Data Type


    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

    Oct 17, 2016 @ 11:52


    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#)

Please Sign in or register to post replies

Write your reply to: