cancel
Showing results for 
Search instead for 
Did you mean: 

extract universe files using .net SDK?

finditez
Explorer
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

daniel_paulsen
Active Contributor
0 Kudos

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