We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

How to generate drop down lists dynamically with Filemaker XSLT

Medium Priority
733 Views
Last Modified: 2013-11-18
We have a small FM database that has been web enabled using FileMaker XSLT Site Assistant. The original (inherited) web pages use drop down lists that have been created manually. We would like to generate them dynamically. We have been able to do this in the FM database and the client side application shows the drop downs in the Browse view properly. But the changes to the  generated drop down lists do not transfer to the findrecordes.xsl page. It works fine if we regenerate a new findrecordes.xsl page, but if we do that, then we have to add all the additional coding, design, etc. that is part of the original web page.

The code below is the code that points to the field/drop down list in the newly generated findrecords.xsl page and the drop down displays the options as expected. When transferred to the existing findrecords..xsl web page, the drop down had no options listed.

Is there a step we need to do to the database or original xsl pages so the new dropdown will display the options?
<select size="1">
	<xsl:attribute name="name">SchoolList_VL 2::Name</xsl:attribute>
		<xsl:attribute name="title">SchoolList_VL 2::Name</xsl:attribute>
			<option value="">Select One</option>
			        <xsl:for-each select="$valuelists[@NAME = 'School_Name']/fml:VALUE">
			<option>
		                  <xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute>
			<xsl:value-of select="."/>
			</option>
	</xsl:for-each>
</select>

Open in new window

Comment
Watch Question

I figured this out. the xml grammar was pointing to the wrong layout view. Once I changed that the drop downs worked find.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.