If you are unable to create a new account, please email bspsoftware@techdata.com

Author Topic: SDK Custom Report Functions  (Read 4716 times)

Offline cepete02

  • Associate
  • **
  • Join Date: Oct 2008
  • Posts: 4
  • Forum Citizenship: +0/-0
SDK Custom Report Functions
« on: 20 Dec 2017 01:48:16 pm »

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


Offline aussieadam

  • Full Member
  • ***
  • Join Date: Mar 2017
  • Posts: 28
  • Forum Citizenship: +2/-0
Re: SDK Custom Report Functions
« Reply #1 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?

Online dougp

  • Statesman
  • ******
  • Join Date: Jul 2014
  • Posts: 863
  • Forum Citizenship: +30/-1
Re: SDK Custom Report Functions
« Reply #2 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:

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


crxSDK.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?

Offline Paul-Cognos

  • Associate
  • **
  • Join Date: Dec 2019
  • Posts: 1
  • Forum Citizenship: +0/-0
Re: SDK Custom Report Functions
« Reply #3 on: 18 Dec 2019 04:16:53 pm »
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.