cancel
Showing results for 
Search instead for 
Did you mean: 

Changing the xml name for forms

vidhya_m
Participant
0 Kudos

Hi,

I am using XML forms. I am facing an issue with the autogenerated name of the document.

I go to a folder ->new->form->choose an xml form, fill it up and save.

The form gets saved and displayed with a autogenerated (long) name with the.xml extension.

I am having 2 portals on which this is working.

1. on one portal, if i click on the link to the .xml file, the file opens as an xml. Only when i choose edit from the context menu of the file the form opens in the edit mode

2. in the other portal, if i click on the link to the file or choose edit from the context menu, the editable form opens

I want know a few things in this context:

1. Can I choose the name of the xml form created without having to rename the file?

2. Why is the form display different in two portals? Is this configured? If so, where?

3. If i want to use a form only for news items and should not be accessible within folders, is it possible to do that? If yes, how?

Could someone kindly help me with these queries?

Best Regards,

Vidhya

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI

1. Can I choose the name of the xml form created without having to rename the file?

yes. if u use NAME ID or select a GUID reference in xml forms builder

But by default name id will be used as guid reference

2. Why is the form display different in two portals? Is this configured? If so, where?

click on the link to the file -


> editable form opens ?

r u sure about this .

In my portal i can open the edit form from the context menu and not ny clicking on the link directly.

Regards,

Vijay.

vidhya_m
Participant
0 Kudos

Hi,

Thanks a lot for the reply.

I checked the Name ID. I get a warning saying name ID is not given. But the name ID is not editable. Hence I am not able to change it. Should I configure elsewhere to make it editable?

Best Regards,

Vidhya

Former Member
0 Kudos

HI

If u create a forms in xml forms builder and if u dont reference name property from the property schema to any one of the label what u had created in your edit form then following warning occurs

The Name property is not referenced. A GUID will be used as the XML file name.

in this case whenu create further forms from the folder->new -


>forms--->urform and when u store this form in the folder u can find something like this 5565656hdhdhhdh.xml

instead if u create a name label in your edit form and reference it to property schema Name then u wont get the above warning message and when u store ur form in the folder then it will stored as for eg:comapany news i.e the value what the user had entered in the name field of edit form.

I think this name field by default is set to mandatory ---> yes in the properties of the label , if not set then make it yes.

Regards,

Vijay.

vidhya_m
Participant
0 Kudos

Thank you so much. My problem is resolved.

Best Regards,

Vidhya

Answers (0)