Input Forms issue | Community
Skip to main content
bittu4551
New Participant
August 23, 2019
Solved

Input Forms issue

  • August 23, 2019
  • 8 replies
  • 7708 views

Hi All,

I have created an Input form and while double-clicking on the form to change the details of any record it is ending up by closing the campaign console.

It's not allowing me to double click and rather disconnecting me from my console. Can someone help me in this case?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by bittu4551

This issue was resolved by adding the <view form="<SchemaName>" in the Navigation Hierarchy and by enclosing all containers with a root container.

<container>

...

...

</container>

Thanks, Saikat for your time and help.

8 replies

bittu4551
bittu4551AuthorAccepted solution
New Participant
August 28, 2019

This issue was resolved by adding the <view form="<SchemaName>" in the Navigation Hierarchy and by enclosing all containers with a root container.

<container>

...

...

</container>

Thanks, Saikat for your time and help.

bittu4551
bittu4551Author
New Participant
August 28, 2019

I tried Still its not working.The console is Crashing

Adhiyan
Employee
August 27, 2019

Hi Bittu,

I guess you need to add the two attributes to the form to make it work.

editionMode="dialog" entity-schema="<namespace>:<schema>"

So your parent form element should have

<form .......

editionMode="dialog" entity-schema="<namespace>:<schema>"

.....

      xtkschema="xtk:form">

I believe , it's not able to fetch the schema which the form is connected to and hence ends up crashing the console

Regards,

Adhiyan

bittu4551
bittu4551Author
New Participant
August 27, 2019

Hi Saikat,

Here is the xml

<form _created="2019-08-26 08:19:11.944Z" _createdBy-id="3144567" _cs="Dealxyz (abc)"

      _lastModified="2019-08-27 13:32:13.327Z" _modifiedBy-id="31466422" created="2019-08-26 06:35:37.706Z"

      createdBy-id="3144567" entitySchema="xtk:form" img="xtk:form.png" label="Dealxyz"

      lastModified="2019-08-20 02:33:06.359Z" md5="2XY2C8E3D0F511E82014442C1C809"

      modifiedBy-id="93875176" name="Dealxyz" namespace="abc" type="notebook"

      xtkschema="xtk:form">

  <createdBy _cs="mmmmmmmmmmmmmmmmm"/>

  <container label="Details" name="Details">

    <input readOnly="true" xpath="@id"/>

    <input readOnly="true" xpath="@Name"/>

    <input readOnly="true" xpath="@bookStatus"/>

    <input xpath="@isActive"/>

  </container>

  <container label="Some Dates" name="someDates">

    <input xpath="@someydate"/>

    <input xpath="@somexdate"/>

    <input xpath="@somexTime"/>

    <input xpath="@somezStartTime"/>

  </container>

  <container label="Price Details" name="PriceDetails">

    <input xpath="@minPrice"/>

    <input xpath="@maxPrice"/>

    <input xpath="@finalPrice"/>

  </container>

  <container label="Other Details" name="OtherDetails">

    <input xpath="@somethingx"/>

    <input xpath="@somethingxy"/>

    <input xpath="@somethingxyz"/>

    <input xpath="@somethingxxyza"/>

    <input xpath="@somethingxxyzab"/>

  </container>

</form>

bittu4551
bittu4551Author
New Participant
August 27, 2019

This issue is only for the forms i created.

bittu4551
bittu4551Author
New Participant
August 27, 2019

This issue is only with the forms I created.

On Tue, Aug 27, 2019 at 2:18 AM anitap82640902 <forums_noreply@adobe.com>

Anita_punmiya
New Participant
August 27, 2019

Hi Bittu,

Can you please check if that is the case with other forms as well or only with the one you created ?

Thanks,

Anita

saikatk2447661
New Participant
August 27, 2019

Hi Bittu,

Can you paste the input form XML here?

Thanks,
Saikat