Skip to content
November 13, 2009 / red1s

HOW TO: Add a background image to an InfoPath Form


How To: Add a Background Image to an InfoPath Form

In InfoPath solution is really just a set of XML files that are compressed into a single CAB file with an XSN extension. Stored in the CAB file and the center of the InfoPath solution file is an XML manifest named Manifest.xsf. This file is an XML file that contains references and points of entry for the rest of the solution. The files within InfoPath can actually be extracted and have additional XML based attributes applied to them. In this example, I will show how you can add a background image to an InfoPath solution.

Let�s assume that we are starting with a blank InfoPath solution. Follow the following steps to add the background image.

1. Start by adding the background image to the Resource Manager within InfoPath.

2. Extract the InfoPath CAB file into a directory using the File � Extract Form Files function.

3. Once the files are extracted into a directory they will contain the following files. Notice the Manifest.xsf file.

4. Using Notepad (or another text editor) hand edit the view1.xsl to place the image within the InfoPath solution. Add the following line to the <body> element.

style=”background-image:url(‘image001.jpg’)”

5. Once this is done you can right click and select �Design� on the Manifest.xsf form. This open the InfoPath form in design mode and the background image is visible.

It is important to remember that you will need to repackage the InfoPath solution before you distribute it.

Digg This
Digg This
Advertisements

12 Comments

Leave a Comment
  1. Unknown / Apr 13 2010 11:45 am

    There are cheap shoes to choosehttp://www.nike-airjordanshoes.com/jordan-6-c-53.html jordan 6http://www.nike-airjordanshoes.com/jordan-7-c-55.html jordan 7Good quality with low price.http://www.nike-airjordanshoes.com/air-jordan-other-shoes-air-jordan-2010-c-126_131.html air jordan 2010http://www.nike-airjordanshoes.com/air-jordan-2009-c-146.html Air Jordan 2009You can have a look at it.http://www.nike-airjordanshoes.com/ jordan shoeshttp://www.nike-airjordanshoes.com/jordan-ajf-shoes-c-134.html jordan ajf shoesWe offer different styles.http://www.nike-airjordanshoes.com/jordan-1-c-48.html jordan 1http://www.nike-airjordanshoes.com/jordan-2-c-49.html jordan 2If you like,you can contact us.http://www.nike-airjordanshoes.com/jordan-3-c-50.html jordan 3http://www.nike-airjordanshoes.com/jordan-4-c-51.html jordan 4Thanks.http://www.nike-airjordanshoes.com/jordan-5-c-52.html jordan 5http://www.nike-airjordanshoes.com/jumpman23-c-144.html jumpman23

  2. wo / Apr 15 2010 9:10 am

    There are cheap jordan shoes to choose<b><a href="http://www.nike-airjordanshoes.com/jordan-8-c-56.html">jordan 8</a></b>i can\’t nelieve it.<b><a href="http://www.nike-airjordanshoes.com/jordan-9-c-57.html">jordan 9</a></b>You can have a look at it.<b><a href="http://www.nike-airjordanshoes.com/jordan-10-c-58.html">jordan 10</a></b>big surprise,<b><a href="http://www.nike-airjordanshoes.com/jordan-11-c-60.html">jordan 11</a></b>it is wonderful<b><a href="http://www.nike-airjordanshoes.com/jordan-12-c-61.html">jordan 12</a></b>hurry up!<b><a href="http://www.nike-airjordanshoes.com/jordan-13-c-62.html">jordan 13</a></b>

  3. Unknown / May 13 2010 2:11 am

    http://www.goodlaptopbattery.com.au/toshiba/pa3285u-3bas.htm Toshiba pa3285u-3bas Battery http://www.goodlaptopbattery.com.au/laptop-ac-adapter/liteon/1500.htm Liteon 1500 Adapter http://www.goodlaptopbattery.com.au/laptop-ac-adapter/liteon/1520.htm Liteon 1520 Adapter http://www.goodlaptopbattery.com.au/hp/pavilion-dv9000.htm HP pavilion dv9000 Battery http://www.goodlaptopbattery.com.au/hp/pavilion-dv9600.htm HP pavilion dv9600 Battery http://www.goodlaptopbattery.com.au/hp/pavilion-dv2000.htm HP pavilion dv2000 Battery http://www.goodlaptopbattery.com.au/hp/pavilion-dv6000.htm HP pavilion dv6000 Battery http://www.goodlaptopbattery.com.au laptop battery http://www.goodlaptopbattery.com.au laptop batteries http://www.goodlaptopbattery.com.au/dell/ dell laptop battery http://www.goodlaptopbattery.com.au/dell/ dell laptop batteries http://www.goodlaptopbattery.com.au/dell/latitude-d620.htm Dell latitude d620 Battery http://www.goodlaptopbattery.com.au/dell/latitude-d630.htm Dell latitude d630 Battery http://www.goodlaptopbattery.com.au/hp/ hp laptop battery http://www.goodlaptopbattery.com.au/hp/ hp laptop batteries http://www.goodlaptopbattery.com.au/dell/ dell laptop battery http://www.goodlaptopbattery.com.au/dell/ dell laptop batteries http://www.goodlaptopbattery.com.au/laptop-ac-adapter/dell/ dell laptop ac adapter http://www.goodlaptopbattery.com.au/laptop-ac-adapter/ dell laptop ac adapters http://www.goodlaptopbattery.com.au/laptop-ac-adapter/dell/ dell laptop ac adapter http://www.goodlaptopbattery.com.au/dell/inspiron-1520.htm Dell inspiron 1520 Battery http://www.goodlaptopbattery.com.au/dell/inspiron-6400.htm Dell inspiron 6400 Battery http://www.goodlaptopbattery.com.au/dell/inspiron-1720.htm Dell inspiron 1720 Battery http://www.goodlaptopbattery.com.au/dell/inspiron-6400.htm Dell inspiron 6400 Battery http://www.goodlaptopbattery.com.au/laptop-ac-adapter/dell/ dell laptop ac adapters http://www.goodlaptopbattery.com.au/laptop-ac-adapter/dell/ dell laptop ac adapter http://www.goodlaptopbattery.com.au/laptop-ac-adapter/dell/ dell laptop ac adapters http://www.goodlaptopbattery.com.au/laptop-ac-adapter/ laptop ac adapter http://www.goodlaptopbattery.com.au/laptop-ac-adapter/ laptop ac adapters http://www.goodlaptopbattery.com.au/laptop-ac-adapter/liteon/nx9500.htm Liteon nx9500 Adapter http://www.goodlaptopbattery.com.au/compaq/presario-v4000.htm Compaq presario v4000 Battery http://www.goodlaptopbattery.com.au/toshiba/pa3356u-3bas.htm Toshiba pa3356u-3bas Battery http://www.goodlaptopbattery.com.au/toshiba/pa3400u-1brs.htm Toshiba pa3400u-1brs Battery http://www.goodlaptopbattery.com.au/toshiba/pa3400u-1bas.htm Toshiba pa3400u-1bas Battery http://www.goodlaptopbattery.com.au/dell/pc764.htm Dell pc764 Battery http://www.goodlaptopbattery.com.au/hp/2133.htm Hp 2133 Battery http://www.goodlaptopbattery.com.au/hp/2230.htm Hp 2230 Battery http://www.goodlaptopbattery.com.au/hp/2230s.htm Hp 2230s Battery http://www.goodlaptopbattery.com.au/toshiba/pa3534u-1brs.htm Toshiba pa3534u-1brs Battery http://www.goodlaptopbattery.com.au/toshiba/pa3535u-1bas.htm Toshiba pa3535u-1bas Battery http://www.goodlaptopbattery.com.au/toshiba/pa3535u-1brs.htm Toshiba pa3535u-1brs Battery http://www.goodlaptopbattery.com.au/toshiba/pa3536u.htm Toshiba pa3536u Battery http://www.goodlaptopbattery.com.au/toshiba/pa3536u-1brs.htm Toshiba pa3536u-1brs Battery http://www.goodlaptopbattery.com.au/toshiba/pa3537u-1bas.htm Toshiba pa3537u-1bas Battery http://www.goodlaptopbattery.com.au/toshiba/satellite-a100.htm Toshiba satellite a100 Battery http://www.goodlaptopbattery.com.au/toshiba/satellite-m40.htm Toshiba satellite m40 Battery

  4. Unknown / May 13 2010 2:12 am

    http://www.goodlaptopbattery.com.au/hp/nc6000.htm Hp nc6000 Battery http://www.goodlaptopbattery.com.au/laptop-ac-adapter/acer/acer-19V-7.1A-135w-5.5mm-2.5mm.php Acer Aspire 1520 1620 19V 7.1A 135W 5.5MM*2.5MM Adapter http://www.goodlaptopbattery.com.au/laptop-ac-adapter/compaq/compaq-19V-4.74A-90w-5.5mm-2.5mm.php Compaq NX9000 DV9000 19V 4.74A 90W 5.5MM*2.5MM Adapter http://www.goodlaptopbattery.com.au/laptop-ac-adapter/hp/hp-19V-4.74A-90w-4.8mm-1.7mm.php Hp NC6000 NC8230 19V 4.74A 90W 4.8MM*1.7MM Adapter http://www.goodlaptopbattery.com.au/laptop-ac-adapter/hp/hp-19V-4.74A-90w-5.5mm-2.5mm.php Hp DV9000 19V 4.74A 90W 5.5MM*2.5MM Adapter http://www.goodlaptopbattery.com.au/laptop-ac-adapter/ibm/ibm-16V-4.5A-60w-5.5mm-2.5mm.php Ibm T40 X30 R30 16V 3.5A 56W 5.5MM*2.5MM Adapter http://www.goodlaptopbattery.com.au/laptop-ac-adapter/dell/dell-19.5V-3.34A-65w-7.4mm-5.0mm-with-pin-pa-12.php Dell 6400 D620 19.5V 3.34A 65W 7.4MM*5.0MM Adapter http://www.goodlaptopbattery.com.au/laptop-ac-adapter/dell/dell-19.5V-6.7A-130w-7.4mm-5.0mm-with-pin-pa-13.php Dell 19.5V 6.7A 130W 7.4MM*5.0MM Adapter http://www.goodlaptopbattery.com.au/laptop-ac-adapter/dell/dell-19.5V-7.7A-150w-7.4mm-5.0mm-with-pin-pa-15.php Dell 9100 9200 19.5V 7.7A 150W 7.4MM*5.0MM Adapter http://www.goodlaptopbattery.com.au/laptop-ac-adapter/dell/dell-19V-3.16A-60w-5.5mm-2.5mm.php Dell B130 1300 19V 3.16A 60W 5.5MM*2.5MM Adapter http://www.goodlaptopbattery.com.au/laptop-ac-adapter/dell/dell-20V-3.5A-70w-horseshoe-style-special-for-dell-pa-6.php Dell 20V 3.5A 70W HORSE SHOE Adapter http://www.goodlaptopbattery.com.au/laptop-ac-adapter/liteon/liteon-19V-3.42A-65w-5.5mm-2.5mm-white.php Liteon M320 M680 19V 3.42A 65W 5.5MM*2.5MM Adapter http://www.goodlaptopbattery.com.au/laptop-ac-adapter/liteon/liteon-19V-3.95A-75w-5.5mm-2.5mm.php Liteon 1200 1800 19V 3.95A 75W 5.5MM*2.5MM Adapter http://www.goodlaptopbattery.com.au/laptop-ac-adapter/liteon/liteon-19V-4.74A-90w-5.5mm-1.7mm.php Liteon TravelMate 4200 19V 4.74A 90W 5.5MM*1.7MM Adapter http://www.goodlaptopbattery.com.au/laptop-ac-adapter/liteon/liteon-19V-4.74A-90w-5.5mm-2.5mm.php Liteon Satellite 1100 19V 4.74A 90W 5.5MM*2.5MM Adapter http://www.goodlaptopbattery.com.au/laptop-ac-adapter/liteon/liteon-19V-6.3A-120w-4pin-round.php Liteon M3 M5244 19V 6.3A 120W 4 PIN ROUND Adapter http://www.goodlaptopbattery.com.au/laptop-ac-adapter/liteon/liteon-19V-6.3A-120w-5.5mm-2.5mm.php Liteon 2200 R3000 19V 6.3A 120W 5.5MM*2.5MM Adapter http://www.goodlaptopbattery.com.au/laptop-ac-adapter/liteon/liteon-20V-6A-120w-4-pin.php Liteon 5600P 5620 20V 6A 120W 4 PIN Adapter http://www.goodlaptopbattery.com.au/laptop-ac-adapter/liteon/liteon-20V-6A-120w-5.5mm-2.5mm.php Liteon 1520 1500 NX9100 20V 6A 120W 5.5MM*2.5MM Adapter http://www.goodlaptopbattery.com.au/laptop-ac-adapter/samsung/samsung-19V-3.16A-60w-5.5mm-3.4mm-pin-inside.php Samsung GT8000 GT8600 19V 3.16A 60W 5.5MM*3.4MM Adapter http://www.goodlaptopbattery.com.au/laptop-ac-adapter/samsung/samsung-19V-4.74A-90w-5.5mm-3.0mm.php Samsung M50 X60 19V 4.74A 90W 5.5MM*3.0MM Adapter http://www.goodlaptopbattery.com.au/laptop-ac-adapter/toshiba/toshiba-15V-5A-75w-6.3mm-3.0mm.php Toshiba PA3283U-1ACA 15V 5A 75W 6.3MM*3.0MM Adapter http://www.goodlaptopbattery.com.au/laptop-ac-adapter/toshiba/toshiba-15V-6A-90w-6.3mm-3.0mm.php Toshiba PA2521U PA3201U-1ACA 15V 6A 90W 6.3MM*3.0MM Adapter http://www.goodlaptopbattery.com.au/laptop-ac-adapter/toshiba/toshiba-15V-8A-120w-special-4-hole.php Toshiba PA3237U 15V 8A 120W SPECIAl 4 HOlE Adapter http://www.goodlaptopbattery.com.au/laptop-ac-adapter/toshiba/toshiba-19V-3.42A-65w-5.5mm-2.5mm.php Toshiba PA3467U PA3396U 19V 3.42A 65W 5.5MM*2.5MM Adapter http://www.goodlaptopbattery.com.au/laptop-ac-adapter/toshiba/toshiba-19V-4.74A-90w-5.5mm-2.5mm.php Toshiba PA3589U 19V 4.74A 90W 5.5MM*2.5MM Adapter http://www.goodlaptopbattery.com.au/acer/extensa-5210.htm Acer extensa 5210 battery  http://www.goodlaptopbattery.com.au/acer/extensa-5220.htm Acer extensa 5220 battery  http://www.goodlaptopbattery.com.au/acer/extensa-5620g.htm Acer extensa 5620g battery  http://www.goodlaptopbattery.com.au/acer/tm00741.htm Acer tm00741 battery  http://www.goodlaptopbattery.com.au/acer/tm00751.htm Acer tm00751 battery  http://www.goodlaptopbattery.com.au/acer/travelmate-5710.htm Acer travelmate 5710 battery  http://www.goodlaptopbattery.com.au/acer/travelmate-5720g.htm Acer travelmate 5720g battery  http://www.goodlaptopbattery.com.au/acer/travelmate-7520g.htm Acer travelmate 7520g battery 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: