Hi guys, Anyone know how to succesfully use [[getResourceField?]] snippet?
I am using this call to try and render on screen the pagetitle of the resource’s parent resource... [[getResourceField? &id=`[[*parent]]` &field=`title`]] // however it renders nothing on screen???
Any ideas?
cheers,
dubbs.
-
☆ A M B ☆
- 24,524 Posts
Isn’t the field `pagetitle` or `menutitle`?
Yep, sorry Susan you are correct the wrong name in the field area - how could one return the URL ID also?
-
☆ A M B ☆
- 24,524 Posts
You mean the parent’s alias? Or its ID? For the parent’s id just [[*parent]] will do that. [[~[[*parent]]]] will make a URL to the parent (of the current resource)