Solved

customize resource.ntf lotus notes

Posted on 2010-11-08
15
1,079 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
 
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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

The biggest nightmare for any Exchange Server Administrator is to keep the server running without any issue. But the problems often come and they need to be resolved efficiently and timely. Here are important troubleshooting points: Define the Pr…
I tend toward trying the newest hardware and software.  Thiss sometimes works out to my benefit, and sometimes not.  Because I downloaded and installed Android 5.x (http://www.experts-exchange.com/articles/18084/Upgrading-to-Android-5-0-Lollipop.htm…
The purpose of this video is to demonstrate how to set up an account with Mailchimp. This will be demonstrated using a Windows 8 PC. Tools Used are: Mailchimp.com Go to Mailchimp.com : Enter an Email, Username, and Password. Click Create My Acco…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

760 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now