[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1107
  • Last Modified:

customize resource.ntf lotus notes

I need to customize the resource.ntf to add addition work flow  provide with domino. Any good documentation for the same.
0
jobby1
Asked:
jobby1
  • 6
  • 6
1 Solution
 
ironcladsCommented:
Here's some things to look at:

http://www-10.lotus.com/ldd/nd8forum.nsf/GeneralCategory/eef08aed169a315f852572fa007023da?OpenDocument
http://www.members.nae.edu/help/help65_admin.nsf/f4b82fbb75e942a6852566ac0037f284/8992c80796f7ed4985256dff004b093b?OpenDocument

Your post was rather vague.  If you are looking at changing/enhancing existing workflow from a template db provided by IBM, I've done that many times before.  Typically I break the .ntf inheritance so I don't get the updated source any more.  From there, I modify forms/views/pages as needed.  Also, and in my opinion, a workflow preferences document is critical to making customizations a success and easily changed in the future.

Keep thes things in mind:
1. When a form loads, all fields inherit formula and code from themselves, so a field doing a formula will be run.  A field inheriting from another field must be above that field or it won't get the value.  Subforms can run formula at this time.
2. I prefer to have the WebQueryOpen on a form run an agent if there are lots of lookups to be made. Then you can set those fields using LotusScript before the document even opens.  Another, and easier way around this is on your workflow preferences, every time it is save, have a "lookupKeys" field be populated with values.  Then when you open your document have another field lookup just the "lookupKeys" field on the workflow, then parse the values out from there.  That way there is one lookup instead of many.

If you can be more specific on what you'd like to do, please let me know.

Good Luck.
0
 
jobby1Author Commented:
Basically I need to add the approve and deny button in the web browser for the resource database. Any sample code is available for this.
0
 
jjphardyCommented:
The Accept and Decline buttons are both written in LotusScript. It can not run from a web page so it would need to be rewritten. I would bet there is a reason Lotus has not upgraded this. You should consider pushing back on this. Tell the requester, it is a lot of work.
You could put some of it in an agent but the code would need to be split. The current actions work on the UI. Prompting and such would need to be written in a web capable language. (Formula, Java or Javascript.) The rest of the LotusScript would still need to be converted to work on the Notesdocument and not the UI.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
ironcladsCommented:
Ok, no problem.  I'm not sure if you are currently using a db that references the Reservation db for Notes 8 (resrc8.ntf).  That already has web and notes buttons for "Accept" and "Decline".  Perhaps just upgrading to that version would do the trick.  If not, the thing to keep in mind is figuring out what is being done by the action now.  I'm guessing you can read Lotusscript (VB)?  You can use formula to do almost the same thing over the web, and/or you can use a "WebQuerySave" agent to run lotusscript stuff at save time.

IF you need more help than this, please provide the code you're looking at tranlating to a web action.
0
 
jobby1Author Commented:
I am using lotus 8.0.1 but I could not find the btton for web. So the button is hdden in web. Is it for 8.5? Or which form it is available in 8.0.1
0
 
ironcladsCommented:
Here's the resrc8.ntf db I have.
0
 
ironcladsCommented:
Here's the resrc8.ntf db I have.  I changed the type to txt, so you'll need to change it back to .ntf.
Resrc8.zip
0
 
jobby1Author Commented:
ironclads.. Thank you for your file. I saw the button in  web browser. But when I tried to book a resource with owner option to another user system is not showing the same resource in when I do a search. But if  I select  option from the find time for a specific room it is showing the resource but getting message "No resource/room found for specified requirements. Modify the requirements and  find available resource before saving reservation" while saving. How to fix this problem.
0
 
jobby1Author Commented:
That error which i mentioned before disappeared. But it is giving another error. "Owner restriction exist for this resource. Your resource Reservation Request for xxxx could not be processed because you do not have sufficient access. I gave even manager role as default and enabled both the role "admin delete and create resource but still this error pops up.
0
 
ironcladsCommented:
Make sure the signer of the elements in the db are an admin id.  I'd just recommend you "sign" the db with an admin id from the Notes Admin client.  Also, make sure that admin id name is explicitly in the Access Control List (ACL), meaning put their name in the ACL, not just as a group if that's the case.  Make sure it's spelled correctly and exactly as it shows when you log in with that id.  Give that person manager access in the db, with all roles and abilities.  Also, check any agents to make sure they are not set in their properties to "run on behalf of someone else".  Let me know what you find.
0
 
jobby1Author Commented:
I recreated the busytime.nsf. Then it started to work. But every time I have to recreate the busy time database when ever i create a resource in resource database.. Any solution of this.
0
 
ironcladsCommented:
That doesn't seem right.  Typically, if the code is valid, and the db is signed by either the server or admin id, things should work correctly. Just an idea here at this point, I know your resource db is the Domino 8 version.  Is the busytime db a Domino 8 version?  Perhaps there are code differences that conflict.  I"m attaching the busytime template I have.  You'll need to change it back to ntf from txt.
Busytime.zip
0
 
jobby1Author Commented:
yes my Db is 8.5 alredy.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 6
  • 6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now