Skip to main content
Nintex Community Menu Bar
Question

Edit the XML source to make copies of components?

  • Jul 9, 2024 3:05 PM UTC
  • 8 replies
  • 53 views
  • Translate All

Forum|alt.badge.img+8

How can I edit the XML raw and copy code that contains a panel set with field editors 100 times?

I have to set up my page with 100’s of panel sets and field editors and Click and drag is getting tiresome. Any ideas how i can maybe edit the raw page and copy components?

This topic has been closed for replies.

8 replies

Forum|alt.badge.img+17
  • Nintex Employee
  • Jul 9, 2024 4:55 PM UTC

When the page doesn’t have any unsaved changes there will be an “Edit XML” link at the bottom right of the page.   You can grab the XML there and put it in your favorite text editor.  Or just edit there. 

Translate

Forum|alt.badge.img+8

Wow… thats easy I am so blind i looked everywhere but there!

Translate

Forum|alt.badge.img+9

I copied the xml for one Tab on a page, from to . But the new tab does not render. I see that there is a tag that includes a unique ID, so I deleted the duplicate xml, created a tab with a table (empty), and then copied everything between the source tags to the new . Still no tab. It appears that other components have unique ID’s so I am suspecting that to be my problem. Is there an easy way to have those unique ID’s generated without creating each component and replacing their xml? Otherwise, it would be just about as easy to do it all by hand.

Translate

Forum|alt.badge.img+18

Mike,

You should be able to copy and paste components within the same page and ignore the unique id… as far as I understand it that will only impact personalizations.

Are you saying that the XML you’re pasting isn’t showing up in the builder, or in runtime?

Translate

Forum|alt.badge.img+11

Mike, I’ve copied XML snippets many times w/o issues.  Maybe you are not bringing over everything?  Hard to say w/o looking at the XML.

Translate

Forum|alt.badge.img+9

The new tab does not appear in the page Preview. When I had copied everything within <tab…, the components did not even appear in the page builder.

Translate

Forum|alt.badge.img+18

If you give us the relevant xml, we’ll take a look.

Translate

Forum|alt.badge.img+9

It’s over 500 lines. What is the protocol for sharing that length of code. (I’m new here.) Oh, yes. I suppose you would need the entire page and not just the part I’m copying?

Translate