iCPS Script Samples
The package contains a number of samples that demonstrate Script functionality in iCore.
Sample name | Description |
---|---|
Date_example_1 | Demonstrates how to convert date formats. |
Directory_LDAP_Example_1 | Lists a LDAP directory. |
File_Scan_Example_1 | Scans a folder for files. |
Filename_Change_Trigger_To_Node_example_1 | Creates a file system watcher that reads files into iCore as soon as they are being renamed. |
FileSystemWatcher_Example_1 | Shows how to create a file system watcher in a Script. |
FileSystemWatcher_Example_2 | Shows how to create a file system watcher in a Script. |
FTP_Example_1 | Shows how to upload and download a file to an FTP server. |
HTTP_Get_Example_1 | Shows how to use the HTTP Objects in iCore. |
HTTP_TriggerToNode_Example_1 | A Script that creates an HTTP server and processes messages as soon as they come in. |
Mail_Example_1 | Shows how to send and receive mail with SMTP & POP objects. |
MSMQ_Example_1 | Demonstrates how to send and receive messages via MSMQ. |
MSMQ_Example_2 | Demonstrates how to send and receive messages via MSMQ. |
MSMQTriggertoNode | A Script that listens on a Queue and creates a Node as soon as something arrives on the queue. |
Node_Example_1 | Shows how to create a Node and add relations to it. |
Send_SMS_Example_1 | Shows how to send an SMS from iCore using clients.sms-wap.com |
SetByteOrderMark_Example_1 | Shows how to create a file with a specific byte order mark. |
SQL_Example_1 | Opens a record set and demonstrates how to loop through it. |
StripString_XML_Example_1 | Rebuilds an xml file and removes extra spaces. |
X509_CheckStoreValidityAndUpdate_Example_1 | Finds a certificate in a store -> checks the validity of the certificate -> checks the certificate against a rejection list. |
X509_EncryptedEmail_Example_1 | Uses a certificate in the store to encrypt and send an email. |