Talking to an OAuth2 API from the Notes Client (NO Xpages)  

By Adrian Marikar | 3/8/21 1:05 AM | Development - Notes / Domino | Added by Andi Kress

Have you wondered if it is possible to talk to an OAuth2 SaaS API from the Notes Client without XPages? We did just that! We were asked to develop a solution to create invoices and contact information from a standard HCL Domino CRM and Licence Tracking application to an OAuth2 api. The requirement was for a simple action button on a contact form that when clicked from the HCL Notes client, created a draft invoice on the client’s accounting SaaS and a new contact (if it didn’t already exist on the SaaS platform).

Count attachments in Rich Text Fields - LotusScript Function  

By Adrian Marikar | 2/13/20 3:11 AM | Development - Notes / Domino | Added by Heiko Voigt

LotusScript function to count how many embedded attachments are in a Rich Text Field. Function accepts two arguments, NotesDocument and RTI name as string. We came across a situation where we needed to be able to count how many attachments were in a rich text field in LotusScript. Scenario – We had a table with four tabbed rows. In each tab was a rich text field (which was hidden unless user clicked on tab). We needed a way of viewing how many attachments (if any) each rich text field was holding without clicking on each tab to see.