COGNOiSe.com - The IBM Cognos Community

IBM Cognos Analytics Platform => Cognos Analytics => SDK => Topic started by: cepete02 on 20 Dec 2017 01:48:16 PM

Title: SDK Custom Report Functions
Post by: cepete02 on 20 Dec 2017 01:48:16 PM
Hello,

Has anyone gotten the custom report functions to work under cognos 11?  I refer to the example in "D:\Program Files\ibm\cognos\sdk\webcontent\samples\sdk\crx\crxSDKsample".  I have gotten the dll to compile, but cannot get cognos 11.0.8 to recognize it.  Same files do work in Cognos 10.2.2

Thanks,
Carl
Title: Re: SDK Custom Report Functions
Post by: aussieadam on 12 Feb 2018 03:30:41 PM
i haven't tried that sample yet, can look into it later this week, but i know there were some small changes between 10.2.X and 11.X.X sdks. I'm unsure if they actually updated the samples to accommodate the changes.

Are you using the latest version of the sdk samples?
Title: Re: SDK Custom Report Functions
Post by: dougp on 29 Oct 2019 12:48:27 PM
The documentation (https://www.ibm.com/support/knowledgecenter/en/SSEP7J_11.0.0/com.ibm.swg.ba.cognos.ca_dg_sdk.doc/c_building_a_custom_report_functions_library.html#building_a_custom_report_functions_library) states:

QuoteCustom report functions can be built in any programming language that allows creation of ... dynamic load libraries

and

QuotecrxSDK.h ... is always included via an include statement

These statements appear to be contradictory. From what I have found so far, the second statement means that the functions can only be built using C++.

I have no experience with C++.  Has anyone here had success using C# to develop custom report functions?
Title: Re: SDK Custom Report Functions
Post by: Paul-Cognos on 18 Dec 2019 04:16:53 PM
Hi,
I too am stuck here. Created a DLL in C++ painstakingly and unable to get it into the tree and don't think the DLL is even recognized.

Once a DLL is made, does it matter if it's done in C++ or C#? Has anyone done this successfully in C11? Any idea to move forward will help.

Thanks,
Paul.