Skip to Content
0

extract universe files using .net SDK?

Jan 11 at 07:32 PM

30

avatar image

We are looking for a way to pull unx universes out of a BOE repository. The following Java code is said to do this, but we need the equivalent in the C#.net API.

//***************************************************************************

SlContext context;
IEnterpriseSession enterpriseSession;
ISessionMgr sessionMgr;
CmsResourceService cmsService;
LocalResourceService localResourceService;

context = SlContext.create();
enterpriseSession = null;
sessionMgr = CrystalEnterprise.getSessionMgr();
enterpriseSession = sessionMgr.logon(userName, password, host, authType);
cmsService = context.getService(CmsResourceService.class);

// ... Query the InfoStore for a Universe path ...

String blxPath = cmsService.retrieveUniverse(repositoryPath, localFolderPath, true);

//***************************************************************************

Most important is the two highlighted lines. We need

(A) The service name to query in the .NET API (it is done with a string name).
(B) The dll to include that gives us a CmsResourseService object and that has the retrieveUniverse function.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Daniel Paulsen
Jan 16 at 09:23 PM
0

Hi Ken,

The Semantic Layer SDK is only available as a Java SDK and there is no .NET equivalent. Apart from that and the IDT (Information Design Tool), I cannot think of any supported way to download a universe (UNX) from the CMS to get its business layer.

Dan

Share
10 |10000 characters needed characters left characters exceeded