system
February 5, 2010, 3:34pm
#1
I am trying to get the list document names from the BOXI repository as below but it brings only the open documents list
any one know how to get the list of documents in the repository
Thanks in advance
Set docs = BOapp.Documents
BOapp.ExchangeMode = boRepositoryMode
For I = 1 To docs.Count
strDocument = docs(I).Name
Next I
Rameshkumark (BOB member since 2002-08-29)
system
February 5, 2010, 3:45pm
#2
Hello there -
I would look through the code posted in this utility found at the BOB downloads section:
Author: Adrián BO_Worker developed from Julien Bras’ userlist utility.
Author notes: Excel 97-2003 VBA application. Displays some lists for users, groups, universes, reports… Only reading, not writing back. Please go to configuration sheet and fill Server, Username and Password in order to get it working. After that try the rest of sheets pressing the buttons to field the data below. Whenever you get orange cells that’s a place you should fill. If you get Id and Name to fill you can write one o…
It should have what you want.
Good luck.
Atul Chowdhury (BOB member since 2003-07-07)
system
February 5, 2010, 4:58pm
#3
Not in Crystal interfaces
I am looking in COM references
Rameshkumark (BOB member since 2002-08-29)
system
February 8, 2010, 1:59am
#4
I think u can find the document names via the CMS database
AuguC (BOB member since 2009-11-20)
system
February 8, 2010, 11:10am
#5
sorry I should have explained clearly earlier
I know we can get the document name
but how???
It`s not working to me the above code
What I need is if any one done using COM VBA then how you managed to do it?
Thanks
Rameshkumark (BOB member since 2002-08-29)
system
February 9, 2010, 1:53am
#6
You would need to query the CMS database from your code. I have never done it in VBA but you would need something like this.
This is in C#
InfoObjects objInfoObjectsReports = (InfoObjects)objInfoStore.Query
("select SI_NAME from CI_INFOOBJECTS WHERE SI_KIND='Webi' OR 'FLASH'");
AuguC (BOB member since 2009-11-20)