Skip to Content
Oct 29, 2020 at 03:19 PM

Unable to view newly created my UFL function sample.rpt file in the crystal report designer 2020

214 Views Last edit Oct 29, 2020 at 04:45 PM 2 rev

  • Created simple COM component in C#.NET and output is UFLDotNetSample.dll
  • Pasted the UFLDotNetSample.dll Into below path and register the dll by “regasm.exe”.

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

namespace UFLDotNetSample
    public interface SimpleStr
        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;