< Back

Document Subject: How do I add Meta value to an Xpage
Hint Short Cut: Add this to your code & documentation to help you find this page.
http://#xpage-meta or http://A555F9/nn.nsf/ByAlias/xpage-meta

How do I add Meta value to an Xpage.




 

In the bottom left outline area, click on XPage or Custom Control.

In the properties click on Resources.

Click "Add" Metadata, then click wahtever you want.

Add property name eg "viewport"

then

Content

"width=350; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"

 

then save and then view the xpage in the browser an the xpage source will say:

 

<meta name="viewport" content="width=350; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" http-equiv="viewport">