cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

add (index or object page) to website

ki6i
Trusted Contributor

Is there some way to add descriptor to a website thru VB script?

 

 I managed to find that:

 

Set oWebSiteDescription = TargetWebSite.WebSiteDescription
oWebSiteDescription.IndexPages

 

But the oWebSiteDescription.IndexPages method acording to the documentation doesn't support 'add' method.

 

 

 

 

1 Reply

jhorber
MEGA
MEGA

Hello

 

The pages of a web site cannot be managed (add, update, remove) using API functions

All you can do with API is to

  • Trigger web site generation once it is configured
  • Get web site configuration (ex: root objects)
  • Set certain properties (ex: comment, generation folder...).  
Jerome