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
How to read data of Multinode Treepicker datatype from API?
you should be able to use this: https://github.com/umbraco/UmbracoRestApi
Hi, I know that package, but at this stage is not possible to use it. I build a my web api with OAuth autentication with this good module ( https://github.com/mattbrailsford/umbraco-authu ). I've only to access Multinode Treepicker data.
Solved ( Offerta is PublishedContentModel ):
Offerta n = new Offerta(umbracoHelper.TypedContent(node.Id)); //pushMessage.notification_target.type = ""; pushMessage.notification_content.name = node.Name; // pushMessage.notification_content.title = node.GetValue("TitoloNews").ToString(); pushMessage.notification_content.title = n.Titolo; pushMessage.notification_content.body = n.ContenutoMessaggioPush.ToString(); List<string> province = new List<string>(); var typedMultiNodeTreePicker = n.ProvincePush.ToList(); foreach (var item in typedMultiNodeTreePicker) { province.Add(item.Name.ToUpper().Trim()); } var result = String.Join("|", province.ToArray()); pushMessage.notification_content.custom_data.Add("province", result); string stringResult = await Invia(pushMessage);
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Solved - How to read data of Multinode Treepicker datatype from API?
How to read data of Multinode Treepicker datatype from API?
you should be able to use this: https://github.com/umbraco/UmbracoRestApi
Hi, I know that package, but at this stage is not possible to use it. I build a my web api with OAuth autentication with this good module ( https://github.com/mattbrailsford/umbraco-authu ). I've only to access Multinode Treepicker data.
Solved ( Offerta is PublishedContentModel ):
is working on a reply...