Method QER.Customizer.CreateObjectDelegate is not available in ver 9

Hi all,

 Got a problem with the method QER.Customizer.CreateObjectDelegate which is defined in QER.Customizer.dll

In One Identity ver 8.1.5 we have a script that uses this method for some reason. And we plan to upgrade to One Identity ver. 9.

During the upgrade we have got that error that the mentioned script cannot be compiled because of unavailability of the method QER.Customizer.CreateObjectDelegate

Do you people have any ideas on that? Is the method no longer supported? Is there any replacement method?

P.S. sorry for my bad English.. I wrote "gays" instead of  "guys". That was just a typo. Very sorry

Parents
  • For everyone, finally we managed to solve the problem.

    In ver 8.1.5 we used a script to create new attestation cases (from attestation policies) and used code to fill-in the newly created attestation policies with additional data

    
    
    Dim attestationPolicy As ISingleDbObject = Connection.CreateSingle("AttestationPolicy", uidAttestationPolicy)
    Dim helper As CCC_HelperClass = New CCC_HelperClass(param1, param2, param3)
    Dim callback As QER.Customizer.CreateObjectDelegate = QER.Customizer.CreateObjectDelegate(AddressOf helper.HelperMethod)
    attestationPolicy.Custom.CallMethod("CreateAttestations", whereClause, callback)

    In ver 9.0 we had to re-design the script as following

    Dim attestationPolicy As ISingleDbObject = Connection.CreateSingle("AttestationPolicy", uidAttestationPolicy)
    Dim callback As Func(Of IEntity, IEntity, Boolean) = Function(attestationCase As IEntity, attestingObject As IEntity) HelperFunction(attestationCase, attestingObject, param1, param2, param3)
    attestationPolicy.Custom.CallMethod("CreateAttestations", whereClause, callback)
Reply
  • For everyone, finally we managed to solve the problem.

    In ver 8.1.5 we used a script to create new attestation cases (from attestation policies) and used code to fill-in the newly created attestation policies with additional data

    
    
    Dim attestationPolicy As ISingleDbObject = Connection.CreateSingle("AttestationPolicy", uidAttestationPolicy)
    Dim helper As CCC_HelperClass = New CCC_HelperClass(param1, param2, param3)
    Dim callback As QER.Customizer.CreateObjectDelegate = QER.Customizer.CreateObjectDelegate(AddressOf helper.HelperMethod)
    attestationPolicy.Custom.CallMethod("CreateAttestations", whereClause, callback)

    In ver 9.0 we had to re-design the script as following

    Dim attestationPolicy As ISingleDbObject = Connection.CreateSingle("AttestationPolicy", uidAttestationPolicy)
    Dim callback As Func(Of IEntity, IEntity, Boolean) = Function(attestationCase As IEntity, attestingObject As IEntity) HelperFunction(attestationCase, attestingObject, param1, param2, param3)
    attestationPolicy.Custom.CallMethod("CreateAttestations", whereClause, callback)
Children
No Data