After migration into CoralUI Query is not generating | Community
Skip to main content
Level 2
Jul 13, 2021 4:28 AM UTC
Solved

After migration into CoralUI Query is not generating

Hi Team,
After migration into CoralUI Query is not generating, while it was working before migration.
Please find below XML file and help me out:-


<generateQuery
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/button"
icon="icon-info-sign"
name="./generateQuery"
granite:rel="tagFilterQuery"
text="Generate Query"/>
<queryField
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/textarea"
granite:class="queryTextArea"
disabled="{Boolean}true"
fieldLabel="Generated Query"
name="./queryField"
rows="3"/>

Please help me out !! Thanks in advance

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Vijayalakshmi_S
Vijayalakshmi_SAccepted solution
Level 10
Jul 16, 2021 7:18 PM UTC

Hi @rajnishkr93

Compare the logic/markup of Resource (sling:resourceType of dialog fields) used for source element Button (Generate Query) and the target element (textarea) prior to and after Migration. 

On a very high level, it could be the identifiers (class/id or HTML tag name) or if you are relying on custom properties on a dialog field node. 

Share the complete dialog resources used and custom JS for debugging further. 

5 replies

Vijayalakshmi_S
Vijayalakshmi_SAccepted solution
Level 10
Jul 16, 2021 7:18 PM UTC

Hi @rajnishkr93

Compare the logic/markup of Resource (sling:resourceType of dialog fields) used for source element Button (Generate Query) and the target element (textarea) prior to and after Migration. 

On a very high level, it could be the identifiers (class/id or HTML tag name) or if you are relying on custom properties on a dialog field node. 

Share the complete dialog resources used and custom JS for debugging further. 

Translate
arunpatidar
New Participant
Jul 13, 2021 3:56 PM UTC

Hi, can you try to move rows="3" in granite:data node?

Translate
Arun Patidar
Level 2
Jul 13, 2021 5:24 PM UTC
Hi Arun, that approach dint work....it seems js is breaking somewhere
Translate
Dipti_Chauhan
New Participant
Jul 13, 2021 5:47 AM UTC

Hi @rajnishkr93 

 GenerateQuery is not a OOTB function or component. In your case this is just a button. Please share Java script function which is getting called on click of it. There must be some error in that JS .

 

Thanks

Dipti

Translate