Added Background Image in table and Published in sharepoint server but not viewed the Image - InfoPath Dev
in

InfoPath Dev

Added Background Image in table and Published in sharepoint server but not viewed the Image

Last post 12-09-2015 01:21 AM by prabhakaran. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 12-09-2015 01:21 AM

    Added Background Image in table and Published in sharepoint server but not viewed the Image

    Locked Reply Contact

     Hi All,

    I added the background image in table (view.xsl file) and Right Click the manifest.xsf file , design i can view the Image.

    But when I publish the Info path file,I couldn't View the Image....

    Please help me on this situation

     

    Process as follows  :

    Unpacking:

    As we said before an XSN is nothing but a bunch of xml documents zipped in a cabinet…

    So unpacking it is fairly simple,, you just need to:

    1. Rename your XSN file to .Cab
    2. Click on the cab file
    3. Select all files and right click on the selection…
    4. Select "Extract Files".
    5. Then choose a suitable place to extract the files in it,,,

    Modifying:

    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..

    After you finish save your work and close all editing applications.

    Repacking:

        We need to zip al these extracted files into a cab or xsn file again so we can open our InfoPath file again,,,

        Now this is where you need to use a tool called Make-Cab which can be found in C:\Windows\System32\makecab.exe…

        

    Note:

    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,,,

    But for more information in details on MakeCab.exe visit this link: http://support.microsoft.com/kb/310618/ where you can fid the SDK and download it,,,,

    Let's get back to business. Till now you have all the extracted files in a folder, to create your XSN now follow the instructions:

    1. Create a txt file called directives.txt (or any suitable you like).
    2. Copy this code in the file:

      ;************************************************************

      ; MSDN Sample Source Code MakeCAB Directive file example

      ;************************************************************

      .OPTION EXPLICIT

      ;*****************************************************************

      ; change the value of the caninet name for example myInfoPath.xsn

      ;******************************************************************

      .Set CabinetNameTemplate=AfterRePackaging.XSN

      ;*************************************************************************************************************

      ; change the value of the Disk Directory Template value to the directory you want to store the xsn file into,,

      ;*************************************************************************************************************

      .set DiskDirectoryTemplate="D:\Workarea\InfoPath Work"

      .Set Cabinet=on

      .Set Compress=on

      ;*******************************************************

      ; Just List All the files to be added in the xsn file

      ;*******************************************************

      "D:\Workarea\InfoPath Work\Extracted Files\manifest.xsf"

      "D:\Workarea\InfoPath Work\Extracted Files\myschema.xsd"

      "D:\Workarea\InfoPath Work\Extracted Files\sampledata.xml"

      "D:\Workarea\InfoPath Work\Extracted Files\template.xml"

      "D:\Workarea\InfoPath Work\Extracted Files\upgrade.xsl"

      "D:\Workarea\InfoPath Work\Extracted Files\view1.xsl"

      ;*********************

      ; End of the File

      ;*********************

    3. Save your file. And open the command prompt (CMD).
    4. Now, you need to type the following command:

      MakeCab /f directives.txt

    5. Congratulations now you have your XSN file go ahead and test it,,,

     Got the XSN File and Published the File into the SharePoint Server ,but I couldn't view the Image....

     

Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.