How to check if a document has been deployed
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2009 07:13 AM
Hi.
I've got a Web Project that I deploy using a FSR. The deployed website is served with Apache Httpd. The content of the web site is mainly static HTML files, but I've got a couple of dynamic pages that use Web Scripts show paginated views.
The problem is that the dynamic Web Scripts also contain documents (e.g. XML- and HTML-elements created by a Web Form) that have not yet been deployed with FSR. Thus it displays links to elements that do not exist in the "online-project" that is served with Apache Httpd.
How do I solve this issue? Is there a mechanism in Web Scripts, so that I could check if the document has been deployed with FSR?
Thanks, Pyppe
I've got a Web Project that I deploy using a FSR. The deployed website is served with Apache Httpd. The content of the web site is mainly static HTML files, but I've got a couple of dynamic pages that use Web Scripts show paginated views.
The problem is that the dynamic Web Scripts also contain documents (e.g. XML- and HTML-elements created by a Web Form) that have not yet been deployed with FSR. Thus it displays links to elements that do not exist in the "online-project" that is served with Apache Httpd.
How do I solve this issue? Is there a mechanism in Web Scripts, so that I could check if the document has been deployed with FSR?
Thanks, Pyppe
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2009 08:31 AM
Where are your web scripts expecting to get their data? The solution to your problem is to probably to deploy your missing content rather than trying to second guess what has been deployed.
But if you really do need to work out what has been deployed you can.
On the authoring server you can either look at the "deployment report" or inject your own code to monitor deployment.
On the FSR side you could have a post deployment callback that saves the details in a format of your choosing.
But if you really do need to work out what has been deployed you can.
On the authoring server you can either look at the "deployment report" or inject your own code to monitor deployment.
On the FSR side you could have a post deployment callback that saves the details in a format of your choosing.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2009 03:52 AM
The missing content will be deployed – eventually. The problem is, that there is a certain period of time, when the content has been submitted to the Staging Sandbox – and thus is visible through Web Scripts – but has not been deployed to the production server (i.e., the Apache Httpd). And this presents the problem of a dynamic pages (using Web Scripts) showing links to content that does not yet exist on the production server.
For this reason, I'd need some mechanism to determine in my Web Scripts whether an element has been deployed or not.
For this reason, I'd need some mechanism to determine in my Web Scripts whether an element has been deployed or not.
