I want to create a reporting facility for my Web-based users to do the following:
- Users will select the date range and press the query button.
- The data will be selected from different views of the DB.
- After completion of the necessary calculation, it will launch MS Excel and update the data in a pre-defined Excel file.
For the Web, I can get the results I want, but the only thing I cannot do is launch MS Excel and update the data.
Could you help me? Is there any template like that? Is there any guide? Is there any site where I can get more info? Thanks in advance.
It's a bit unclear to me what is happening at step 3. Are you using LotusScript? I think so, but how are you transporting the data to the Excel file?
The simple model would be to install MS Excel on the server. Use LotusScript to write the data to a copy of the Excel file located on the server, and then print the URL that leads to the file to the Web user.
In a LotusScript Web agent, a line like this will redirect the Web user to the URL specified:
Print "[http://server/path]"Put the Excel file in the dataDominoHTML directory -- or somewhere in a subdirectory.
Here is an example database containing examples of writing to Excel. Look at the first agent of that database, especially the library that the agent uses.
Dig Deeper on Web Development for Lotus Notes Domino
Related Q&A from Jens Bruntt
Web Development expert Jens Bruntt offers suggestions on how to programmatically copy and hide attachments in Lotus Notes rich-text fields. Continue Reading
Learn about an add-on Domino developers can use to programmatically edit rich-text field tables from within the Lotus Notes client. Continue Reading
Web Development expert Jens Bruntt outlines three potential issues to consider when troubleshooting Lotus Notes Domino tabbed table problems. Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.