Qlik Community

Qlik Replicate

Discussion board for collaboration on Qlik Replicate.

Announcements
QlikWorld 2022, LIVE in Denver CO., May 16-19, 2022. REGISTER NOW TO RECEIVE EARLY BIRD PRICING
cancel
Showing results for 
Search instead for 
Did you mean: 
Rajkumar_J
Contributor
Contributor

User Defined function in Qlik Replicate

Hi Team,

I am exploring Qlik Replicate. In that, I need to create user defined function.

As per the user guide, i tried to create but can't able to create the user-defined function.

Could you please guide me/suggest the steps to create user-defined function in Qlik Replicate.

Please find the attached screenshot for your reference.

Looking forward for your reply.

Rajkumar_J_0-1592398313045.png

 

Labels (1)
1 Solution

Accepted Solutions
OritCuriel
Employee
Employee

If pou look under the <Replicate installation dir>\addons\samples you will find two code examples for a library that implements some functions that will be available as user defined transformations if you register these libraries as addons

 

View solution in original post

11 Replies
nguyensteve
Support
Support

hello,

1. Replicate user are base on Server user or domain user .

2. you can assign user permission , from server setting / user permission , you can not create new permission.

Thanks

Rajkumar_J
Contributor
Contributor
Author

Hi,

Its not related to users/domain.

It is related to transformation part. In the transformation layer, there are some default functions like length,timestamp etc.,

in that, we can create our own transformation code in user-defined functions.

I am not able to create that part.

Could you please suggest me in that part.

Thanks

nguyensteve
Support
Support

Sorry,

to do transformation:

double click on table / filter / expression builder

thanks,

Rajkumar_J
Contributor
Contributor
Author

@nguyensteve 

I have tried, but in user-defined there is no functions by default.

How can we create the functions.

Do you have any referral content for that.

nguyensteve
Support
Support

hello :

are you not seeing this :

 

nguyensteve_0-1592398631088.png

 

OritCuriel
Employee
Employee

Hi, 

Please look for the following in the user guide: User-Defined Transformations.

You will need to write an addon library with the code for the functions you want to add

Rajkumar_J
Contributor
Contributor
Author

@nguyensteve 

I can able to see the default functions. But not able to create our own functions under 'user defined'

Rajkumar_J
Contributor
Contributor
Author

@OritCuriel 

I have seen the user guide, but I am not getting what could we need to do.

Because there are some code creation steps mentioned. Compile step also there.

As per the user guide i can't able to create the user defined function.

Could you please guide me on this with a sample.

OritCuriel
Employee
Employee

If pou look under the <Replicate installation dir>\addons\samples you will find two code examples for a library that implements some functions that will be available as user defined transformations if you register these libraries as addons

 

View solution in original post