Copied to clipboard

Flag this post as spam?

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


  • Jason Espin 368 posts 1335 karma points
    Oct 01, 2014 @ 10:55
    Jason Espin
    0

    Change the 'Name' of content using the content service

    Hi all,

    I am having some difficulty changing the name of my nodes using the ContentService in Umbraco v7.1.6.

    I have tried the following:

    umbraco_node.SetValue("Name", web_service_item.Keyword);
    umbraco_node.SetValue("name", web_service_item.Keyword);
    

    My content is coming from a web service that integrates with a desktop based system and therefore I need to ensure that the name given in the desktop software always corresponds to what is presented on the web. How do I change the standard Umbraco 'Name' property in this case?

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Oct 01, 2014 @ 12:11
    Jeroen Breuer
    100

    Try this:

    umbraco_node.Name = web_service_item.Keyword;

    Jeroen

Please Sign in or register to post replies

Write your reply to:

Draft