CodeStore

Simple PNP script to connect to SPO site with Azure

Simple PNP script that connects to SharePoint Online via Azure Active Directory Enterprise Application [crayon-673d5725b9a16945205407/]

“lotus.com” Notes Domino Wikis and Forums

“lotus.com” Notes Domino Wikis and Forums Please find below the links to the IBM Notes Domino forums which are now offline at IBM, because of the sell of the software to HCL. I thought lets post the links here because they are hard to find at the HCL website, I guess HCL wants us to […]

Lotus Notes Inviewedit script

Lotus Domino script snippet Editable Column (Inviewedit) Use the Inviewedit code to update document field values directly from the Lotus Notes view, without opening the document itself.   To accomplish this, do the following: Create a form with some fields (FieldName_1 -> FieldName_7 in this example) In the Domino Designer Client, create/open the view that […]

Notes Database Backup ZIP Agent

Notes Database Backup ZIP Agent Use this code in a (scheduled) agent to zip a selected set of Notes databases to a backup location Replicate (or copy) databases to a temp directory Zip the newly created databases to a backup directory Cleanup the temp directory To reduce complexity and set the main focus on the […]

Lotus Domino script snippet: Drive free space notification

Lotus Domino script snippet: Drive free space notification Send email notification when the available free space of a specified drive falls below a certain percentage Create profile document with following fields: cfg_Drive (Text, Drive letter) cfg_FreePerc (Number, Percentage) cfg_MailFrom (Text, Email Sender) cfg_Recipients (Names, Send email to) cfg_MailSubject (Text Mail subject) Add following code to […]

Lotus Domino script snippet: Quicksort algorithm

Lotus Domino script snippet: Simple Quicksort algorithm Algorithm can sort in both ascending and descending order. Main function that can be called with an array any type that has a natural sort order. If boolean argument is true the array will be sorted in ascending order, otherwise it will be sorted in descending order. [crayon-673d5725ba1f5952119235/] […]

Lotus Domino script snippet: Pinging a server to check if it is online

Lotus Domino script snippet: Pinging a server to check if it is online. Simple LotusScript using the Notes API to check if a server is online, without having to open a database [crayon-673d5725ba37f241147806/]      

Delete SharePoint Online site batch way – PNP PowerShell script

Delete SharePoint Online site batch way – PNP PS We use below method to clean up our SPO testing site. Our software tests creates many sites and once in a while we want to delete all SP sites. Doing this work in the browser is a lot of work. This post finds all SPO sites […]

Connect to SharePoint Online site list site content – PNP PowerShell script

Connect to SharePoint Online site list site content Simple script to connect to a SharePoint Online site and retrieve some the content. [crayon-673d5725ba6be528662825/]

Lotus Domino script snippet: Better NotesDocumentCollection loops

Lotus Domino script snippet: Better NotesDocumentCollection loops This code is an example of a LotusScript design pattern. It uses a reusable function to loop over the documents in a NotesDocumentCollection. This simple example just copies all the documents to the current database. It shows how you can use write code once and reuse many times […]

Lotus Domino encrypt and sign all NSF in Domino folder – Lotus script agent

Lotus Domino encrypt and sign all NSF in Domino folder With the info on this page you will be able to make a Notes application that will encrypt and sign all Notes databases in a certain folder on your Domino server. Make 2 forms: Make 2 views: Scheduled agent And make a script library with […]

Upload complete folder structure with files to SharePoint Library – PNP PowerShell script

Upload complete folder structure with files to SharePoint Library – PNP PowerShell script This PNP power shell script will upload all files, folders and files in sub folders located in a directory on your PC to a SharePoint Library. The script will create the library and set the site home page to this library You […]

Find SharePoint Online sites with certain name – PNP PowerShell script

Export all SharePoint Online sites with certain name PNP scripting

Empty Library content on SharePoint Online PNP PowerShell script

Empty Library content on SharePoint Online PNP scripting

Lotus Domino script snippet Export Notes Database Design to XML

Lotus Domino script snippet Export Notes Database Design to XML Script to export all design elements the Notes database has to XML. This script is used in our NDDM solution. Specify Database Server (field DbServer) and Filepath (field DbFilePath) [crayon-673d5725bb063630416243/]

Lotus Notes CSV Export

Lotus Domino script snippet for Lotus Notes CSV export This code exports selected/all Notes documents to CSV. The code can be run manually on selected documents, or scheduled on all documents in the database EXPORT_StartScheduled, run by a scheduled agent, exports all documents to a CSV file. EXPORT_CallExportOnClient, exports selected documents to a CSV file […]

Lotus Domino script to log all scheduled server agents

Lotus Domino script to log all scheduled server agents List all scheduled agents that run on the current server (enabled and disabled) [crayon-673d5725bb42a962805360/]

Lotus Domino script snippet Import from Excel

Lotus Domino script snippet Import from Excel To import data from Excel into an IBM Notes database [crayon-673d5725bb5b7572590113/]

Lotus Domino script snippet check Free Disk Space Agent

Lotus Domino script snippet check Free Disk Space Agent Script to determine the free disk space on a Domino server. Use a profile document that specifies: Drive letter – cfg_Drive % free disk space before sending email – cfg_FreePerc Email Sender – cfg_MailFrom Email SendTo – cfg_Recipients Email Subject – cfg_MailSubject [crayon-673d5725bb73b694751777/]

Lotus Domino script snippet that dumps all fields in a IBM Notes database to Excel

Dumps all fields in a IBM Notes database to Excel Lotus Domino script snippet. Specify in a profile document: – Relative database file paths – Excel output directory – Checkbox to include unused forms – Checkbox to include content: how many documents, how many characters per content column – (String of) characters not regarded as […]

Lotus Domino script snippet create Windows Folder

Lotus Domino script snippet create Windows Folder This piece of LotusScript will create a folder on Windows PC where the Notes client is running on   [crayon-673d5725bbaa4371634431/]

Lotus Domino script snippet export any Notes view to Excel

Lotus Domino script snippet export any Notes view to Excel This piece of LotusScript can export any Notes view to Excel. [crayon-673d5725bbc07709708909/]

Lotus Domino script snippet finding readers fields in Notes documents

Lotus Domino script snippet finding readers fields in Notes documents This piece of LotusScript checks each document in the Notes database to see if the document has readers fields stored in it. [crayon-673d5725bbd7b508644438/]