Hi. Having a bit of a problem.
I have submit point in switch, that has metadata field with "Dropdown List" and there are two more metadata fields that depends on answer to the first one. Basically, here's a rough example: http://prntscr.com/ql788m and http://prntscr.com/ql780u
Now, all is good and fine until I have to actually use this metadata: http://prntscr.com/ql7fq9
As you can see, both of them have same path, is there any way to distinguish it one from another? Since if I use one path somewhere, it won't matter what user chooses in submit point since one of those will appear there anyways. Hopefully this makes sense. Thanks.
Submit point metadata, field list value
Re: Submit point metadata, field list value
One possible approach is to use this XPath:
for the first metadata and the other Id number for the second.
Copy and paste this into the edit field underneath "XML location path".
Code: Select all
//field[@Id='spMF__2_693']/value
Copy and paste this into the edit field underneath "XML location path".
Re: Submit point metadata, field list value
Thank you, it workedfreddyp wrote: ↑Thu Jan 09, 2020 11:07 am One possible approach is to use this XPath:for the first metadata and the other Id number for the second.Code: Select all
//field[@Id='spMF__2_693']/value
Copy and paste this into the edit field underneath "XML location path".
Re: Submit point metadata, field list value
Also, if you want you can also use the tags Question, Metadata if Answer is 1 and Metadata if Answer is 2 as in //field[tag='Question']/value or //field[tag='Metadata if Answer is 1'']/value.
I use this a lot as it makes it much easier to see which metadata you're looking at, ie in a Mail Send configurator the Send to is a Single-line text with variables defined and [Metadata.Text:Path="//field[tag='Customer E-mail']/value",Dataset="Submit",Model="XML"] as variable.
I use this a lot as it makes it much easier to see which metadata you're looking at, ie in a Mail Send configurator the Send to is a Single-line text with variables defined and [Metadata.Text:Path="//field[tag='Customer E-mail']/value",Dataset="Submit",Model="XML"] as variable.
Enfocus Switch, Enfocus PitStop Server, Enfocus PDF Review, HP SmartStream& Kodak Prinergy with RBA
Offset 72x102, Offset Large Format, Digital Large Format and Digital print.
Offset 72x102, Offset Large Format, Digital Large Format and Digital print.