### Working with Guid Parameters Source: https://academy.creatio.com/docs/8.x/no-code-customization/bpm-tools/process-elements-reference/system-actions/script-task-process-element Demonstrates how to get, check, and set a Guid parameter, including resetting it to Guid.Empty. ```csharp Guid uniqueIdentifierValue = Get("UniqueIdentifierParameter"); if (uniqueIdentifierValue != Guid.Empty) { uniqueIdentifierValue = Guid.Empty; Set("UniqueIdentifierParameter", uniqueIdentifierValue); } ``` -------------------------------- ### Register Site Example (Kubernetes, MS SQL) Source: https://academy.creatio.com/docs/8.x/setup-and-administration/on-site-deployment/containerized-components/global-search Example of registering a Microsoft SQL database site in global search for a Kubernetes deployment. ```bash curl -v -X POST -d '{"databaseType": "mssql", "databaseConnectionString": "Server=myserver\mssql2016; Database=my-test-site; User Id=my-login; Password='my-password'; Connection Timeout=10"}' -H "Content-Type: application/json" http://[GS_WEB_API_URL]/sites/my-test-site ``` -------------------------------- ### Register Site Example (Docker, MS SQL) Source: https://academy.creatio.com/docs/8.x/setup-and-administration/on-site-deployment/containerized-components/global-search Example of registering a Microsoft SQL database site in global search for a Docker deployment. ```bash curl -v -X POST -d '{"databaseType": "mssql", "databaseConnectionString": "Server=myserver\mssql2016; Database=my-test-site; User Id=my-login; Password='my-password'; Connection Timeout=10"}' -H "Content-Type: application/json" http://[SERVER2_IP_ADDRESS]:81/sites/my-test-site ``` -------------------------------- ### Execute Method Request Example Source: https://academy.creatio.com/docs/8.x/dev/development-on-creatio-platform/integrations-and-api/business-process-service/references/processengineservice-svc Example of a GET request to the Execute() method of the ProcessEngineService.svc. This method runs a business process and can return its outcome. ```http GET ``` -------------------------------- ### Connect Search Example (Kubernetes) Source: https://academy.creatio.com/docs/8.x/setup-and-administration/on-site-deployment/containerized-components/global-search Example of connecting the search functionality to a site using the 'default.json' template for a Kubernetes deployment. ```bash curl -v -X POST -d '{"templateName": "default.json"}' -H "Content-Type: application/json" http://[GS_WEB_API_URL]/sites/my-test-site/search ``` -------------------------------- ### Example Request to Read File Data Source: https://academy.creatio.com/docs/8.x/dev/development-on-creatio-platform/integrations-and-api/data-services/odata/odata-file-api/references/endpoints This example demonstrates how to make a GET request to retrieve the binary content of a file with a specific ID from the SysFile object. ```http GET https://mycreatio.com/0/odata/SysFile(410006e1-ca4e-4502-a9ec-e54d922d2c00)/Data HTTP/1.1 ``` -------------------------------- ### Connect Search Example (Docker) Source: https://academy.creatio.com/docs/8.x/setup-and-administration/on-site-deployment/containerized-components/global-search Example of connecting the search functionality to a site using the 'default.json' template for a Docker deployment. ```bash curl -v -X POST -d '{"templateName": "default.json"}' -H "Content-Type: application/json" http://[SERVER2_IP_ADDRESS]:81/sites/my-test-site/search ``` -------------------------------- ### Unpack Creatio Setup Archive on Linux Source: https://academy.creatio.com/docs/8.x/setup-and-administration/on-site-deployment/application-server-on-linux/prepare-creatio-net-setup-files-on-linux Use the unzip command to extract Creatio setup files to a specified directory. Ensure the unzip utility is installed if the command is not found. ```bash unzip -d /path/to/application/directory/ CREATIO_ARCHIVE_NAME.zip ``` ```bash unzip creatio_archive_name.zip ``` ```bash sudo apt-get install unzip ``` -------------------------------- ### Few-Shot Prompting Examples Source: https://academy.creatio.com/docs/8.x/no-code-customization/ai-tools/creatio-ai/develop-ai-skill/intent-development-recommendations Provide examples of expected model responses to guide the LLM. This technique, known as few-shot prompting, helps the model understand the desired output format and content. ```plaintext The example response must be no longer than 150 characters. Here are the expected examples: [Response #1] Total score: 17. Errors: Informal greeting, Repeatedly requested already provided client information. [Response #2] Total score: 23. Errors: No follow-up on additional questions after 5 minutes. ``` -------------------------------- ### Install .NET SDK Source: https://academy.creatio.com/docs/8.x/setup-and-administration/on-site-deployment/application-server-on-linux/deploy-the-creatio-net-application-on-linux Installs the .NET SDK. Replace '[version]' with the desired SDK version, e.g., '8.0'. ```bash apt-get install dotnet-sdk-[version] ``` -------------------------------- ### NLog Path Example for Default Configuration Logs (Specific) Source: https://academy.creatio.com/docs/8.x/dev/development-on-creatio-platform/development-tools/logging/nlog A concrete example of a path to log files for the Default configuration, demonstrating a specific directory structure and date. ```text C:\Windows\Temp\Creatio\Site_1\creatio806\0\Log\2022_05_22 ```