cancel
Showing results for 
Search instead for 
Did you mean: 

BusinessObjects.DSWS.BIPlatform UNX universes

hayden_gill
Participant
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

DellSC
Active Contributor

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

hayden_gill
Participant
0 Kudos

I was afraid that would be the answer.

The other property I get/set is the Universe Description - the InfoObject doesn't surface that.

I guess it was asking too much for SAP to support their new universe type in the SDK after only 4 years ...

DellSC
Active Contributor
0 Kudos

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

Answers (0)