コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

Query to get Array Values

Avatar

以前のコミュニティメンバー

Hi 

Can anybody gimme  query to get array values using querybuilder api i am typing this in browser 

for example i tried this

http://SERVERNAME:PORT/crx/explorer/repository/crx.default/content/dam/cupp/publisher276627/50060097... and i see just one number but there is a list of page numbers here

or this

/bin/querybuilder.json?path=/content/dam/cupp/publisher276627/500600973/2013/416279098/articles/101097155.xml/jcr%3acontent/metadata/name:articlePageRange&type=java.lang.String[]

Am i doing something wrong..? please help i am new to this tool

1 受け入れられたソリューション

Avatar

正解者
Employee

Hi Kalyan,

If you know the path of the node/property you want, there's no need to query for it. You already know the answer to your query 🙂

http://SERVERNAME:PORT/content/dam/cupp/publisher276627/500600973/2013/416279098/articles/101097155.... will return a JSON object with *just* this property in it as an array.

I think this is what you're looking for.

Regards,

Justin

元の投稿で解決策を見る

2 返信

Avatar

正解者
Employee

Hi Kalyan,

If you know the path of the node/property you want, there's no need to query for it. You already know the answer to your query 🙂

http://SERVERNAME:PORT/content/dam/cupp/publisher276627/500600973/2013/416279098/articles/101097155.... will return a JSON object with *just* this property in it as an array.

I think this is what you're looking for.

Regards,

Justin

Avatar

以前のコミュニティメンバー

Yes you were right 

i should lose /crx/explorer/repository/crx.default from the url and it worked thanks so much for your help