Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
TeamSite
TeamSite, LiveSite and OpenDeploy
INLINE issue. Please suggest
Migrateduser
Hello Everybody,
I want your suggestion in the issue i am facing in teamsite templating requirement.
Scenario: In the DCT, i have many multiselect dropdowns such as (Access Super Region, Access Region, Country etc) where values comes from database using inline command. These values are deployed to the databse using data-deploy plugin and by creating deployment xml which has the dbSchema which maps the DCT fields to the table columns.
Requirement: Users want to have default values selected for these above dropdowns based on the frequent selections they normally do. So they will not to individually select all the boxes. Requirement is to have a check box in the DCT which says, Default Regional Access. If the check box is selected, in the DCT, only default values selected be shown and if it is unchecked, user will see all the values which comes from database, like before. When the DCT loads, check box must be already selected so uers will see only default values.
Solution: By using Form APIs, We can hard-code default values for the drop-down select boxes and can make it to show the values if check box is selected.
Issue: As i had mentioned that right now values come from databse using inline and inline is executed at the time of form init only. and if i make function using form api on check-box's onItemChange event, it works fine when the check box is selected but it doesnt work if check box is not selected as it doesn't populate the values from database as inline works only at the time of DCT load.
Can you please throw some light on how alternatively i can do this. Or is there any way inline could be called on item change.
Teamsite 6.7.2/WINDOWS
Thanks,
Raj
Find more posts tagged with
Comments
There are no comments yet