Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

customize resource.ntf lotus notes

Posted on 2010-11-08
15
Medium Priority
?
1,100 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
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 2000 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

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.

Question has a verified solution.

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

One-stop solution for Exchange Administrators to address all MS Exchange Server issues, which is known by the name of Stellar Exchange Toolkit.
The core idea of this article is to make you acquainted with the best way in which you can export Exchange mailbox to PST format.
The purpose of this video is to demonstrate how to set up a Mailchimp Template which will let the user create a uniform look for all of their campaigns. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mail…
The purpose of this video is to demonstrate how to use PicMonkey software to customize images for a Mailchimp campaign. Picmonkey is free and simple online software which can be used by users who don’t have robust editing software such as Photoshop,…
Suggested Courses

636 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