How to set Record producer default value

wakespirit
Kilo Guru

Dear all,

I have define a Record producer which is mapped to task table

I am struggling for days now in order to be able to set the default value of my record producer based on below capture :

find_real_file.png

Any idea how should I set my Assigned to default value with the sys id of the open user ?

Thanks for help

1 ACCEPTED SOLUTION

kindly keep them in double quotes and it should work.

<iframe src="${jvar_url}">

Mark the answer as correct if it works.

View solution in original post

4 REPLIES 4

Ajaykumar1
Tera Guru

Hi,

If you want to set the name of currently logged in user, then R.click on Assigned To field and write below code in default value field.

javascript:gs.getUserID();

Regards,
Ajay

asifnoor
Kilo Patron

Hi Wakesprit,

As I understand, you are getting the user from the UI action and you want to set that in the RP.

For this, you need to pass the user from UI action as a parameter to this RP. Then follow this link to parse the value from the URL and set it in the record producer

http://www.john-james-andersen.com/blog/using-urls-to-set-default-values-in-a-record-producer.html

Mark correct, if this works for you.

I have seen this page thanks.

 

In my UI page I am able to read dialog parameter url as below :

find_real_file.png

how can I set the iFrame src to my jelly url variable ?

I gets syntax error i cannot solved ?

thnaks

kindly keep them in double quotes and it should work.

<iframe src="${jvar_url}">

Mark the answer as correct if it works.