Skip to Content

extract universe files using .net SDK?

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 16 at 09:23 PM

    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

    Add comment
    10|10000 characters needed characters exceeded