HELP HELP Issues with Infopath and sharepoint

R

Rock

Issues with Infopath and sharepoint

The development environment tools

Windows XP Professional
MS Office Professional with SP2
Visual Studio 2005
Infopath 2003 Toolkit for VS 2005
Sharepoint Server 2003


1. Closing the form in the OnLoad Event.

We are validating the user in the onload event and if the required
authorization to use the form is not available for the user, the form needs
to be closed after displaying the message to the user.
We tried
thisXDocument.View.Window.Close(true);
and
thisApplication.XDocuments.Close(thisXDocument);
and
thisApplication.Quit(true);

All the methods are not working.

2. Preventing the deletion or modification of specific rows from the
repeating table

Need to prevent the user from modifying or deleting specific rows from the
repeating table. For eg, approved records are to be locked.

3. Detect changes happening to controls bound to secondary source

When Save button is clicked and no change has done on any controls the save
action should not work. There is an IsDirty property of thisXDocument to
identify the data change if any that has happened in the primary data source.
How to do the same with secondary datasource if the controls are bound to
that.

4. How to get multiline edit on a text box

The paragraph breaks are enabled only when control formatting is set to
readonly. How to have paragraph breaks along with edit functionality.

The following message appears when trying to use a rich text box in such
scenario. The rich text box was placed inside a repeating table which was
bound to a repeating group.




5. How to store the general configuration information for the application
within infopath?

The infopath application accesses mail server and database server. How to
configure the path / ip address in the application to enable easy deployment.

6. How to sort the columns in a repeating table?

The columns in repeating table has to be sorted. There is a code sample
availble using jscript but not in managed code. We tried extracting the xml
and sorting it using XSLT using managed code but while setting back the
sorted xml back to the DOM the screen flickers (since the controls are
tightly bound to the DOM), and the performance degrades with each click. Is
there any simpler, standard codebase for this option of sorting.

Issues with SharePoint

1. Move the form from one library to another

How to extract the form by name from one form library and move it into
another library. This functionality should happen from a windows service or
external exe, the security impersonization required to perform this action
within sharepoint need to be take care.


2. How to provide granular security to forms within a single library

We need to provide access to the forms for around 4000 users. To store the
different forms by these users in a single form library and need implement
security. Users should only be able to access the forms which is entitled to.
 

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