SlideShare a Scribd company logo
Jalpresh Tailor
                           Jalpresh@gmail.com
     IBM Certified Adv Developer, Administrator
HTTP://www.bleedyellow.com/blogs/NotesShop
Jalpresh Tailor (JT)
• Senior Software Developer
• Domino Administrator
• 12 Years experience
• Email: jalpresh@gmail.com
• Blog: http://www.bleedyellow.com/blogs/NotesShop
The Plan: 10 Tips in 60 Minutes
• Quick Tips
• Case Scenarios
• Openntf projects
• Walkthrough

The Audience
• Superstar Admin - Beginner Developer
• Leet Developer - Noob Admin
• Every one nowadays is expected to Do more With Less

The Goal
• To ensure no one falls asleep
• To ensure that you learn something new
• To hear some one say OMG I didn’t know you could do that
How Does This effect your Developer
How Does This effect An Admin
Case Scenario 1:
  You are trouble shooting some admin issues and you get
  asked if you can take a look at a button that’s not working. Its
  in Formula Language … Notes has no Formula Debugger
  tool

What can you do?

PS: If your are an Admin and you think Formula Language is
  how to signal your drink to the bartender at Lotusphere when
  you lose your hearing from bad karaoke, I suggest you back
  away from this issue!!
Case Scenario 1:
  You are trouble shooting some admin issues and you get
  asked if you can take a look at a button that’s not working. Its
  in Formula Language … Notes has no Formula Debugger
  tool
What can you do?

Quick and easy way to Debug formula Language.
• Paste your code in the subject of an email
• Press Shift and F9

Really powerful for DBLookups, Dates or when playing with
strings
Jalpresh Tailor
                           Jalpresh@gmail.com
     IBM Certified Adv Developer, Administrator
HTTP://www.bleedyellow.com/blogs/NotesShop
Case Scenario 2:
  You are asked to trouble shoot or update some LotusScript
  code and are having trouble
• Understanding the code
• Understanding how big the job is
• Having trouble explaining why it can’t be done, or the work
  involved.

And you have
• No comments
• No documentation
• No one knows how it works, but they all want the changes to
  be done in 5 minutes
Give Visustin a try. Just paste your lotus code and you will get
   an instant flow chart of your code.

This makes it easy to
• Understand the code
• Understand how big the job is
• Explain why it can’t be done, or the work involved.

Don’t try to show lotusScript code to someone and expect them
  to understand what is involved.
• Everyone can understand a Flow chart
Give Visustin a try. Just paste your lotus code and you will
   get an instant flow chart of your code.
Saves tons of time when trying to understand someones code
If you are not using Stampall.. You should

As a developer we are always playing with code that looks like this.




This can be replaced with one StampAll command.
 You don’t even need to save and its much faster!!




Tip From John Jardin
StampAll Gotchas
Do not use two StampAll call it will take double the time
Call NotesDocumentCollection.StampAll( “Status”, “Submitted” )
Call NotesDocumentCollection.StampAll( “Dept”, “Accounting” )

Instead use StampAllMulti




Tip From John Jardin
Using the Notes Identifier:
• It is found on in the 5th tab of the document properties
• According to Help document it Unique ID string that
   identifies the document.
Using the Notes Identifier:
Lets take a detail look at the syntax
Notes://Server/85256F3A00672CF9/38D46BF5E8F08834852564B
   500129B2C/9EC60319B1AC9891852577C80057DA5C

Notes://server/path/db.nsf/viewName/UNID – opens doc
Notes://server/path/db.nsf – opens default view
The above line can be rewritten as follows
Notes://Server/INT/Mail/Jtailor.NSF/Inbox/9EC60319B1AC989
   1852577C80057DA5C
Notes://Server/INT%2FMail%2FJtailor.NSF/Inbox/9EC60319B1A
   C9891852577C80057DA5C
*when setting the path you can use %2F instead of a slash
Using the Notes Identifier:
Lets start getting a little fancy

Open any view
Notes://Server/INT/Mail/Jtailor.NSF/($sent)?openview
Open a form
Notes://Server/INT/Mail/Jtailor.NSF/memo?openform
Open from local replica, if not found uses server
Notes:///ReplicaID …
Notes:///85256F3A00672CF9
So the Notes Identifier is the same as a doc Link?
NO!!!!!!!

Since Notes 6 a URL that uses Notes:// as a protocol can be
    used in notes or any other application!!
As long as you have access to it, via the ACL.
Since Notes 6 a URL that uses Notes:// as a protocol can be
used in notes or any other application!!
3rd Party Tools, CRM, ERP, Excel, Web Browsers...
Jalpresh Tailor
                           Jalpresh@gmail.com
     IBM Certified Adv Developer, Administrator
HTTP://www.bleedyellow.com/blogs/NotesShop
Creating Notes Shortcuts
You can create notes short cuts that will function just like
   windows shortcuts except that they will open Notes
   Documents or Databases

Just pick a document or Database and copy as Link

Now paste in Notepad and save with the extension NDL
Jalpresh Tailor
                           Jalpresh@gmail.com
     IBM Certified Adv Developer, Administrator
HTTP://www.bleedyellow.com/blogs/NotesShop
Case Scenario 3:
• You are asked to trouble shoot some Domino issues. You
  are informed that no one has made any changes to the
  server, but you find this hard to believe.
• Recent changes are causing issues, but after several
  attempts we are unable to undo



All this info is located in IBM_TECHNICAL_SUPPORT folder on
    the Domino server
• serverdoc_servername_date@time.dxl (server documents)
• configspecific_servername_date@time.dxl (configuration
    docs)
How to easily read these files, Give Lotus Notes Diagnostic Utility a try
• Download and install from
http://www-01.ibm.com/support/docview.wss?uid=swg24019151
Now you can Browse to IBM_TECHNICAL_SUPPORT folder right click the
   document you want to review and select LND => Automatic Process
This will add the Document to your LND Database where you can
   review it and add more docs to compare. Each doc is date
   stamped with the last save.
Jalpresh Tailor
                           Jalpresh@gmail.com
     IBM Certified Adv Developer, Administrator
HTTP://www.bleedyellow.com/blogs/NotesShop
Case Scenario 4:
A customer asks for some advanced reporting and graphing tools
for Notes.
Your options are;
• You could star coding for days
• You can download NotesReconn from openntf and be done in
    5 min.
NotesReconn
Is a user customizable tool that can produce advance charts in
    Flash and excel, and generate excel reports.

Project: Notes Reconn (Managed by Johnny Jiang, David
   Jeyachandran, James Harris)
http://www.openntf.org/Projects/pmt.nsf/ProjectLookup/Notes
   %20Reconn
Case Scenario 5:
How to Deal with large Attachments.

   With fileSendr you upload your big attachments to the fileSendr
   web interface and then use it to send an email message to your
   recipient that contains a link to download the file.

   The link is valid for a set number of days and after that the file is
   removed from the system.


Project FileSendr
By Declan Lynch
http://www.openntf.org/internal/home.nsf/project.xsp?action=ope
nDocument&name=fileSendr
Project FileSendr
By Declan Lynch
http://www.openntf.org/internal/home.nsf/project.xsp?action=
openDocument&name=fileSendr

• This saves disk, message not stored in a users sent box.
• No need to change any rules to push this mail out.
• Not having to explain the wonders of a Zip utility
Project FileSendr
By Declan Lynch
http://www.openntf.org/internal/home.nsf/project.xsp?action=
openDocument&name=fileSendr
Project FileSendr
By Declan Lynch
http://www.openntf.org/internal/home.nsf/project.xsp?action=
openDocument&name=fileSendr
Case Scenario 6:
  The auditors have arrived and need to know exactly who has
  access to what on your notes environment immediately.
  And the Admins are already busy dealing with more important
  issues.




                                  Comic taken from Xkcd.com
Quick, easy, fast and simple way to find out who can do what to
your databases. Absolute life saver.
Quick, easy, fast and simple way to find out who can do what to
your databases. Absolute life saver.
Quick, easy, fast and simple way to find out who can do what to your
   databases. Absolute life saver.

• Developed by IBM
• Was available in the IBM sandbox
• Now available at
 http://www. bleedyellow.com/blogs/NotesShop/resource/ACLAuditTool.nsf
 http://www.bananahome.com/ldd/sandbox.nsf
Ever wanted to Analyze an INI file, make sure there are no strange
  settings , obsolete settings. Here are a few great tools just for this.
• Domino Configuration Tuner (Used for sever INIs)
• Notes.INI Analyzer (Used for Clients and Servers)
  http://www.lntoolbox.com/en/notesinianalyzer.html
Want to maintain consistent settings in your users Lotus Notes client?
Or push a few custom INI settings down to some or all users?
Did you know you could do this VIA Policy?

Official How To:
http://www-1.ibm.com/support/docview.wss?uid=swg21391284
Pushing notes.ini settings
How to push a notes.ini variable and value pair to a Notes user;
1. Open the Domino Directory
2. Click the People & Groups tab and open the Settings view.
3. Click Add Settings, open the Desktop Settings dialog, and click the
   Custom Settings tab. (Finding this section is the hardest part)
4. Click Notes.ini.
5. Click Edit List to open a panel that enables you to create a notes.ini
    variable name and value pair.
6. In the Item field, specify a notes.ini variable name.
7. In the Value field, specify the NOTES.INI value to associate with the
    variable name.
8. Click Add/Modify Value.
9. Enable the Enforce option to push the value pair to overwrite any other
    previously set value for the named setting.
10. Click OK and Save & Exit.
Super quick intro on Xpages Mobile Control from the Extension Library
Mobilize a database in 10 Steps with
• 0 Lines of code
• Type 7 words, most of them are labels
• Click to select
• Drag and drop
Super quick intro on Xpages Mobile Control from the Extension Library
Mobilize an App in 10 Steps

Prerequisites
    – 8.5.3 + Upgrade Pack 1
    Or
    – Download Ext Library from Openntf

   Link explaining how to install the Prerequisites

   http://www-
     10.lotus.com/ldd/ddwiki.nsf/dx/Installing_and_administering_the_XP
     ages_Extension_Library_ddxl853
Mobilize a Database in 10 Steps
Step 1: Create a DB and Enable the Ext. Library in the Application
        Properties
Mobilize a Database in 10 Steps
Step 2: Set the Mobile Prefix
Mobilize a Database in 10 Steps
Step 3: Create a new Xpage make sure to use the mobile prefix
Mobilize a Database in 10 Steps
Step 4: On the New Xpage drop the Single Page Application control from
   the Mobile Palette
Mobilize a Database in 10 Steps
Step 5: On the Single Page Application control drop the Mobile Page on
   the Green Dot

                          Drop the Mobil Page on the Green dot




                          Here the Final result
Mobilize a Database in 10 Steps
Step 6: The Single Page Application control needs to have the
   SelectedPageName set and use the same value for the PageName in the
   Mobile Page
Mobilize a Database in 10 Steps
Step 7: On the Mobile Page control drop the Page Heading on the Green
   Dot

                         Drop the Page Heading on the Green dot




                         Here the Final result
Mobilize a Database in 10 Steps
Step 8: Add a Label to the Page Heading you just created, save and
   preview.
Mobilize a Database in 10 Steps
 Step 9: On the Mobile Page control drop the Data View
                                        Select the Notes View you want to use




Drop the Data View here
Mobilize a Database in 10 Steps
Step 9: Here is what your results should look like.
Mobilize a Database in 10 Steps
Step 10: Add a summaryColumn and a viewExtraColumn with the
        columns you want to display from the selected Notes View and save
Mobilize a Database in 10 Steps
The Results!!!
Apple / Blackberry                Android
The Good
Automatically display the correct theme for the device
The Bad
The Blackberrys have a lag and refresh issue
I am told that BB with newer OS may work fine, I have only tested with OS 6
The Ugly
The only solution with older blackberrys is to use traditional Xpages thus
making it not as pretty
Super quick intro to get an Xpages app on an older OS Blackberry

Mobilize a database in 5 Steps with
• 0 Lines of code
• Type 3 words
• Click to select
• Drag and drop
Super quick intro to get an Xpages app on an older OS Blackberry
Step 1
• Create a new Xpage, call it BBView
• Add a View Controller
• Pick your database, and your view,
• Select your fields and click OK
Super quick intro to get an Xpages app on an older OS Blackberry
Step 2
• You should see your selected fields
• Select it and click all properties/Data and set rows to 8, and preview it.
Super quick intro to get an Xpages app on an older OS Blackberry
Step 3
• Create a new Xpage, call it BBDoc
• Go to the Data Tab, set Data Source
       to Define Data Source
• Set Data source to Domino Document
• Chose Other, pick your database,
       your Form and click OK.
Super quick intro to get an Xpages app on an older OS Blackberry
Step 4
• In the data tab click the little button so it is not X out
• Select the fields you want and drag them to the Xpage
• Set the fields to Computed
Super quick intro to get an Xpages app on an older OS Blackberry
Step 5
• Open your BBView xpage again High light the view and in properties/view
   set at runtime, open… to BBDoc
• Select a column and in properties Display check off show values in the
   column as links




That’s it!!!
Your all Done
Super quick intro to get an Xpages app on an older OS Blackberry
Preview on a Blackberry
Super quick intro to get an Xpages app on an older OS Blackberry
Preview in a browser
The Good
Xpages works well on a Blackberry with older OS.
Blackberry has a secured permanent connection to your bes which means
   you can access all your notes servers which sit behind your firewall with
   out a vpn solution
The Bad
The Blackberrys do not handle editing Rich Text Fields well. It may be
   easier to create a temp text field and use it to update the Rich Text
   Field.
The Ugly
Ext Library Mobile Controls is the best solution but do you want to support 2
   different mobile solutions?
Currently in my environment: 100 OS 6 vs 1 OS 7
The Goal
• To ensure no one falls asleep
• To ensure that you learn something new
• To hear some one say OMG I didn’t know you could do that


                                                                 Jalpresh Tailor
                                                            Jalpresh@gmail.com
                                      IBM Certified Adv Developer, Administrator
                                 HTTP://www.bleedyellow.com/blogs/NotesShop

More Related Content

Similar to Lug

Top Tips Every Notes Developer Needs To Know
Top Tips Every Notes Developer Needs To KnowTop Tips Every Notes Developer Needs To Know
Top Tips Every Notes Developer Needs To KnowKathy Brown
 
Git Makes Me Angry Inside
Git Makes Me Angry InsideGit Makes Me Angry Inside
Git Makes Me Angry Inside
Emma Jane Hogbin Westby
 
Bp106 Worst Practices Final
Bp106   Worst Practices FinalBp106   Worst Practices Final
Bp106 Worst Practices Final
Bill Buchan
 
Lessons Learned from a major IBM Collaboration Solutions Deployment
Lessons Learned from a major IBM Collaboration Solutions DeploymentLessons Learned from a major IBM Collaboration Solutions Deployment
Lessons Learned from a major IBM Collaboration Solutions Deployment
Martijn de Jong
 
Gearman: A Job Server made for Scale
Gearman: A Job Server made for ScaleGearman: A Job Server made for Scale
Gearman: A Job Server made for ScaleMike Willbanks
 
Handling Vendor Problems, or Problems With Vendors
Handling Vendor Problems,  or Problems With VendorsHandling Vendor Problems,  or Problems With Vendors
Handling Vendor Problems, or Problems With Vendors
Sam Knutson
 
Troubleshooting: The Two Laws - IXIASOFT User Conference 2016
Troubleshooting: The Two Laws - IXIASOFT User Conference 2016Troubleshooting: The Two Laws - IXIASOFT User Conference 2016
Troubleshooting: The Two Laws - IXIASOFT User Conference 2016
IXIASOFT
 
Magento 2 Best Practice Workfow // David Lambauer // Meet Magento 2017 // Lei...
Magento 2 Best Practice Workfow // David Lambauer // Meet Magento 2017 // Lei...Magento 2 Best Practice Workfow // David Lambauer // Meet Magento 2017 // Lei...
Magento 2 Best Practice Workfow // David Lambauer // Meet Magento 2017 // Lei...
AOE
 
X page developer
X page developerX page developer
X page developer
Jakob Majkilde
 
Lotusphere 2009 The 11 Commandments
Lotusphere 2009 The 11 CommandmentsLotusphere 2009 The 11 Commandments
Lotusphere 2009 The 11 Commandments
Bill Buchan
 
A modern architecturereview–usingcodereviewtools-ver-3.5
A modern architecturereview–usingcodereviewtools-ver-3.5A modern architecturereview–usingcodereviewtools-ver-3.5
A modern architecturereview–usingcodereviewtools-ver-3.5
SSW
 
O365 Developer Bootcamp NJ 2018 - Material
O365 Developer Bootcamp NJ 2018 - MaterialO365 Developer Bootcamp NJ 2018 - Material
O365 Developer Bootcamp NJ 2018 - Material
Thomas Daly
 
Top 10 Tricks and Tools of an Oracle EPM Administrator
Top 10 Tricks and Tools of an Oracle EPM AdministratorTop 10 Tricks and Tools of an Oracle EPM Administrator
Top 10 Tricks and Tools of an Oracle EPM Administrator
nking821
 
DBA Tips and Tricks - Presentation
DBA Tips and Tricks - PresentationDBA Tips and Tricks - Presentation
DBA Tips and Tricks - Presentation
Francisco Alvarez
 
Back from the Dead: When Bad Code Kills a Good Server
Back from the Dead: When Bad Code Kills a Good ServerBack from the Dead: When Bad Code Kills a Good Server
Back from the Dead: When Bad Code Kills a Good Server
Teamstudio
 
Lotusphere 2012: BP110 Performance Boost for your Notes Client
Lotusphere 2012: BP110 Performance Boost for your Notes ClientLotusphere 2012: BP110 Performance Boost for your Notes Client
Lotusphere 2012: BP110 Performance Boost for your Notes Client
panagenda
 
Scaling the synchronous web - Elaine Wherry
Scaling the synchronous web - Elaine WherryScaling the synchronous web - Elaine Wherry
Scaling the synchronous web - Elaine Wherry
Carsonified Team
 
Blugsphere2011 dev
Blugsphere2011 devBlugsphere2011 dev
Blugsphere2011 dev
AusLUG
 

Similar to Lug (20)

Top Tips Every Notes Developer Needs To Know
Top Tips Every Notes Developer Needs To KnowTop Tips Every Notes Developer Needs To Know
Top Tips Every Notes Developer Needs To Know
 
Git Makes Me Angry Inside
Git Makes Me Angry InsideGit Makes Me Angry Inside
Git Makes Me Angry Inside
 
Bp106 Worst Practices Final
Bp106   Worst Practices FinalBp106   Worst Practices Final
Bp106 Worst Practices Final
 
Lessons Learned from a major IBM Collaboration Solutions Deployment
Lessons Learned from a major IBM Collaboration Solutions DeploymentLessons Learned from a major IBM Collaboration Solutions Deployment
Lessons Learned from a major IBM Collaboration Solutions Deployment
 
Gearman: A Job Server made for Scale
Gearman: A Job Server made for ScaleGearman: A Job Server made for Scale
Gearman: A Job Server made for Scale
 
Handling Vendor Problems, or Problems With Vendors
Handling Vendor Problems,  or Problems With VendorsHandling Vendor Problems,  or Problems With Vendors
Handling Vendor Problems, or Problems With Vendors
 
Troubleshooting: The Two Laws - IXIASOFT User Conference 2016
Troubleshooting: The Two Laws - IXIASOFT User Conference 2016Troubleshooting: The Two Laws - IXIASOFT User Conference 2016
Troubleshooting: The Two Laws - IXIASOFT User Conference 2016
 
Magento 2 Best Practice Workfow // David Lambauer // Meet Magento 2017 // Lei...
Magento 2 Best Practice Workfow // David Lambauer // Meet Magento 2017 // Lei...Magento 2 Best Practice Workfow // David Lambauer // Meet Magento 2017 // Lei...
Magento 2 Best Practice Workfow // David Lambauer // Meet Magento 2017 // Lei...
 
X page developer
X page developerX page developer
X page developer
 
DDD with Behat
DDD with BehatDDD with Behat
DDD with Behat
 
Lotusphere 2009 The 11 Commandments
Lotusphere 2009 The 11 CommandmentsLotusphere 2009 The 11 Commandments
Lotusphere 2009 The 11 Commandments
 
A modern architecturereview–usingcodereviewtools-ver-3.5
A modern architecturereview–usingcodereviewtools-ver-3.5A modern architecturereview–usingcodereviewtools-ver-3.5
A modern architecturereview–usingcodereviewtools-ver-3.5
 
O365 Developer Bootcamp NJ 2018 - Material
O365 Developer Bootcamp NJ 2018 - MaterialO365 Developer Bootcamp NJ 2018 - Material
O365 Developer Bootcamp NJ 2018 - Material
 
Top 10 Tricks and Tools of an Oracle EPM Administrator
Top 10 Tricks and Tools of an Oracle EPM AdministratorTop 10 Tricks and Tools of an Oracle EPM Administrator
Top 10 Tricks and Tools of an Oracle EPM Administrator
 
Users guide
Users guideUsers guide
Users guide
 
DBA Tips and Tricks - Presentation
DBA Tips and Tricks - PresentationDBA Tips and Tricks - Presentation
DBA Tips and Tricks - Presentation
 
Back from the Dead: When Bad Code Kills a Good Server
Back from the Dead: When Bad Code Kills a Good ServerBack from the Dead: When Bad Code Kills a Good Server
Back from the Dead: When Bad Code Kills a Good Server
 
Lotusphere 2012: BP110 Performance Boost for your Notes Client
Lotusphere 2012: BP110 Performance Boost for your Notes ClientLotusphere 2012: BP110 Performance Boost for your Notes Client
Lotusphere 2012: BP110 Performance Boost for your Notes Client
 
Scaling the synchronous web - Elaine Wherry
Scaling the synchronous web - Elaine WherryScaling the synchronous web - Elaine Wherry
Scaling the synchronous web - Elaine Wherry
 
Blugsphere2011 dev
Blugsphere2011 devBlugsphere2011 dev
Blugsphere2011 dev
 

Recently uploaded

Program Your Destiny eBook - Destiny University.pdf
Program Your Destiny eBook - Destiny University.pdfProgram Your Destiny eBook - Destiny University.pdf
Program Your Destiny eBook - Destiny University.pdf
Michael Herlache, MBA
 
Collocation thường gặp trong đề thi THPT Quốc gia.pdf
Collocation thường gặp trong đề thi THPT Quốc gia.pdfCollocation thường gặp trong đề thi THPT Quốc gia.pdf
Collocation thường gặp trong đề thi THPT Quốc gia.pdf
ngochaavk33a
 
UNIVERSAL HUMAN VALUES- Harmony in the Nature
UNIVERSAL HUMAN VALUES- Harmony in the NatureUNIVERSAL HUMAN VALUES- Harmony in the Nature
UNIVERSAL HUMAN VALUES- Harmony in the Nature
Chandrakant Divate
 
CHUYÊN ĐỀ READING ÔN THI HSG THPT HAY.docx
CHUYÊN ĐỀ READING ÔN THI HSG THPT HAY.docxCHUYÊN ĐỀ READING ÔN THI HSG THPT HAY.docx
CHUYÊN ĐỀ READING ÔN THI HSG THPT HAY.docx
ngochaavk33a
 
ÔN TẬP CỤM THÀNH NGỮ TIẾNG ANH CỰC HAY.docx
ÔN TẬP CỤM THÀNH NGỮ TIẾNG ANH CỰC HAY.docxÔN TẬP CỤM THÀNH NGỮ TIẾNG ANH CỰC HAY.docx
ÔN TẬP CỤM THÀNH NGỮ TIẾNG ANH CỰC HAY.docx
ngochaavk33a
 
Ethical_dilemmas_MDI_Gurgaon-Business Ethics Case 1.pptx
Ethical_dilemmas_MDI_Gurgaon-Business Ethics Case 1.pptxEthical_dilemmas_MDI_Gurgaon-Business Ethics Case 1.pptx
Ethical_dilemmas_MDI_Gurgaon-Business Ethics Case 1.pptx
TANMAYJAIN511570
 
SOCIOLOGY PPT. SOCIAL SECURITY POWER POINT
SOCIOLOGY PPT. SOCIAL SECURITY POWER POINTSOCIOLOGY PPT. SOCIAL SECURITY POWER POINT
SOCIOLOGY PPT. SOCIAL SECURITY POWER POINT
ssuser8d5e2d1
 

Recently uploaded (7)

Program Your Destiny eBook - Destiny University.pdf
Program Your Destiny eBook - Destiny University.pdfProgram Your Destiny eBook - Destiny University.pdf
Program Your Destiny eBook - Destiny University.pdf
 
Collocation thường gặp trong đề thi THPT Quốc gia.pdf
Collocation thường gặp trong đề thi THPT Quốc gia.pdfCollocation thường gặp trong đề thi THPT Quốc gia.pdf
Collocation thường gặp trong đề thi THPT Quốc gia.pdf
 
UNIVERSAL HUMAN VALUES- Harmony in the Nature
UNIVERSAL HUMAN VALUES- Harmony in the NatureUNIVERSAL HUMAN VALUES- Harmony in the Nature
UNIVERSAL HUMAN VALUES- Harmony in the Nature
 
CHUYÊN ĐỀ READING ÔN THI HSG THPT HAY.docx
CHUYÊN ĐỀ READING ÔN THI HSG THPT HAY.docxCHUYÊN ĐỀ READING ÔN THI HSG THPT HAY.docx
CHUYÊN ĐỀ READING ÔN THI HSG THPT HAY.docx
 
ÔN TẬP CỤM THÀNH NGỮ TIẾNG ANH CỰC HAY.docx
ÔN TẬP CỤM THÀNH NGỮ TIẾNG ANH CỰC HAY.docxÔN TẬP CỤM THÀNH NGỮ TIẾNG ANH CỰC HAY.docx
ÔN TẬP CỤM THÀNH NGỮ TIẾNG ANH CỰC HAY.docx
 
Ethical_dilemmas_MDI_Gurgaon-Business Ethics Case 1.pptx
Ethical_dilemmas_MDI_Gurgaon-Business Ethics Case 1.pptxEthical_dilemmas_MDI_Gurgaon-Business Ethics Case 1.pptx
Ethical_dilemmas_MDI_Gurgaon-Business Ethics Case 1.pptx
 
SOCIOLOGY PPT. SOCIAL SECURITY POWER POINT
SOCIOLOGY PPT. SOCIAL SECURITY POWER POINTSOCIOLOGY PPT. SOCIAL SECURITY POWER POINT
SOCIOLOGY PPT. SOCIAL SECURITY POWER POINT
 

Lug

  • 1. Jalpresh Tailor Jalpresh@gmail.com IBM Certified Adv Developer, Administrator HTTP://www.bleedyellow.com/blogs/NotesShop
  • 2. Jalpresh Tailor (JT) • Senior Software Developer • Domino Administrator • 12 Years experience • Email: jalpresh@gmail.com • Blog: http://www.bleedyellow.com/blogs/NotesShop
  • 3. The Plan: 10 Tips in 60 Minutes • Quick Tips • Case Scenarios • Openntf projects • Walkthrough The Audience • Superstar Admin - Beginner Developer • Leet Developer - Noob Admin • Every one nowadays is expected to Do more With Less The Goal • To ensure no one falls asleep • To ensure that you learn something new • To hear some one say OMG I didn’t know you could do that
  • 4.
  • 5.
  • 6.
  • 7. How Does This effect your Developer
  • 8. How Does This effect An Admin
  • 9. Case Scenario 1: You are trouble shooting some admin issues and you get asked if you can take a look at a button that’s not working. Its in Formula Language … Notes has no Formula Debugger tool What can you do? PS: If your are an Admin and you think Formula Language is how to signal your drink to the bartender at Lotusphere when you lose your hearing from bad karaoke, I suggest you back away from this issue!!
  • 10. Case Scenario 1: You are trouble shooting some admin issues and you get asked if you can take a look at a button that’s not working. Its in Formula Language … Notes has no Formula Debugger tool What can you do? Quick and easy way to Debug formula Language. • Paste your code in the subject of an email • Press Shift and F9 Really powerful for DBLookups, Dates or when playing with strings
  • 11. Jalpresh Tailor Jalpresh@gmail.com IBM Certified Adv Developer, Administrator HTTP://www.bleedyellow.com/blogs/NotesShop
  • 12.
  • 13. Case Scenario 2: You are asked to trouble shoot or update some LotusScript code and are having trouble • Understanding the code • Understanding how big the job is • Having trouble explaining why it can’t be done, or the work involved. And you have • No comments • No documentation • No one knows how it works, but they all want the changes to be done in 5 minutes
  • 14. Give Visustin a try. Just paste your lotus code and you will get an instant flow chart of your code. This makes it easy to • Understand the code • Understand how big the job is • Explain why it can’t be done, or the work involved. Don’t try to show lotusScript code to someone and expect them to understand what is involved. • Everyone can understand a Flow chart
  • 15. Give Visustin a try. Just paste your lotus code and you will get an instant flow chart of your code. Saves tons of time when trying to understand someones code
  • 16. If you are not using Stampall.. You should As a developer we are always playing with code that looks like this. This can be replaced with one StampAll command. You don’t even need to save and its much faster!! Tip From John Jardin
  • 17. StampAll Gotchas Do not use two StampAll call it will take double the time Call NotesDocumentCollection.StampAll( “Status”, “Submitted” ) Call NotesDocumentCollection.StampAll( “Dept”, “Accounting” ) Instead use StampAllMulti Tip From John Jardin
  • 18. Using the Notes Identifier: • It is found on in the 5th tab of the document properties • According to Help document it Unique ID string that identifies the document.
  • 19. Using the Notes Identifier: Lets take a detail look at the syntax Notes://Server/85256F3A00672CF9/38D46BF5E8F08834852564B 500129B2C/9EC60319B1AC9891852577C80057DA5C Notes://server/path/db.nsf/viewName/UNID – opens doc Notes://server/path/db.nsf – opens default view The above line can be rewritten as follows Notes://Server/INT/Mail/Jtailor.NSF/Inbox/9EC60319B1AC989 1852577C80057DA5C Notes://Server/INT%2FMail%2FJtailor.NSF/Inbox/9EC60319B1A C9891852577C80057DA5C *when setting the path you can use %2F instead of a slash
  • 20. Using the Notes Identifier: Lets start getting a little fancy Open any view Notes://Server/INT/Mail/Jtailor.NSF/($sent)?openview Open a form Notes://Server/INT/Mail/Jtailor.NSF/memo?openform Open from local replica, if not found uses server Notes:///ReplicaID … Notes:///85256F3A00672CF9
  • 21. So the Notes Identifier is the same as a doc Link? NO!!!!!!! Since Notes 6 a URL that uses Notes:// as a protocol can be used in notes or any other application!! As long as you have access to it, via the ACL.
  • 22. Since Notes 6 a URL that uses Notes:// as a protocol can be used in notes or any other application!! 3rd Party Tools, CRM, ERP, Excel, Web Browsers...
  • 23. Jalpresh Tailor Jalpresh@gmail.com IBM Certified Adv Developer, Administrator HTTP://www.bleedyellow.com/blogs/NotesShop
  • 24. Creating Notes Shortcuts You can create notes short cuts that will function just like windows shortcuts except that they will open Notes Documents or Databases Just pick a document or Database and copy as Link Now paste in Notepad and save with the extension NDL
  • 25. Jalpresh Tailor Jalpresh@gmail.com IBM Certified Adv Developer, Administrator HTTP://www.bleedyellow.com/blogs/NotesShop
  • 26. Case Scenario 3: • You are asked to trouble shoot some Domino issues. You are informed that no one has made any changes to the server, but you find this hard to believe. • Recent changes are causing issues, but after several attempts we are unable to undo All this info is located in IBM_TECHNICAL_SUPPORT folder on the Domino server • serverdoc_servername_date@time.dxl (server documents) • configspecific_servername_date@time.dxl (configuration docs)
  • 27. How to easily read these files, Give Lotus Notes Diagnostic Utility a try • Download and install from http://www-01.ibm.com/support/docview.wss?uid=swg24019151 Now you can Browse to IBM_TECHNICAL_SUPPORT folder right click the document you want to review and select LND => Automatic Process
  • 28. This will add the Document to your LND Database where you can review it and add more docs to compare. Each doc is date stamped with the last save.
  • 29. Jalpresh Tailor Jalpresh@gmail.com IBM Certified Adv Developer, Administrator HTTP://www.bleedyellow.com/blogs/NotesShop
  • 30. Case Scenario 4: A customer asks for some advanced reporting and graphing tools for Notes. Your options are; • You could star coding for days • You can download NotesReconn from openntf and be done in 5 min.
  • 31. NotesReconn Is a user customizable tool that can produce advance charts in Flash and excel, and generate excel reports. Project: Notes Reconn (Managed by Johnny Jiang, David Jeyachandran, James Harris) http://www.openntf.org/Projects/pmt.nsf/ProjectLookup/Notes %20Reconn
  • 32.
  • 33.
  • 34.
  • 35.
  • 36. Case Scenario 5: How to Deal with large Attachments. With fileSendr you upload your big attachments to the fileSendr web interface and then use it to send an email message to your recipient that contains a link to download the file. The link is valid for a set number of days and after that the file is removed from the system. Project FileSendr By Declan Lynch http://www.openntf.org/internal/home.nsf/project.xsp?action=ope nDocument&name=fileSendr
  • 37. Project FileSendr By Declan Lynch http://www.openntf.org/internal/home.nsf/project.xsp?action= openDocument&name=fileSendr • This saves disk, message not stored in a users sent box. • No need to change any rules to push this mail out. • Not having to explain the wonders of a Zip utility
  • 38. Project FileSendr By Declan Lynch http://www.openntf.org/internal/home.nsf/project.xsp?action= openDocument&name=fileSendr
  • 39. Project FileSendr By Declan Lynch http://www.openntf.org/internal/home.nsf/project.xsp?action= openDocument&name=fileSendr
  • 40. Case Scenario 6: The auditors have arrived and need to know exactly who has access to what on your notes environment immediately. And the Admins are already busy dealing with more important issues. Comic taken from Xkcd.com
  • 41. Quick, easy, fast and simple way to find out who can do what to your databases. Absolute life saver.
  • 42. Quick, easy, fast and simple way to find out who can do what to your databases. Absolute life saver.
  • 43. Quick, easy, fast and simple way to find out who can do what to your databases. Absolute life saver. • Developed by IBM • Was available in the IBM sandbox • Now available at http://www. bleedyellow.com/blogs/NotesShop/resource/ACLAuditTool.nsf http://www.bananahome.com/ldd/sandbox.nsf
  • 44. Ever wanted to Analyze an INI file, make sure there are no strange settings , obsolete settings. Here are a few great tools just for this. • Domino Configuration Tuner (Used for sever INIs) • Notes.INI Analyzer (Used for Clients and Servers) http://www.lntoolbox.com/en/notesinianalyzer.html
  • 45. Want to maintain consistent settings in your users Lotus Notes client? Or push a few custom INI settings down to some or all users? Did you know you could do this VIA Policy? Official How To: http://www-1.ibm.com/support/docview.wss?uid=swg21391284
  • 46. Pushing notes.ini settings How to push a notes.ini variable and value pair to a Notes user; 1. Open the Domino Directory 2. Click the People & Groups tab and open the Settings view. 3. Click Add Settings, open the Desktop Settings dialog, and click the Custom Settings tab. (Finding this section is the hardest part) 4. Click Notes.ini.
  • 47. 5. Click Edit List to open a panel that enables you to create a notes.ini variable name and value pair. 6. In the Item field, specify a notes.ini variable name. 7. In the Value field, specify the NOTES.INI value to associate with the variable name. 8. Click Add/Modify Value. 9. Enable the Enforce option to push the value pair to overwrite any other previously set value for the named setting. 10. Click OK and Save & Exit.
  • 48. Super quick intro on Xpages Mobile Control from the Extension Library Mobilize a database in 10 Steps with • 0 Lines of code • Type 7 words, most of them are labels • Click to select • Drag and drop
  • 49. Super quick intro on Xpages Mobile Control from the Extension Library Mobilize an App in 10 Steps Prerequisites – 8.5.3 + Upgrade Pack 1 Or – Download Ext Library from Openntf Link explaining how to install the Prerequisites http://www- 10.lotus.com/ldd/ddwiki.nsf/dx/Installing_and_administering_the_XP ages_Extension_Library_ddxl853
  • 50. Mobilize a Database in 10 Steps Step 1: Create a DB and Enable the Ext. Library in the Application Properties
  • 51. Mobilize a Database in 10 Steps Step 2: Set the Mobile Prefix
  • 52. Mobilize a Database in 10 Steps Step 3: Create a new Xpage make sure to use the mobile prefix
  • 53. Mobilize a Database in 10 Steps Step 4: On the New Xpage drop the Single Page Application control from the Mobile Palette
  • 54. Mobilize a Database in 10 Steps Step 5: On the Single Page Application control drop the Mobile Page on the Green Dot Drop the Mobil Page on the Green dot Here the Final result
  • 55. Mobilize a Database in 10 Steps Step 6: The Single Page Application control needs to have the SelectedPageName set and use the same value for the PageName in the Mobile Page
  • 56. Mobilize a Database in 10 Steps Step 7: On the Mobile Page control drop the Page Heading on the Green Dot Drop the Page Heading on the Green dot Here the Final result
  • 57. Mobilize a Database in 10 Steps Step 8: Add a Label to the Page Heading you just created, save and preview.
  • 58. Mobilize a Database in 10 Steps Step 9: On the Mobile Page control drop the Data View Select the Notes View you want to use Drop the Data View here
  • 59. Mobilize a Database in 10 Steps Step 9: Here is what your results should look like.
  • 60. Mobilize a Database in 10 Steps Step 10: Add a summaryColumn and a viewExtraColumn with the columns you want to display from the selected Notes View and save
  • 61. Mobilize a Database in 10 Steps The Results!!! Apple / Blackberry Android
  • 62. The Good Automatically display the correct theme for the device The Bad The Blackberrys have a lag and refresh issue I am told that BB with newer OS may work fine, I have only tested with OS 6 The Ugly The only solution with older blackberrys is to use traditional Xpages thus making it not as pretty
  • 63. Super quick intro to get an Xpages app on an older OS Blackberry Mobilize a database in 5 Steps with • 0 Lines of code • Type 3 words • Click to select • Drag and drop
  • 64. Super quick intro to get an Xpages app on an older OS Blackberry Step 1 • Create a new Xpage, call it BBView • Add a View Controller • Pick your database, and your view, • Select your fields and click OK
  • 65. Super quick intro to get an Xpages app on an older OS Blackberry Step 2 • You should see your selected fields • Select it and click all properties/Data and set rows to 8, and preview it.
  • 66. Super quick intro to get an Xpages app on an older OS Blackberry Step 3 • Create a new Xpage, call it BBDoc • Go to the Data Tab, set Data Source to Define Data Source • Set Data source to Domino Document • Chose Other, pick your database, your Form and click OK.
  • 67. Super quick intro to get an Xpages app on an older OS Blackberry Step 4 • In the data tab click the little button so it is not X out • Select the fields you want and drag them to the Xpage • Set the fields to Computed
  • 68. Super quick intro to get an Xpages app on an older OS Blackberry Step 5 • Open your BBView xpage again High light the view and in properties/view set at runtime, open… to BBDoc • Select a column and in properties Display check off show values in the column as links That’s it!!! Your all Done
  • 69. Super quick intro to get an Xpages app on an older OS Blackberry Preview on a Blackberry
  • 70. Super quick intro to get an Xpages app on an older OS Blackberry Preview in a browser
  • 71. The Good Xpages works well on a Blackberry with older OS. Blackberry has a secured permanent connection to your bes which means you can access all your notes servers which sit behind your firewall with out a vpn solution The Bad The Blackberrys do not handle editing Rich Text Fields well. It may be easier to create a temp text field and use it to update the Rich Text Field. The Ugly Ext Library Mobile Controls is the best solution but do you want to support 2 different mobile solutions? Currently in my environment: 100 OS 6 vs 1 OS 7
  • 72. The Goal • To ensure no one falls asleep • To ensure that you learn something new • To hear some one say OMG I didn’t know you could do that Jalpresh Tailor Jalpresh@gmail.com IBM Certified Adv Developer, Administrator HTTP://www.bleedyellow.com/blogs/NotesShop