on 2020 Oct 29 3:19 PM
C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86
C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win64_x64
Install it into GAC as well.
But I’m not able view/see my function in the crystal report designer 2020(30 -days evaluation version which I'm using currently - [v14.3.0.3625]).
Can you please help to how add my UFL function successfully into CR designer, it would be thankful if you could share the Sample UFL project and how to use it in CR designer and .RPT file.
Thank you for your support. crystalreportdesigner-v14-ufl.png
C# .NET UFL
namespace UFLDotNetSample
{
[Guid("BA988C53-D048-433e-809A-0719E8696D5E")]
public interface SimpleStr
{
[DispId(1)]
int StringLength(string name);
}
[Guid("2D940DDB-BB03-4a0f-A549-8550122D366B"), ClassInterface(ClassInterfaceType.None)]
public class ClassTest : SimpleStr
{
public ClassTest()
{
}
public int StringLength(string name)
{
return name.Length;
}
}
}
Request clarification before answering.
Hello,
Use Google and search for this KBA - 1525014 - Sample C# .NET UFL and Localization Formula function
Or try this link: https://apps.support.sap.com/sap/support/knowledge/en/1525014
Note the info to tell CRD to use the same framework your UFL is using.
CR 2020 is a 64bit application so the UFL needs to be built by setting the project to x64 and not AnyCPU.
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
73 | |
30 | |
8 | |
8 | |
7 | |
6 | |
6 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.