on 02-22-2008 1:58 PM
In Xacute, it is pretty simple to use the getFile action block, but is there a way to "getDirectory" so I can retrieve a list of folders?
How would you get a list of folders not under the transactions or any of the lighthammer directories?
Edited by: Christian Libich on Feb 29, 2008 3:43 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
v12 replaces the FileSystemBrowser and TemplateService with the Catalog service (handles all of the DB ins and outs).
Directory list:
http://localhost/Lighthammer/Illuminator?Service=FileSystemBrowser&Mode=DirectoryList&Base=%2Finetpub%2Fwwwroot&Folder=Illuminator
File list:
http://localhost/Lighthammer/Illuminator?Service=FileSystemBrowser&Mode=FileList&Base=%2Finetpub%2Fwwwroot&Folder=Illuminator&Mask=*.irpt
File I/O --> Get File List, mask = "*"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In 12.0 the TRX's are in the DB, so File I/O will not work like it does in 11.5.
In BLS if you embedd an XML query template with the previous URL post or these requests you will get the desired info:
(a nice linkable Param.1 will be the Folder path, such as: Project or Project/FolderA/FolderB)
Regards,
Jeremy
I guess I am not understanding how to set this up.
Do I create a new xml query and place this in the url source
Then open xacute create an xml transaction and pick the xml query I just created?
The forum mixed up the URL path, apparently it doesn't like the square bracket and wants to http prefix them.
Based upon your xml error you are on version 11.5, so if you create a new XML query and then provide a default value for Param.1 (any of your current root folder names should work):
http://localhost/Lighthammer/Illuminator?QueryTemplate=Predefined/TransactionListQuery&Folder=[Param.1]&Content-Type=text/xml
If the template test results work and you save it, I don't see why you should have problems inside BLS.
Regards,
Jeremy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
6 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.