Hi All,

I am facing some issues while configuring an edit page for a lookup. I've created a lookup edit page by using this reference: https://community.creatio.com/questions/new-lookup-item-edit-page and added only name field there with insert operation. My issues are listed below.

1. I am getting a Name field as an scripted field in all sections by default.

2. In a lookup by default the Name field is a required field. So this gives me validation error for filling and If I make it not required, this saves empty string as well.

3. If I change its operation with merge in place of insert in the newly created edit page then I'll be unable to add lookup value from the pop up modal box by using "New" button after clicking on magnifying glass icon.

4. If I remove Actions and New buttons from that page using lookupListConfig:{hideActions:true}, Again I'll be unable to save the value.

 

So my questions are:

1. How to add a heading or caption on the top of the lookup edit page (where the Name is currently being shown) ?

2. How to configure that Name field on the lookup edit page as a required field without having the same in all the section pages instead of removing them from every page manually?

Screenshot(ss) explanation : 

ss1: Partner no : Lookup for which I've created an edit page.

Name(Beside Partner no): scripted field being added by default when using "Operation" : "insert".

ss2: lookup edit page JS code.

ss3: script based name field.

ss4: lookup edit page preview where I want Heading/Caption and Name field as required.

ss5: Popup for that script based Name field which pops up continuously because of multiple records in multiple sections.

 

Like 0

Like

3 comments

Hello Rishabh,

 

I am afraid the used method presented in the referenced post will not work for your current need as you seem to have some replacements in the system. There are some alternatives, though.

 

First of all, it is recommended to create a section based on the object you need. This will give a lot of functions to work with the required entity.

 

If it is needed to work with lookups only - in your case, the easiest solution will be to populate it directly via the Lookup section (as it is done by default).

 

We are already working on the mentioned problem, and in future releases, there will be a specific tool to create advanced edit pages for lookup. (Planned for version 8.0.3)

 

I hope my answer was helpful to you.

 

Best Regards,

Dan

 

Denis Bidukha,

hey,

there is a tool now for create advanced edit pages for lookup?

thanks.

noyzada,

 

Hi! 

 

Yes, it is available if your version is 8.0.3 and higher.

The advanced lookup edit page may be created in Freedom UI designer and the required Object (lookup) should be chosen as a source.

 

Best Regards,

Dan

Show all comments

Hello community!

Is it possible to place customized lookup in the workspace menu and provide edit access rights to specific user?

Like 0

Like

3 comments

Hello Jana, 

 

Could you please elaborate a bit on your business task and clarify where exactly you would like to place the mentioned lookup and for which purpose? Maybe the mentioned functionality can be achieved with a help of filters?



Looking forward to your reply. 

Best regards, 

Anastasiia

Anastasiia Zhuravel,

Hello Anastasiia, 

I want to add specific lookup to the specific workspace so person who does not have admin access rights can edit it. We have created new detail in the Object. It is possible to add new records to the detail. When adding new record separate form with list of fields is opened. Form contains lookup but there is no option to add new record (there is no New button). Actually I am looking for the simple solution to add records to the lookup.

Jana Sergejenko,

 

Please check my answer on this post: 

 

https://community.creatio.com/questions/disable-new-option-city-state-l…

 

Here was a contrary question to DISABLE "NEW" OPTION. But you can try by analogy to change  "Lookup view" from  "List" to "Selection window" and the "New" button should be available.

 

Please let me know if it helps!

 

Regards, 

 

Bogdan L.

Show all comments

Hi Community!

I'm trying to create a lookup using Ext.create("Terrasoft.controls.LookupEdit" into a custom module.  I created the lookup but I need to bind it for example to contacts.

Does anyone have an example of how to do it?

Appreciate it!

Regards

Like 0

Like

2 comments

Please find the answer in the article by the link below: https://community.bpmonline.com/questions/select-datasource-custom-lookup-control

Alina Kazmirchuk,

Thank you! Are the same attributes being that I directly create the control by Ext?

Regards.

Show all comments

Hi Community,

I have a custom page schema with two fields a text field and a look up field. Any idea how can I retrieve the Id of the selected record from the lookupedit field? I tried below syntax but it is not working:

var UsrGender = Page.LookupEdit1.Value;

Custom Page:

 

Process and Source Code

Like 0

Like

3 comments

I can search for the information on how to do that, but it's terrible obsolete. Please specify why you need that thing. Please consider creating the same functionality on JS. This way you'll find much more documentation and it will be much more comfortable for you to work with it. 

Eugene Podkovka,



Hi Eugene, thanks for your reply. We are using custom page schema because we have a requirement to fully customize a screen and i think it is achievable using custom page schema.

 

Fulgen Ninofranco,

It doesn't explain the reason. I recommend to use JS for all visual customizations. 

Show all comments