cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the Folder list of Catalog by using xml query

Former Member
0 Kudos

Hi All,

How to get the Folder list of Query Templates & Transactions by using XML query?

Thanks in advance.

Regards

Manisha

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Manisha,

use something like this as URL in your XML query:

http://<server>:<port>/XMII/Catalog?mode=ListFolders&Folder=<folder>&Content-type=text/xml

or

http://<server>:<port>/XMII/Illuminator?Service=FileSystemBrowser&Mode=DirectoryList&Folder=<folder>&Content-type=text/xml

Regards

Michael

Former Member
0 Kudos

Hi Michael,

it is long time ago that we were in touch. Short information to your suggestion. Using server:// instead the

http://<server>:<port>; it is more flexible and you not need to modify the URL in the XMLQuery, when you

transport from Dev to QA or Prd.

server://XMII/Catalog?mode=ListFolders&Folder=<folder>&Content-type=text/xml

Regards

Pedro

Former Member
0 Kudos

Hi Pedro,

yes, long time no see

Thanks for reminding me of the server://. I think this does not work if you are using the BLT in a scheduled job, however it is quite useful to avoid to change sources as you described.

Hope you're ok!

Michael

Former Member
0 Kudos

Hi Pedro,

Thank you.I am getting parent folders only by using this in xml query:

server://XMII/Catalog?Mode=ListFolders&Content-type=text/xml

But I want Child folders path.How to do this?

So that I can pass folder path in BLS to get the list of queries.

Thanks in advance.

Regards

Manisha

Former Member
0 Kudos

Manisha,

use the Illuminator service FileSystemBrowser to get all folders and subfolders. To get the files inside a folder use service FileSystemBrowser with mode FileList.

Hope this helps

Michael

Former Member
0 Kudos

Thanks Michael.Can you please give me complete URL?.I did not get Illuminator service FileSystemBrowser.

Regards

Manisha

Former Member
0 Kudos

Manisha,

here it is

http://<server>:<port>/XMII/Illuminator?Service=FileSystemBrowser&Mode=DirectoryList&Folder=<folder>&Content-type=text/xml

or

server://XMII/Illuminator?Service=FileSystemBrowser&Mode=DirectoryList&Folder=<folder>&Content-type=text/xml

Michael

Former Member
0 Kudos

Hi Michael,

I tried this:

http://<server>:<port>/XMII/Illuminator?Service=FileSystemBrowser&Mode=DirectoryList&Folder=<folder>...

But it is throwing the error msg as "Loaded content is empty".

Thanks,

Manisha

Former Member
0 Kudos

Manisha,

which MII version are you using? Is the folder name correct? Do you get a response if you enter the URL in the browser directly?

Michael

Former Member
0 Kudos

Hi Michael,

I was trying in 12.0.But in 12.1 it is working..Also in browser it is working for both version.Thank you.

Answers (0)