tag:help-archives.hannonhill.com,2010-02-09:/discussions/how-do-i/139-issue-w-data-definition-fields-to-system-nameCascade CMS: Discussion 2014-03-25T20:56:37Ztag:help-archives.hannonhill.com,2010-02-09:Comment/27499722010-08-30T19:26:49Z2010-08-30T19:26:49Zissue w/ Data Definition Fields to System Name<div><p>I'm trying to use the Data Definition Fields to System Name plugin to generate system names for a site I am working on. The problem I am encountering is that I can't use some field types w/ the plugin to generate my system names. The specific action I am trying to do is take a value from a dropdown field "meeting" and concatenate it with a date field called "date". However, it gives me an error when ever I do this. I have simplified it using only one field, meeting, and I still get the following error:</p>
<p>An error occurred during creation: Content must be entered for at least one of the following fields: meeting</p>
<p>This happens even when I have clearly selected a value from the dropdown. If I switch the field to one that is a simple text field it works fine, but that doesn't do what I want in the long run.</p>
<p>I need to be able to generate page name that contains the meeting group and the date: finance-committee-08-30-2010</p>
<p>Any suggestions? I am currently working in our test instance running 6.7.</p>
<p>-Matt</p></div>mdcartertag:help-archives.hannonhill.com,2010-02-09:Comment/27499722010-09-08T17:57:43Z2010-09-08T17:57:43Zissue w/ Data Definition Fields to System Name<div><p>bump... any solution to this?</p></div>mdcartertag:help-archives.hannonhill.com,2010-02-09:Comment/27499722010-09-08T18:27:40Z2010-09-08T18:27:40Zissue w/ Data Definition Fields to System Name<div><p>Hey there,</p>
<p>I just tried this locally and was able to reproduce the behavior you are seeing. Let me do some more investigating to see if this is something that was intentionally left out or if this is supposed to work like a standard text field.</p></div>Timtag:help-archives.hannonhill.com,2010-02-09:Comment/27499722010-09-08T21:02:46Z2010-09-08T21:02:46Zissue w/ Data Definition Fields to System Name<div><p>Ok, I've got some more information for you regarding this behavior. It does appear that this was done purposely and is really only meant to be used with text fields (as is mentioned in the plug-in description). One of the reasons for this is that with other fields (like multi-select and check boxes), the system wouldn't know which value to use for the plug-in.<br />
</p>
<p>If you would like to see this functionality in the product, please feel free to submit a new idea in our <a href="http://ideas.hannonhill.com">Idea Exchange</a>.</p>
<p>In the meantime, if you have any Java experience, you might be able to write an <a href="http://www.hannonhill.com/kb/Plug-Ins/">Asset Factory Plug-in</a> to do exactly what you are looking for.</p>
<p>Let me know if this helps.<br />
</p></div>Timtag:help-archives.hannonhill.com,2010-02-09:Comment/27499722010-09-08T21:24:55Z2010-09-08T21:24:55Zissue w/ Data Definition Fields to System Name<div><p>Unfortunately it doesn't help, but it does answer my question.</p>
<p>Can you point out where it says this in the plug-in description. I speculate that you are referring to the section:</p>
<p>Field Identifiers - This is a comma-separated list of the identifiers of structured data text nodes to pull the new name's segments from. These are the values that will be concatenated together.</p>
<p>The phrase "structured data text nodes" is a bit ambiguous. In the data definition builder the text box is referred to as "Text field" and the XML configuration for most of the various input types all use the text tag and are differentiated by a type attribute.</p>
<pre><code> <text type="dropdown" identifier="meeting" label="Meeting" default="Regents" required="true">
<dropdown-item value="Regents"/>
</text>
<text type="calendar" identifier="date" label="Meeting Date" required="true"/></code></pre>
<p>This is what may have caused my confusion. I inferred that that value of the text node of the generated XML that the Data definition created would be used in the plugin to create the system name. However, it appears that no XML is generated till after this step.</p>
<p>An additional note in the description of the plugin could make this more clear.<br />
Also on a side note, the name of the plugin used in documentation differs from the name of the plugin in the recent releases.<br />
Structured Data Fields to System Name vs. Data Definition Fields to System Name</p></div>mdcartertag:help-archives.hannonhill.com,2010-02-09:Comment/27499722010-09-09T15:47:50Z2010-09-09T15:47:50Zissue w/ Data Definition Fields to System Name<div><p>I completely agree with you here. Yes, I was referring to that section of the description as well as the general description: <em>"the plug-in takes the value of the Data Definition text fields"</em>.</p>
<p>I've created an internal issue to update this in the product as well as in the documentation. Apologies for the confusion!</p></div>Tim