on 12-11-2015 5:55 AM
Hi,
I've been successfully using the Axis WebServices for .Net to manage things like who gets access to a Universe (ie setting access, not just viewing access)
This is fine for UNV universes, but in testing a UNX universe cannot be cast into BusinessObjects.DSWS.BIPlatform.Desktop.Universe
There doesn't seem to be an appropriate object to cast a DSL.MetaDataFile into - can someone please give me a pointer ?
Example code:
Dim query As String = "cuid://<" & UniverseCUID & ">*"
Dim infoObjects As InfoObject() = _boeWSCommon.getInfoObjects(_wsBIPlatformService, query).InfoObject
If infoObjects.Length > 0 Then
Select Case infoObjects(0).Kind
Case "DSL.MetaDataFile"
' Not sure what type to cast into ?
Case "Universe"
_Universe = CType(infoObjects(0), BusinessObjects.DSWS.BIPlatform.Desktop.Universe)
returnValue = True
Call GetOtherUniversedata()
End Select
End If
I should point out I'm using the BusinessObjects.DSWS.BIPlatform.dll from BOE 4.1 SP6 which shows as Version 14.1.2006.1702
Right now there are only two ways that I know of to access the properties of a .unx universe - the Semantic Layer SDK and RESTful Web Services. Unfortunately, I don't think either one provides access to set security.
However, if you don't cast it and just use it as an InfoObject, you should still be able to set security on it - you could do the same with the regular .unv objects as well.
-Dell
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
They're not adding much to any of the "legacy" SDKs because everything will be moving to the RESTful Web Services SDK which doesn't require any install on either the developer workstation or where it's being deployed. The problem is that the RESTful SDK doesn't have everything in it yet.
You could always use the InfoObject to set security and then, with a token from your current session, log in to the RESTful Web Service and set the description through that.
-Dell
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.