UMT360.Client 5.18.2020.1007

There is a newer version of this package available.
See the version list below for details.
dotnet add package UMT360.Client --version 5.18.2020.1007
                    
NuGet\Install-Package UMT360.Client -Version 5.18.2020.1007
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="UMT360.Client" Version="5.18.2020.1007" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="UMT360.Client" Version="5.18.2020.1007" />
                    
Directory.Packages.props
<PackageReference Include="UMT360.Client" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add UMT360.Client --version 5.18.2020.1007
                    
#r "nuget: UMT360.Client, 5.18.2020.1007"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package UMT360.Client@5.18.2020.1007
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=UMT360.Client&version=5.18.2020.1007
                    
Install as a Cake Addin
#tool nuget:?package=UMT360.Client&version=5.18.2020.1007
                    
Install as a Cake Tool

UMT360.Client

UMT360 offers this CSOM (client side object model) library for clients using UMT360.

This is a very short tutorial to let you get started fast. We will create a simple console application with .Net Framework and connect to the product to list project entities available in product.

Prerequisites

  • UMT360 Solution deployed and configured
  • Credentials and permissions to access application
  • Visual Studio and .Net Framework v4.5

CSOM Client Test application

  1. Create a new console app.

  2. Opent Tools > NuGet Package Manager > Manage NuGet Packages for Solution…

  3. Select Browse tab and insert UMT360.Client in search box.

  4. Click on our package then look in the right side panel and select the project where you want to install the library.
    Click install button and review packages that will be installed, then accept the license.
    In a few seconds we are ready to go.

  5. Add a CSOMConfig.cs class to project.

  6. Import libraries:

     using UMT360.Client;
     using UMT360.Client.Application;
    
  7. Add class member variables to hold server url to pwa and context.

     private string _serverUrl = "http://<server>/sites/pwa/";
     private UMT360Context _appOnlyContext;
    
  8. If you have credentials, go to SharePoint Central Admin <server_url>:<port> and grab you client_id, client_secret, realm, certificate.cer informations.
    If you don't have, ask your administrator.

  9. Initialize the class with credentials

     public CSOMConfig()
     {
         TokenHelper.InitializeAppConfiguration(
                 "<client_id>",		//clientid
                 "",					//clientSecret
                 "<realm>",			//realm
                 "<issuer_id>",		//issuerId
                 @"C:\<path>\certificate.pfx",	//get it from: http://<server>:<port>/ Central Admin
                 "<certificate_password>",       //certificate password
                 "AAD for UMT360Online"          //trusted provider name  
             );
     }
    

    Configure a property with CSOM elevated context to be used later in CSOM calls.

     /// <summary>
     /// Gets an elevated, app-only CSOM context 
     /// </summary>
     protected UMT360Context AppOnlyContext
     {
     	get
     	{
     		if (_appOnlyContext == null)
     		{
     			_appOnlyContext = new UMT360Context(_serverUrl);
     			_appOnlyContext.AuthenticateWithClaims();
     		}
     		return _appOnlyContext;
     	}
     }
    
  10. Create a new class, let's say FinancialEntities.cs, that inherits CSOMConfig. In this class we will add a method that reads all project entities from current pwa.
    Notice! From now on, you don't need using UMT360.Client.Application; reference anymore.

    using UMT360.Client;
    
    namespace CSOM_client_test
    {
    	public class FinancialEntities : CSOMConfig
    	{
    		/// <summary>
    		/// Reads the Financial Entities Collection from CSOM server
    		/// </summary>
    		/// <returns></returns>
    		public FinancialEntityCollection ReadFinancialEntities()
    		{
        		AppOnlyContext.ClearCache();
        		FinancialEntityCollection entities = AppOnlyContext.FinancialEntities;
        		AppOnlyContext.Load(entities);
        		AppOnlyContext.ExecuteQuery();
    
        		return entities;
    		}
    	}
    }
    
  11. Back to main class, Program.cs and add using UMT360.Client; reference and create am instance of FinancialEntities than Use the method to read collection and iterate it to console output.

    // My class instance: FinancialEntities 
    FinancialEntities csom = new FinancialEntities();
    
    // Read collection of financial entities from CSOM
    FinancialEntityCollection entities = csom.ReadFinancialEntities();
    
    //List entities
    foreach(FinancialEntity entity in entities)
    {
        Console.WriteLine($"Entity: {entity.Name}");
    }
    
Product Compatible and additional computed target framework versions.
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.27.2025.829 175 8/29/2025
5.27.2025.801 146 8/3/2025
5.27.2025.724 374 7/25/2025
5.27.2025.627 166 6/27/2025
5.27.2025.530 186 5/30/2025
5.27.2025.328 175 3/28/2025
5.27.2025.220 149 2/21/2025
5.27.2024.1129 163 11/29/2024
5.27.2024.1105 144 11/6/2024
5.27.2024.1024 137 10/25/2024
5.27.2024.926 150 9/27/2024
5.27.2024.830 172 8/30/2024
5.27.2024.725 151 7/26/2024
5.27.2024.627 167 6/28/2024
5.27.2024.524 181 5/24/2024
5.27.2024.223 201 2/23/2024
5.26.2023.1025 200 10/27/2023
5.26.2023.728 276 7/28/2023
5.26.2023.622 245 6/23/2023
5.26.2023.526 225 5/29/2023
5.25.2023.427 250 4/28/2023
5.25.2023.324 318 3/24/2023
5.25.2023.223 359 2/24/2023
5.24.2023.106 407 1/10/2023
5.24.2022.1213 384 12/16/2022
5.23.2022.909 509 9/9/2022
5.23.2022.728 524 7/29/2022
5.22.2022.329 576 3/31/2022
5.21.2021.1203 843 12/3/2021
5.21.2021.1108 1,253 11/18/2021 5.21.2021.1108 is deprecated.
5.20.2021.803 431 8/6/2021
5.19.2021.402 724 4/8/2021
5.18.2020.1007 573 10/7/2020

Added App Management capabilities