User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the XML, XSLT and XPATH section within the Software Development category of DaniWeb, a massive community of 391,902 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,597 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our XML, XSLT and XPATH advertiser:
Views: 17865 | Replies: 5
Reply
Join Date: Dec 2005
Posts: 6
Reputation: sastwhc is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
sastwhc sastwhc is offline Offline
Newbie Poster

Question How can show/view Infopath dynamic files(xml) without infopath in a computer

  #1  
Jan 26th, 2006
Hi all
i have some infopath forms ,all dynamic xml files for input data and recode them in a Dbank, on my box Infopath installed but i prefer the cilent side [ end users] can view and use the forms without infopath,actually IE shows it as a tree form and some plugins for IE make non Dynamic or no Dbank relation view, i need user may view the forms by something routine such as IE ... prefer dose not need infopath to fill out the forms, any suggestion, command may be useful, i wish i choose the related forum ,thnx in advanced.
sastwhc
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jan 2006
Posts: 8
Reputation: Sudhakarj is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Sudhakarj's Avatar
Sudhakarj Sudhakarj is offline Offline
Newbie Poster

Solution Re: How can show/view Infopath dynamic files(xml) without infopath in a computer

  #2  
Jan 26th, 2006
hi friend,

Do all users need a copy of InfoPath on their workstations?
Resolution

Yes and no. In order to fill out forms created in InfoPath with all of the
rich-client functionality and data
validation available in that environment, users will need a copy of
InfoPath installed on their workstation. There won't be an free control or
Web Component for editing InfoPath forms.

InfoPath provides a rich user experience that goes beyond what you normally
get with a Web-based form. For example, InfoPath provides data validation
for the form as the user fills it out. Validation can detect errors at the
schema level, through logical constraints, and even through script. This
validation occurs immediately, so the user doesn't have to submit the
entire form before finding out there's an error.

InfoPath also provides conditional formatting, so your form can be more
responsive to user input. For example, you might have a field that changes
it's background color to red whenever an unusual (but not illegal) value is
entered. Again, this occurs as soon as the value is entered, so the user
has a chance to react appropriately.

InfoPath provides the ability to work on a form offline, or to interrupt
work on a form and come back to it at a later time, something web-based
forms simply can't offer. InfoPath can easily make use of SQL Server and
Access databases, and existing XML files, in addition to Web Services,
without having to write low-level code. InfoPath also provides the ability
to easily merge the data in multiple forms into one document. This is a
powerful ability and one that we expect customer's will really like.

However, there may be times that you don't need this rich functionality.
The data in an InfoPath form is saved in standard XML format, so you can
access the data with just Internet Explorer or Notepad. You can create an
XSLT transform that converts the XML data into standard HTML for viewing
(or use the View*.XSL transforms that InfoPath creates). See below for
more information.

Status: This behavior is By Design

How can a user that does not have InfoPath installed view a Form saved in a
SharePoint Team Services Form Library?
Resolution

All that is stored in an InfoPath file is the raw XML data for the form.
This is what you see when you open the file on a machine that doesn't have
InfoPath installed. Internet Explorer will apply a default view transform
to produce the treeview and display that. This is expected behavior, and
there aren't any plans currently to change it.

If you wish, you can make a few modifications that will allow IE to display
the XML file with the same transform that it uses to display in InfoPath,
or when you Export the Form to Web. You need to add a default stylesheet to
your XML files so IE knows to use your transform instead of the default
treeview transform. To do so, follow these steps (in Beta2):

1. Open your form template in design mode.
2. Select "Extract Form Files" from the "File" menu and save the files to a
folder.
3. In the files you extracted from the form template, open the
"Template.xml" file with Notepad or Wordpad.
4. Immediately under the <?xml> tag, add an <?xml-stylesheet> tag that
points to the view, like this:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl"
href="http://MySTSServer/MyFormLibrary/Forms/view1.xsl"?>
<?mso-infoPathSolution solutionVersion="1.0.0.12" href="manifest.xsf"
productVersion="11.0.4920" PIVersion="0.9.0.0" ?>

5. If you don't want the XML file to open in InfoPath (if it's installed),
remove the following line from the template.
<?mso-application progid="InfoPath.Document"?>
Note: You cannot remove the <?mso-infoPathSolution> PI from the template.
If InfoPath doesn't find this PI in the template file, it will not consider
it valid and you won't be able to create new forms based on it.
6. Save and close "Template.xml". Now any new forms you create from this
template will have the stylesheet specified.
7. In the files you extracted from the form template, open the
"Manifest.xsf" file in design mode.
8. Publish the form template to the SharePoint Form Library using "Publish"
from the "File" menu. These steps won't make any breaking changes to
existing forms, so you can choose to "Modify and Existing Form Library" if
you wish.
9. On your SharePoint Team Services site, navigate to the Forms Library and
switch to "Explorer View".
10. Open the "Forms" folder and copy the view1.xsl file into that folder.
(If you have a different view you would prefer to use, copy that instead.)
11. Perform steps 4 and 5 for any existing documents in your form library
so they will open the way you want.

NOTE: Users should be careful about saving forms that have this
modification to their local machines. The transform will still operate
from this location, but any script or HTML in the transformed file will
operate with Local Machine privileges. This means that arbitrary script in
the file could run without warning, potentially exposing the user to damage.
Last edited by Sudhakarj : Jan 26th, 2006 at 5:35 am. Reason: addind post icon :P
[HTML]<?xml version="1.0" encoding="UTF-8"?>
<profile>
<name> Sudhakar </name>
<location>India </location>
<website> http://sudhakarjha.com</website>
</profile>[/HTML]
Reply With Quote  
Join Date: Dec 2005
Posts: 6
Reputation: sastwhc is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
sastwhc sastwhc is offline Offline
Newbie Poster

Re: How can show/view Infopath dynamic files(xml) without infopath in a computer

  #3  
Jan 28th, 2006
Dear Sir
Really nice tips, i wished find out something like a plugin or a light and easy to use broser or viewer with RICH CONTROLS without using Infopath and MSOffice in client side to fill the inertactive Infopath Forms, but sounds there is no way to have controls and using usual browsers to fill out INFOPATH Forms, thnx for reply, if there is anyother solution let me know ,thnx again and nice time.
Best REGARDS
SASTWHC
Reply With Quote  
Join Date: Mar 2006
Posts: 1
Reputation: cdumonet is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
cdumonet cdumonet is offline Offline
Newbie Poster

Re: How can show/view Infopath dynamic files(xml) without infopath in a computer

  #4  
Mar 26th, 2006
Originally Posted by sastwhc
Dear Sir
Really nice tips, i wished find out something like a plugin or a light and easy to use broser or viewer with RICH CONTROLS without using Infopath and MSOffice in client side to fill the inertactive Infopath Forms, but sounds there is no way to have controls and using usual browsers to fill out INFOPATH Forms, thnx for reply, if there is anyother solution let me know ,thnx again and nice time.
Best REGARDS
SASTWHC

Have you tried Infoview - www.infoview.net?

Extract from the website:

InfoView is a tool to create web forms from Microsoft InfoPath forms.

With InfoView your organization can:
Publish InfoPath forms to the web - providing external users who do not have InfoPath on their desktops the same rich and dynamic user experience of InfoPath forms with web forms
Leverage XML standards to capture data via web forms and route data into back-end systems with no manual operation
Reply With Quote  
Join Date: Jun 2006
Posts: 1
Reputation: kaloydq is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
kaloydq kaloydq is offline Offline
Newbie Poster

Re: How can show/view Infopath dynamic files(xml) without infopath in a computer

  #5  
Jun 1st, 2006
hi,
i did exactly what u have posted there but still, my form that is on the sharepoint site still opens the infopath. can u help me further?? or do you have any other ideas on how to show infopath forms without opening infopath? Thank you very much. i really appreciate your reply.
Thanks:cheesy:


Originally Posted by Sudhakarj
hi friend,

Do all users need a copy of InfoPath on their workstations?
Resolution

Yes and no. In order to fill out forms created in InfoPath with all of the
rich-client functionality and data
validation available in that environment, users will need a copy of
InfoPath installed on their workstation. There won't be an free control or
Web Component for editing InfoPath forms.

InfoPath provides a rich user experience that goes beyond what you normally
get with a Web-based form. For example, InfoPath provides data validation
for the form as the user fills it out. Validation can detect errors at the
schema level, through logical constraints, and even through script. This
validation occurs immediately, so the user doesn't have to submit the
entire form before finding out there's an error.

InfoPath also provides conditional formatting, so your form can be more
responsive to user input. For example, you might have a field that changes
it's background color to red whenever an unusual (but not illegal) value is
entered. Again, this occurs as soon as the value is entered, so the user
has a chance to react appropriately.

InfoPath provides the ability to work on a form offline, or to interrupt
work on a form and come back to it at a later time, something web-based
forms simply can't offer. InfoPath can easily make use of SQL Server and
Access databases, and existing XML files, in addition to Web Services,
without having to write low-level code. InfoPath also provides the ability
to easily merge the data in multiple forms into one document. This is a
powerful ability and one that we expect customer's will really like.

However, there may be times that you don't need this rich functionality.
The data in an InfoPath form is saved in standard XML format, so you can
access the data with just Internet Explorer or Notepad. You can create an
XSLT transform that converts the XML data into standard HTML for viewing
(or use the View*.XSL transforms that InfoPath creates). See below for
more information.

Status: This behavior is By Design

How can a user that does not have InfoPath installed view a Form saved in a
SharePoint Team Services Form Library?
Resolution

All that is stored in an InfoPath file is the raw XML data for the form.
This is what you see when you open the file on a machine that doesn't have
InfoPath installed. Internet Explorer will apply a default view transform
to produce the treeview and display that. This is expected behavior, and
there aren't any plans currently to change it.

If you wish, you can make a few modifications that will allow IE to display
the XML file with the same transform that it uses to display in InfoPath,
or when you Export the Form to Web. You need to add a default stylesheet to
your XML files so IE knows to use your transform instead of the default
treeview transform. To do so, follow these steps (in Beta2):

1. Open your form template in design mode.
2. Select "Extract Form Files" from the "File" menu and save the files to a
folder.
3. In the files you extracted from the form template, open the
"Template.xml" file with Notepad or Wordpad.
4. Immediately under the <?xml> tag, add an <?xml-stylesheet> tag that
points to the view, like this:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl"
href="http://MySTSServer/MyFormLibrary/Forms/view1.xsl"?>
<?mso-infoPathSolution solutionVersion="1.0.0.12" href="manifest.xsf"
productVersion="11.0.4920" PIVersion="0.9.0.0" ?>

5. If you don't want the XML file to open in InfoPath (if it's installed),
remove the following line from the template.
<?mso-application progid="InfoPath.Document"?>
Note: You cannot remove the <?mso-infoPathSolution> PI from the template.
If InfoPath doesn't find this PI in the template file, it will not consider
it valid and you won't be able to create new forms based on it.
6. Save and close "Template.xml". Now any new forms you create from this
template will have the stylesheet specified.
7. In the files you extracted from the form template, open the
"Manifest.xsf" file in design mode.
8. Publish the form template to the SharePoint Form Library using "Publish"
from the "File" menu. These steps won't make any breaking changes to
existing forms, so you can choose to "Modify and Existing Form Library" if
you wish.
9. On your SharePoint Team Services site, navigate to the Forms Library and
switch to "Explorer View".
10. Open the "Forms" folder and copy the view1.xsl file into that folder.
(If you have a different view you would prefer to use, copy that instead.)
11. Perform steps 4 and 5 for any existing documents in your form library
so they will open the way you want.

NOTE: Users should be careful about saving forms that have this
modification to their local machines. The transform will still operate
from this location, but any script or HTML in the transformed file will
operate with Local Machine privileges. This means that arbitrary script in
the file could run without warning, potentially exposing the user to damage.
Reply With Quote  
Join Date: Aug 2006
Posts: 1
Reputation: c_m77 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
c_m77 c_m77 is offline Offline
Newbie Poster

Re: How can show/view Infopath dynamic files(xml) without infopath in a computer

  #6  
Aug 13th, 2006
Hello,

We have developed a product called SharePoint Forms (www.sharepointforms.com) that uses InfoView technology and does exactly what you are asking for in allowing users to open, edit and submit forms in a SharePoint 2003 forms libraries without InfoPath on their desktop.

Regards,
c_m77
Last edited by c_m77 : Aug 13th, 2006 at 9:37 pm.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb XML, XSLT and XPATH Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the XML, XSLT and XPATH Forum

All times are GMT -4. The time now is 7:36 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC