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
a wont to get property value as IPublishcontent / to extract from this the property for example i have a object lock like this : "total": 1, "items": [ { "contentType": "layout", "name": "testwebsite", "createDate": "2024-04-15T12:36:03.263Z", "updateDate": "2024-04-21T12:39:52.197Z", "route": { "path": "/he/", "startItem": { "id": "778ce579-5405-40b8-bdd4-c3f4c8eec055", "path": "testwebsite" } }, "id": "778ce579-5405-40b8-bdd4-c3f4c8eec055", "properties": { "pageTitle": "TESTSITE" }, "cultures": { "en-us": { "path": "/en/", "startItem": { "id": "778ce579-5405-40b8-bdd4-c3f4c8eec055", "path": "inbound-site" } }, "he": { "path": "/he/", "startItem": { "id": "778ce579-5405-40b8-bdd4-c3f4c8eec049", "path": "testwebsite" } } } } ] }
and i wont to extract this property without write the specefic object in TS "properties": { "pageTitle": "TESTSITE" },
in MVC i had GetPropertyValue("pageTitle") . how can i get this in delivery api ?
thanks
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Umbraco 13 delivery api
a wont to get property value as IPublishcontent / to extract from this the property for example i have a object lock like this : "total": 1, "items": [ { "contentType": "layout", "name": "testwebsite", "createDate": "2024-04-15T12:36:03.263Z", "updateDate": "2024-04-21T12:39:52.197Z", "route": { "path": "/he/", "startItem": { "id": "778ce579-5405-40b8-bdd4-c3f4c8eec055", "path": "testwebsite" } }, "id": "778ce579-5405-40b8-bdd4-c3f4c8eec055", "properties": { "pageTitle": "TESTSITE" }, "cultures": { "en-us": { "path": "/en/", "startItem": { "id": "778ce579-5405-40b8-bdd4-c3f4c8eec055", "path": "inbound-site" } }, "he": { "path": "/he/", "startItem": { "id": "778ce579-5405-40b8-bdd4-c3f4c8eec049", "path": "testwebsite" } } } } ] }
and i wont to extract this property without write the specefic object in TS "properties": { "pageTitle": "TESTSITE" },
in MVC i had GetPropertyValue("pageTitle") . how can i get this in delivery api ?
thanks
is working on a reply...