on 07-18-2017 6:02 PM
I have a problem with a VB Script that includes the following code:
Set C = RepositoryConnection
output "Connected to Repository - connection is " & C
output "Connected? = " & C.Connected
output "Config count = " & C.Configurations.count & vbcrlf
C.Refresh()
C.CleanLocalCache()
for each config in C.Configurations
... do stuff
for each mdl in config.Members.... do stuff
The problem is strange - the code can't always access the configurations and their models, and reports a count of zero. I find that I have to access the Configurations via the UI before they're available to the script. I've tried refreshing and clearing the cache (see above), but that doesn't help.
Hello,
I think it is a bug: I am opening a Change Request for this and will document it in KBA 2509786.
KR,
Arnaud
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, Arnaud. Here's the link to the bug report (KBA) -
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.