Solved

customize resource.ntf lotus notes

Posted on 2010-11-08
15
1,084 Views
Last Modified: 2013-12-18
I need to customize the resource.ntf to add addition work flow  provide with domino. Any good documentation for the same.
0
Comment
Question by:jobby1
  • 6
  • 6
15 Comments
 
LVL 3

Expert Comment

by:ironclads
ID: 34087425
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
 

Author Comment

by:jobby1
ID: 34090453
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
 
LVL 3

Expert Comment

by:jjphardy
ID: 34093582
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
ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

 
LVL 3

Expert Comment

by:ironclads
ID: 34094609
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
 

Author Comment

by:jobby1
ID: 34095833
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
 
LVL 3

Expert Comment

by:ironclads
ID: 34096144
Here's the resrc8.ntf db I have.
0
 
LVL 3

Expert Comment

by:ironclads
ID: 34096171
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
 

Author Comment

by:jobby1
ID: 34099389
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
 

Author Comment

by:jobby1
ID: 34099417
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
 
LVL 3

Expert Comment

by:ironclads
ID: 34104429
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
 

Author Comment

by:jobby1
ID: 34130484
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
 
LVL 3

Accepted Solution

by:
ironclads earned 500 total points
ID: 34156492
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
 

Author Comment

by:jobby1
ID: 34178774
yes my Db is 8.5 alredy.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Lack of Storage capacity is a common problem that exists in every field of life. Here we are taking the case of Lotus Notes Emails, as we all know that we are totally depend on e-communication i.e. Emails. This article is fully dedicated to resolvin…
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
This Micro Tutorial will demonstrate the easy use of Gmail embedding images in your email so the recipient of your email can view them in context.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question