Hi All! The Store{GUID} is required to register Public Folders Store Wide Events. file://./backofficestorage/ADMIN/%userdnsdomain%/Public Folders/Non_ipm_subtree/StoreEvents{GUID}/GlobalEvents How to find StoreEvents {GUID} ? What search will give me StoreEvents GUID? Kind Regards, Mike.
With Exoledb there is a special interface IStoreGuidFromURL which you can use to do this if you have a look at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_exch2k3_registering_for_mdb_wide_events.asp there is a sample of using the StoreGuidFromUrl method. The other way you get it is to query the CN=Microsoft Exchange System Objects container in Active Directory and search though the Systemmailboxes untill you find one who's homeMDB matchs the store your looking at. Cheers Glen "tester" <tester@tester.tester> wrote in message news:Ohmkjo0jGHA.3816@TK2MSFTNGP02.phx.gbl... > Hi All! > > The Store{GUID} is required to register Public Folders Store Wide Events. > file://./backofficestorage/ADMIN/%userdnsdomain%/Public > Folders/Non_ipm_subtree/StoreEvents{GUID}/GlobalEvents > How to find StoreEvents {GUID} ? What search will give me StoreEvents > GUID? > > Kind Regards, > Mike.
Hello Glen! Please consider the fact that Public Folders has individual folders not inside SystemMailbox (it is not mailbox) and it could be temporarily empty for some reason (no item inside) to succesive call StoreGuidFormUrl. The only method I suppose is searching through Active Directory, but I don't know which Fields to parse for Public folders StoreEvents GUID. If You give the "search query" it could be nice. Uytkownik Glen Scales [MVP] napisa: > With Exoledb there is a special interface IStoreGuidFromURL which you can > use to do this if you have a look at > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_exch2k3_registering_for_mdb_wide_events.asp > there is a sample of using the StoreGuidFromUrl method. > > The other way you get it is to query the CN=Microsoft Exchange System > Objects container in Active Directory and search though the Systemmailboxes > untill you find one who's homeMDB matchs the store your looking at. > > > Cheers > Glen > > "tester" <tester@tester.tester> wrote in message > news:Ohmkjo0jGHA.3816@TK2MSFTNGP02.phx.gbl... > >>Hi All! >> >>The Store{GUID} is required to register Public Folders Store Wide Events. >>file://./backofficestorage/ADMIN/%userdnsdomain%/Public >>Folders/Non_ipm_subtree/StoreEvents{GUID}/GlobalEvents >>How to find StoreEvents {GUID} ? What search will give me StoreEvents >>GUID? >> >>Kind Regards, >>Mike. > > >
IstoreguidfromURL works on any object in the Public folder store. eg if you have a folder called blah under the root of the tree using something like set igetSG=CreateObject("Exoledb.StoreGuidFromUrl.1") guid = igetSG.StoreGuidFromUrl("file://./backofficestorage/youdomain.com/Public Folders/blah") wscript.echo guid would return the Guid for the store you can then build the Sytemmailbox path from this.This is the best method to use even if you have to create a folder first and then check the GUID of the newly created folder. You could use a AD query such as (&(objectCategory=Publicfolder)(CN=StoreEvents{*)) to return all the storeevent public folders but if you have more then one public folder store in your domain you would then need to test each one to determine where the instance of that public folder exists. Cheers Glen "tester" <tester@tester.tester> wrote in message news:O03kF$5jGHA.4584@TK2MSFTNGP05.phx.gbl... > Hello Glen! > > Please consider the fact that Public Folders has individual folders not > inside SystemMailbox (it is not mailbox) and it could be temporarily empty > for some reason (no item inside) to succesive call StoreGuidFormUrl. > The only method I suppose is searching through Active Directory, but I > don't know which Fields to parse for Public folders StoreEvents GUID. If > You give the "search query" it could be nice. > > Uytkownik Glen Scales [MVP] napisa: >> With Exoledb there is a special interface IStoreGuidFromURL which you can >> use to do this if you have a look at >> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_exch2k3_registering_for_mdb_wide_events.asp >> there is a sample of using the StoreGuidFromUrl method. >> >> The other way you get it is to query the CN=Microsoft Exchange System >> Objects container in Active Directory and search though the >> Systemmailboxes untill you find one who's homeMDB matchs the store your >> looking at. >> >> >> Cheers >> Glen >> >> "tester" <tester@tester.tester> wrote in message >> news:Ohmkjo0jGHA.3816@TK2MSFTNGP02.phx.gbl... >> >>>Hi All! >>> >>>The Store{GUID} is required to register Public Folders Store Wide Events. >>>file://./backofficestorage/ADMIN/%userdnsdomain%/Public >>>Folders/Non_ipm_subtree/StoreEvents{GUID}/GlobalEvents >>>How to find StoreEvents {GUID} ? What search will give me StoreEvents >>>GUID? >>> >>>Kind Regards, >>>Mike. >> >>
Hello Again! User Glen Scales [MVP] said: > IstoreguidfromURL works on any object in the Public folder store. eg if you > have a folder called blah under the root of the tree using something like > > set igetSG=CreateObject("Exoledb.StoreGuidFromUrl.1") > guid = > igetSG.StoreGuidFromUrl("file://./backofficestorage/youdomain.com/Public > Folders/blah") > wscript.echo guid > > would return the Guid for the store you can then build the Sytemmailbox path > from this.This is the best method to use even if you have to create a folder > first and then check the GUID of the newly created folder. > What if we have more than one called "Public Folders" in different Storage Groups on the same server or more "Public Folders" in different Public Stores of the same Server? The path: file://./backofficestorage/youdomain.com/Public Folders doesn't determine which GUID is chosen. > You could use a AD query such as > (&(objectCategory=Publicfolder)(CN=StoreEvents{*)) to return all the > storeevent public folders but if you have more then one public folder store > in your domain you would then need to test each one to determine where the > instance of that public folder exists. > > Cheers > Glen > > "tester" <tester@tester.tester> wrote in message > news:O03kF$5jGHA.4584@TK2MSFTNGP05.phx.gbl... > >>Hello Glen! >> >>Please consider the fact that Public Folders has individual folders not >>inside SystemMailbox (it is not mailbox) and it could be temporarily empty >>for some reason (no item inside) to succesive call StoreGuidFormUrl. >>The only method I suppose is searching through Active Directory, but I >>don't know which Fields to parse for Public folders StoreEvents GUID. If >>You give the "search query" it could be nice. >> >>Uytkownik Glen Scales [MVP] napisa: >> >>>With Exoledb there is a special interface IStoreGuidFromURL which you can >>>use to do this if you have a look at >>>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_exch2k3_registering_for_mdb_wide_events.asp >>>there is a sample of using the StoreGuidFromUrl method. >>> >>>The other way you get it is to query the CN=Microsoft Exchange System >>>Objects container in Active Directory and search though the >>>Systemmailboxes untill you find one who's homeMDB matchs the store your >>>looking at. >>> >>> >>>Cheers >>>Glen >>> >>>"tester" <tester@tester.tester> wrote in message >>>news:Ohmkjo0jGHA.3816@TK2MSFTNGP02.phx.gbl... >>> >>> >>>>Hi All! >>>> >>>>The Store{GUID} is required to register Public Folders Store Wide Events. >>>>file://./backofficestorage/ADMIN/%userdnsdomain%/Public >>>>Folders/Non_ipm_subtree/StoreEvents{GUID}/GlobalEvents >>>>How to find StoreEvents {GUID} ? What search will give me StoreEvents >>>>GUID? >>>> >>>>Kind Regards, >>>>Mike. >>> >>> >
/Public folders/ is the default Mapi public folder tree which there can be only one of. If you have other general purpose stores then you use the name of the public folder tree to access them as per http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/_exch2k_the_file_url_scheme.asp?frame=true so if you have a public folder tree called foo use something like file://./backofficestorage/youdomain.com/foo/blah . You can also use the http URI if this is easier for you see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/_exch2k_the_http_url_scheme.asp?frame=true Cheers Glen "tester" <tester@tester.tester> wrote in message news:ugpfmDCkGHA.3780@TK2MSFTNGP03.phx.gbl... > Hello Again! > > User Glen Scales [MVP] said: > >> IstoreguidfromURL works on any object in the Public folder store. eg if >> you have a folder called blah under the root of the tree using something >> like >> >> set igetSG=CreateObject("Exoledb.StoreGuidFromUrl.1") >> guid = >> igetSG.StoreGuidFromUrl("file://./backofficestorage/youdomain.com/Public >> Folders/blah") >> wscript.echo guid >> >> would return the Guid for the store you can then build the Sytemmailbox >> path from this.This is the best method to use even if you have to create >> a folder first and then check the GUID of the newly created folder. >> > What if we have more than one called "Public Folders" in different Storage > Groups on the same server or more "Public Folders" in different Public > Stores of the same Server? The path: > file://./backofficestorage/youdomain.com/Public Folders doesn't determine > which GUID is chosen. > >> You could use a AD query such as >> (&(objectCategory=Publicfolder)(CN=StoreEvents{*)) to return all the >> storeevent public folders but if you have more then one public folder >> store in your domain you would then need to test each one to determine >> where the instance of that public folder exists. >> >> Cheers >> Glen >> >> "tester" <tester@tester.tester> wrote in message >> news:O03kF$5jGHA.4584@TK2MSFTNGP05.phx.gbl... >> >>>Hello Glen! >>> >>>Please consider the fact that Public Folders has individual folders not >>>inside SystemMailbox (it is not mailbox) and it could be temporarily >>>empty for some reason (no item inside) to succesive call >>>StoreGuidFormUrl. >>>The only method I suppose is searching through Active Directory, but I >>>don't know which Fields to parse for Public folders StoreEvents GUID. If >>>You give the "search query" it could be nice. >>> >>>Uytkownik Glen Scales [MVP] napisa: >>> >>>>With Exoledb there is a special interface IStoreGuidFromURL which you >>>>can use to do this if you have a look at >>>>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_exch2k3_registering_for_mdb_wide_events.asp >>>>there is a sample of using the StoreGuidFromUrl method. >>>> >>>>The other way you get it is to query the CN=Microsoft Exchange System >>>>Objects container in Active Directory and search though the >>>>Systemmailboxes untill you find one who's homeMDB matchs the store your >>>>looking at. >>>> >>>> >>>>Cheers >>>>Glen >>>> >>>>"tester" <tester@tester.tester> wrote in message >>>>news:Ohmkjo0jGHA.3816@TK2MSFTNGP02.phx.gbl... >>>> >>>> >>>>>Hi All! >>>>> >>>>>The Store{GUID} is required to register Public Folders Store Wide >>>>>Events. >>>>>file://./backofficestorage/ADMIN/%userdnsdomain%/Public >>>>>Folders/Non_ipm_subtree/StoreEvents{GUID}/GlobalEvents >>>>>How to find StoreEvents {GUID} ? What search will give me StoreEvents >>>>>GUID? >>>>> >>>>>Kind Regards, >>>>>Mike. >>>> >>>> >>
Hi Glen! It is still problem with samples You gave. The application doesn't know how other public folder tree are called. AD query search You proposed: (&(objectCategory=Publicfolder)(CN=StoreEvents{*)) returns StoreEvents{GUID} for first "Public Folders" tree name ONLY which resides in First Storage Group. It doesn't return StoreEvents{GUID} for other public folder trees which resides in separate Storage Groups. My test config on TEST Exchange Server is: First Storage Group\Public Folder Store -> Public Folders(tree) <= GUID returned OK Second Storage Group\Public Folder Store -> Public Folders Two(tree) <= GUID not returned!!! Storage Group Three\Public Folders ->Public Folders Three(tree) <= GUID not returned!!! Maybe there is any better query which will find other GUIDs? User Glen Scales [MVP] said: > /Public folders/ is the default Mapi public folder tree which there can be > only one of. If you have other general purpose stores then you use the name > of the public folder tree to access them as per > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/_exch2k_the_file_url_scheme.asp?frame=true > so if you have a public folder tree called foo use something like > file://./backofficestorage/youdomain.com/foo/blah . You can also use the > http URI if this is easier for you see > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/_exch2k_the_http_url_scheme.asp?frame=true > > Cheers > Glen > > "tester" <tester@tester.tester> wrote in message > news:ugpfmDCkGHA.3780@TK2MSFTNGP03.phx.gbl... > >>Hello Again! >> >>User Glen Scales [MVP] said: >> >> >>>IstoreguidfromURL works on any object in the Public folder store. eg if >>>you have a folder called blah under the root of the tree using something >>>like >>> >>>set igetSG=CreateObject("Exoledb.StoreGuidFromUrl.1") >>>guid = >>>igetSG.StoreGuidFromUrl("file://./backofficestorage/youdomain.com/Public >>>Folders/blah") >>>wscript.echo guid >>> >>>would return the Guid for the store you can then build the Sytemmailbox >>>path from this.This is the best method to use even if you have to create >>>a folder first and then check the GUID of the newly created folder. >>> >> >>What if we have more than one called "Public Folders" in different Storage >>Groups on the same server or more "Public Folders" in different Public >>Stores of the same Server? The path: >>file://./backofficestorage/youdomain.com/Public Folders doesn't determine >>which GUID is chosen. >> >> >>>You could use a AD query such as >>>(&(objectCategory=Publicfolder)(CN=StoreEvents{*)) to return all the >>>storeevent public folders but if you have more then one public folder >>>store in your domain you would then need to test each one to determine >>>where the instance of that public folder exists. >>> >>>Cheers >>>Glen >>> >>>"tester" <tester@tester.tester> wrote in message >>>news:O03kF$5jGHA.4584@TK2MSFTNGP05.phx.gbl... >>> >>> >>>>Hello Glen! >>>> >>>>Please consider the fact that Public Folders has individual folders not >>>>inside SystemMailbox (it is not mailbox) and it could be temporarily >>>>empty for some reason (no item inside) to succesive call >>>>StoreGuidFormUrl. >>>>The only method I suppose is searching through Active Directory, but I >>>>don't know which Fields to parse for Public folders StoreEvents GUID. If >>>>You give the "search query" it could be nice. >>>> >>>>Uytkownik Glen Scales [MVP] napisa: >>>> >>>> >>>>>With Exoledb there is a special interface IStoreGuidFromURL which you >>>>>can use to do this if you have a look at >>>>>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_exch2k3_registering_for_mdb_wide_events.asp >>>>>there is a sample of using the StoreGuidFromUrl method. >>>>> >>>>>The other way you get it is to query the CN=Microsoft Exchange System >>>>>Objects container in Active Directory and search though the >>>>>Systemmailboxes untill you find one who's homeMDB matchs the store your >>>>>looking at. >>>>> >>>>> >>>>>Cheers >>>>>Glen >>>>> >>>>>"tester" <tester@tester.tester> wrote in message >>>>>news:Ohmkjo0jGHA.3816@TK2MSFTNGP02.phx.gbl... >>>>> >>>>> >>>>> >>>>>>Hi All! >>>>>> >>>>>>The Store{GUID} is required to register Public Folders Store Wide >>>>>>Events. >>>>>>file://./backofficestorage/ADMIN/%userdnsdomain%/Public >>>>>>Folders/Non_ipm_subtree/StoreEvents{GUID}/GlobalEvents >>>>>>How to find StoreEvents {GUID} ? What search will give me StoreEvents >>>>>>GUID? >>>>>> >>>>>>Kind Regards, >>>>>>Mike. >>>>> >>>>> > >