When you get items from database and you would like to navigate to a Dynamic Page using that records dynamic page address. Can you get that from collection?
{"_id":"f191b951-47b1-450a-b707-ad6eeaa38320","title":"Nyköping",
"_owner":"19819cef-551d-4ef1-ba4d-ff636e117118",
"_createdDate":"2017-12-06T10:34:55.149Z",
"_updatedDate":"2017-12-06T10:45:48.795Z",
"description":"Welcome to our offices in Nyköping. ",
"heroImage":"image://v1/19819c_470e0d215fef45439adda07f45caa83b~mv2.jpeg/250_250/david-garrett-26.jpeg",
"emailAddress":"nykoping@wixshow.com",
"link-Cities-title":"/Cities/Nyk%C3%B6ping"}
In the result I see “link-Cities-title” above but how can I use that in script?
let url = firstItem.link.Cities-title; // Error
let url = firstItem.“link.Cities-title”; // Error
let url = firstItem.[link.Cities-title]; // Error
Please help me here