Copied to clipboard

Flag this post as spam?

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


  • Developer 7 posts 97 karma points
    May 05, 2024 @ 11:06
    Developer
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft