Categories - Urgent issue

J

Jiju

We have a requirement wherein we have a set of categories, subcategories and
form data associated with these categories stored in the database. We want to
display categories and subcategories in the Task Pane. We have achieved this
using ASPX pages. Data Elements of the InfoPath is supposed to change when
Category A is clicked and when Category B is clicked the Form Structure is
again supposed to be reloaded from the database. We used webservices for
loading and submitting the data. For the default view it works fine.

1. We were hoping that we would be able to programatically create some
views so that when different Categories are clicked we could load different
views dynamically. These views cannot be created at design time because the
number of views required are not available at design time. We understand that
Views cannot be programmatically created with InfoPath Object Model. Is that
correct? To achieve the functionality we want, what should be done?

2. In the future we also want to show different Controls(like TextBox,
ListBox, CheckBox etc) in InfoPath form dynamically at run time based on some
database values. Is this also possible? At design time, we will not be
knowing what controls could be loading in the form.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top