<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Added Background Image in table and Published in sharepoint server but not viewed the Image</title><link>https://www.infopathdev.com:443/forums/thread/104874.aspx</link><pubDate>Wed, 09 Dec 2015 09:21:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104874</guid><dc:creator>prabhakaran</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104874.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=104874</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi All,&lt;/p&gt;&lt;p&gt;I added the background image in table (view.xsl file) and Right Click the manifest.xsf file , design i can view the Image.&lt;/p&gt;&lt;p&gt;But when I publish the Info path file,I couldn&amp;#39;t View the Image.... &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Please help me on this situation &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Process as follows&amp;nbsp; :&lt;/p&gt;&lt;p&gt;&lt;span style="FONT-FAMILY:Comic Sans MS;"&gt;&lt;strong&gt;Unpacking: &lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN-LEFT:36pt;"&gt;&lt;span style="FONT-FAMILY:Comic Sans MS;"&gt;As we said before an XSN is nothing but a bunch of xml documents zipped in a cabinet… &lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN-LEFT:36pt;"&gt;&lt;span style="FONT-FAMILY:Comic Sans MS;"&gt;So unpacking it is fairly simple,, you just need to: &lt;/span&gt;&lt;/p&gt;
&lt;ol style="MARGIN-LEFT:90pt;"&gt;&lt;li&gt;&lt;span style="FONT-FAMILY:Comic Sans MS;"&gt;Rename your XSN file to .Cab &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="FONT-FAMILY:Comic Sans MS;"&gt;Click on the cab file &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="FONT-FAMILY:Comic Sans MS;"&gt;Select all files and right click on the selection… &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="FONT-FAMILY:Comic Sans MS;"&gt;Select &amp;quot;Extract Files&amp;quot;. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="FONT-FAMILY:Comic Sans MS;"&gt;Then choose a suitable place to extract the files in it,,, &lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:Comic Sans MS;"&gt;&lt;strong&gt;Modifying: &lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN-LEFT:36pt;"&gt;&lt;span style="FONT-FAMILY:Comic Sans MS;"&gt;Now
 what you need to do is to go the extracted folder and choose whatever 
file you want to modify in the XSN. Usually its notepad that you will 
use to modify these files.. &lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN-LEFT:36pt;"&gt;&lt;span style="FONT-FAMILY:Comic Sans MS;"&gt;After you finish save your work and close all editing applications. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:Comic Sans MS;"&gt;&lt;strong&gt;Repacking: &lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:Comic Sans MS;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;We need to zip al these extracted files into a cab or xsn file again so we can open our InfoPath file again,,, &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:Comic Sans MS;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Now this is where you need to use a tool called Make-Cab which can be found in C:\Windows\System32\makecab.exe… &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:Comic Sans MS;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:Comic Sans MS;"&gt;Note: &lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN-LEFT:36pt;"&gt;&lt;span style="FONT-FAMILY:Comic Sans MS;"&gt;Using
 this tool is something I am to going to visit here in this article; I 
will just explain the part where repacking the files to XSN again,,, &lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN-LEFT:36pt;"&gt;&lt;span style="FONT-FAMILY:Comic Sans MS;"&gt;But for more information in details on MakeCab.exe visit this link: &lt;a href="http://support.microsoft.com/kb/310618/"&gt;http://support.microsoft.com/kb/310618/&lt;/a&gt; where you can fid the SDK and download it,,,, &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:Comic Sans MS;"&gt;&lt;strong&gt;Let&amp;#39;s get back to business.&lt;/strong&gt; Till now you have all the extracted files in a folder, to create your XSN now follow the instructions: &lt;/span&gt;&lt;/p&gt;
&lt;ol style="MARGIN-LEFT:54pt;"&gt;&lt;li&gt;&lt;span style="FONT-FAMILY:Comic Sans MS;"&gt;Create a txt file called directives.txt (or any suitable you like). &lt;/span&gt;&lt;/li&gt;&lt;li&gt;
&lt;div&gt;&lt;span style="FONT-FAMILY:Comic Sans MS;"&gt;Copy this code in the file: &lt;/span&gt;&lt;/div&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:Courier;"&gt;;************************************************************ &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="COLOR:red;FONT-FAMILY:Courier;"&gt;; MSDN Sample Source Code MakeCAB Directive file example &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:Courier;"&gt;;************************************************************ &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:Courier;"&gt;.OPTION EXPLICIT &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:Courier;"&gt;;***************************************************************** &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="COLOR:red;FONT-FAMILY:Courier;"&gt;; change the value of the caninet name for example myInfoPath.xsn &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:Courier;"&gt;;****************************************************************** &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:Courier;"&gt;.Set CabinetNameTemplate=&lt;span style="COLOR:black;BACKGROUND-COLOR:aqua;"&gt;AfterRePackaging.XSN&lt;/span&gt;&lt;span style="COLOR:white;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:Courier;"&gt;;************************************************************************************************************* &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="COLOR:red;FONT-FAMILY:Courier;"&gt;; change the value of the Disk Directory Template value to the directory you want to store the xsn file into,, &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:Courier;"&gt;;************************************************************************************************************* &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:Courier;"&gt;.set DiskDirectoryTemplate=&lt;span style="COLOR:black;BACKGROUND-COLOR:yellow;"&gt;&amp;quot;D:\Workarea\InfoPath Work&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:Courier;"&gt;.Set Cabinet=on &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:Courier;"&gt;.Set Compress=on &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:Courier;"&gt;;******************************************************* &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="COLOR:red;FONT-FAMILY:Courier;"&gt;; Just List All the files to be added in the xsn file &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:Courier;"&gt;;******************************************************* &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="COLOR:black;FONT-FAMILY:Courier;BACKGROUND-COLOR:yellow;"&gt;&amp;quot;D:\Workarea\InfoPath Work\Extracted Files\manifest.xsf&amp;quot; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="COLOR:black;FONT-FAMILY:Courier;BACKGROUND-COLOR:yellow;"&gt;&amp;quot;D:\Workarea\InfoPath Work\Extracted Files\myschema.xsd&amp;quot; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="COLOR:black;FONT-FAMILY:Courier;BACKGROUND-COLOR:yellow;"&gt;&amp;quot;D:\Workarea\InfoPath Work\Extracted Files\sampledata.xml&amp;quot; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="COLOR:black;FONT-FAMILY:Courier;BACKGROUND-COLOR:yellow;"&gt;&amp;quot;D:\Workarea\InfoPath Work\Extracted Files\template.xml&amp;quot; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="COLOR:black;FONT-FAMILY:Courier;BACKGROUND-COLOR:yellow;"&gt;&amp;quot;D:\Workarea\InfoPath Work\Extracted Files\upgrade.xsl&amp;quot; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="COLOR:black;FONT-FAMILY:Courier;"&gt;&lt;span style="BACKGROUND-COLOR:yellow;"&gt;&amp;quot;D:\Workarea\InfoPath Work\Extracted Files\view1.xsl&amp;quot;&lt;/span&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:Courier;"&gt;;********************* &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:Courier;"&gt;; End of the File &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:Courier;"&gt;;********************* &lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="FONT-FAMILY:Comic Sans MS;"&gt;Save your file. And open the command prompt (CMD). &lt;/span&gt;&lt;/li&gt;&lt;li&gt;
&lt;div&gt;&lt;span style="FONT-FAMILY:Comic Sans MS;"&gt;Now, you need to type the following command: &lt;/span&gt;&lt;/div&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:Comic Sans MS;"&gt;MakeCab /f directives.txt&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style="FONT-FAMILY:Comic Sans MS;"&gt;Congratulations now you have your XSN file go ahead and test it,,, &lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&amp;nbsp;Got the XSN File and Published the File into the SharePoint Server ,but I couldn&amp;#39;t view the Image....&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>