leezzang
(Sang)
November 1, 2016, 4:06am
1
Hi, I am trying to make an ajax call to Asset Listing,
For example,
latest-post <— Asset Listing
Folder 213, 214 ( Standard Pages are in the folders)
/latest-posts?node=213
If I make ajax call to that url, that will returns assets in 213 folder.
Then if I send
/latest-posts?node=214
this would return assets in 214 folder.
I have no idea how to make this… Please help!
PeterM
(Peter McLeod)
November 1, 2016, 4:16am
2
leezzang
(Sang)
November 1, 2016, 8:21pm
3
What I had set is
Dynamic Parameters
Replacement Root node for the listing (must be a child of the static root node) - Get Variable Name : node
If dynamic root not found : Return empty result
If asset selection not specified : Return empty result
And I called this asset listing as /latest-posts?node=213
returns No results were found
Anything wrong with my steps?
Bart
(Bart Banda)
November 1, 2016, 8:27pm
4
What’s your other settings on the asset listing set to? Such as static root node, asset types, statuses to list etc… ?
leezzang
(Sang)
November 1, 2016, 8:41pm
5
Asset Types to List : Standard Page
Asset Statuses to List : Live
Root Nodes : Empty (GET variable Node will point to Root)
Root Node Logic : Assets must be a child of at least ONE root node
Direct Links only : No
leezzang
(Sang)
November 1, 2016, 9:01pm
6
Solved Root Nodes must not be empty
2 Likes