Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

Help Using the Dynamic Update Panel

Updated: 30 Jun 2010 | 3 comments
lone_ranger's picture
0 0 Votes
Login to vote

I recently watched a demo from a Symantec partner who was using the dynamic update panel on his web form to show and hide dropdown components bases on the previous choices. I have read a couple of posts that talk about this but I only get bits and pieces. Can someone help me understand how to create a form that dynamically changed the options much like the helpdesk 6 does now.

The example I have contains two to three layers listed below. If the user chooses Break Fix on the first dropdown then he only sees desktop and laptop, same if Service Request is chosen.

Break fix\hardware\desktop
Break fix\hardware\laptop

Service Request\Software Install\Flash
Service Request\Software Install\Outlook

Thank you

Discussion Filed Under:

Comments

GreatAmericanWF's picture
28
Dec
2009
0 Votes 0
Login to vote

Help Using the Dynamic Update Panel

I'm trying to figure out the same thing.  I have a form with a drop down list component, and based on the user's choice, I want 1 of 2 checkbox components to be visible (if the user chooses "Removing Datacenter Access", I want the checkbox "Revoke All Access" to be visable.  If the user chooses "Adding Datacenter Access", then I want the checkbox "User Transferred Roles" to be visible.)

I tried configuring the true/false using process variables, then a dynamic model, but the variable for the drop down list component doesn't show in the process variables list.  Then I tried setting up a custom event, and I can get that to work.

Any help or docs would be very appreciated.

Rob Moore's picture
28
Dec
2009
1 Vote +1
Login to vote

GreatAmericanWF - your

GreatAmericanWF - your situation is a bit easier than Lone Ranger...

For you, make sure you have the Post Form on Value Change checked on your drop down item. Also, your Drop Down component has to be in the same dynamic panel as the check boxes you want to hide or expose.

Now you set the visibility on your check box items to Dynamic Model, and based on the Value in the Drop down you either show or hide the fields. The key is to select the variable from the This Form Data variable list (this is why you need to have the drop down in the same dynamic panel as the check boxes). Each time a new value is selected in the drop down, it does the a post back to the dynamic panel and will show or hide the other check boxes. I have a sample project I can send you with a simple example of how this works.

Lone Ranger, your situation is a bit more tricky. I would suggest keeping this data in a DB table and reading the data from it every time someone selects a new item in the drop down. I have an example I can show you that does exactly what you are trying to do. In my case, it's a list of countries by region. A user selects South America, and I have to generate a list of all the countries in SA. If they select EMEA, then the list changes to Europe, Middle East and Asia. I do this by reading data from the DB every time the drop down value changes.

It might be best to show you (lone Ranger) via a goto meeting screen share (I have an account we can use). As you you GAWF -  send me an email and I send you the package,

rob moore
rob.moore@travelport.com

Jimbaland's picture
29
Dec
2009
0 Votes 0
Login to vote

I was able to get this working

Thanks for the info guys. I was trying to do something along the lines of what GreatAmericanWF, but the dynamic panel was the missing piece. Now I've created a sample project that I can use to build things that are more complex.