Avatar of jobby1
jobby1
 asked on

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.
Lotus IBMGroupwareEmail Software

Avatar of undefined
Last Comment
jobby1

8/22/2022 - Mon
Tim Williams

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.
jobby1

ASKER
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.
jjphardy

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.
Your help has saved me hundreds of hours of internet surfing.
fblack61
Tim Williams

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.
jobby1

ASKER
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
Tim Williams

Here's the resrc8.ntf db I have.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Tim Williams

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
jobby1

ASKER
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.
jobby1

ASKER
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.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
Tim Williams

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.
jobby1

ASKER
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.
ASKER CERTIFIED SOLUTION
Tim Williams

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
jobby1

ASKER
yes my Db is 8.5 alredy.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.