External Editing of File Resources

Does anyone know if there is a programatic way to address (edit, delete, replace) a file resource? I am storing some HTML as a file resource in my database that controls a “scroller” on one of my forms. Periodically I need to update the content of the scroller and I would like to have the business unit control that content.

Some background. I found some javascript scroller code. The “action” javascript is stored in the passthru HTML on the form. The content of the scroller is contained in a separate file. I created an interface in Notes where the user can fill in a couple of fields, and optionally a URL. They update the form, click a button and an agent creates the file in the lotus\domino\data\domino\html subdirectory on the server. This works great. They get to decide what is displayed by the scroller.

The problem is the user must have a file mapping to the subdirectory on the server which, I know you will all agree, is not a good thing.

So, as an alternative I’m storing the scroller control HTML as a file resource and it would be great if I could figure out how to alter or simply replace it when the user updated the Notes form in the database. Right now, I have to make the changes for them.

Anyone have any ideas?

Subject: External Editing of File Resources

We have similar things on sites displayed for customers, and they need to change to content regularly. To achive this we have a form with the content of the scroller or marquee, and an expiry date. These are displayed in a view, and using either a DBColumn or DBLookup, we recover the content from the documents and display it in a are in the scroller or marquee

eg

HTH

Subject: RE: External Editing of File Resources

Great Idea! I’ll give it a try!

Thanks!