<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Qlik Sense .NET SDK using the Qlik.Engine  INxQrsEngineService Object settings using Setting method in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-NET-SDK-using-the-Qlik-Engine-INxQrsEngineService/m-p/2518887#M22219</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for this post&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I can't connect with Connect-Qlik -Computername $QlikSenseServer -TrustAllCerts -Username "$($UserDirectory)\$($UserID)"&lt;BR /&gt;I have an error related to the certificate, maybe you can help me?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I'm using Qlik sense enterprise, and I have this feedback : Invoke-RestMethod powershell: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.&lt;/P&gt;&lt;P&gt;Thanks in advance for your help&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/42326"&gt;@michasiuk&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 23 May 2025 15:02:15 GMT</pubDate>
    <dc:creator>lea_ternat</dc:creator>
    <dc:date>2025-05-23T15:02:15Z</dc:date>
    <item>
      <title>Qlik Sense .NET SDK using the Qlik.Engine  INxQrsEngineService Object settings using Setting method</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-NET-SDK-using-the-Qlik-Engine-INxQrsEngineService/m-p/1937515#M16873</link>
      <description>&lt;P&gt;I'm very new to the Qlik Sense SDK but fairly familiar with PowerShell. We net to change the themes and images in a number of Apps on our Qlik Sense installation. Basically rebrand the Apps.&amp;nbsp; To do this manually is a lot of work, so I have been looking into the .NET SDK. I have managed to figure how to modify the load script and rename sheets in an App using PowerShell and the SDK.&amp;nbsp; I'm not even sure if&amp;nbsp;INxQrsEngineService is what I should be using because I'm so new to this and I'm the the documentation a bit ambiguous. an excerpt form the PowerShell that I'm using is listed below:&lt;/P&gt;
&lt;P&gt;Connect-Qlik -Computername $QlikSenseServer -Certificate $cert -Username "$($UserDirectory)\$($UserID)"&lt;/P&gt;
&lt;P&gt;$Location = [Qlik.Engine.Location]::FromUri($SenseServerURL)&lt;/P&gt;
&lt;P&gt;$Credentials = [Qlik.Engine.LocationExtensions]::AsDirectConnection($Location, $UserDirectory,$UserID,$extendedSecurityEnvironment,$certificateValidation,$cert)&lt;/P&gt;
&lt;P&gt;$QEAppIdentifier = [Qlik.Engine.LocationExtensions]::AppWithId($Location, $TestAppID)&lt;/P&gt;
&lt;P&gt;$QEApp = [Qlik.Engine.LocationExtensions]::App($Location, $QEAppIdentifier)&lt;/P&gt;
&lt;P&gt;$QEAppSettings = [Qlik.Engine.INxQrsEngineService]::Settings($QEApp)&lt;/P&gt;
&lt;P&gt;I have been referring to the following documentation: &lt;A href="https://help.qlik.com/en-US/sense-developer/May2021/Subsystems/NetSDKAPIref/Content/Qlik.Engine.INxQrsEngineService.htm" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/sense-developer/May2021/Subsystems/NetSDKAPIref/Content/Qlik.Engine.INxQrsEngineService.htm&lt;/A&gt;&amp;nbsp;which lists name and settings.&lt;/P&gt;
&lt;P&gt;I promptly got the following error.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Method invocation failed because [Qlik.Engine.INxQrsEngineService] does not contain a method named 'settings'.&lt;BR /&gt;At E:\Qlik\PowerShell\Script\ListSheets.ps1:54 char:1&lt;BR /&gt;+ $QEAppSettings = [Qlik.Engine.INxQrsEngineService]::Settings($QEApp)&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : InvalidOperation: (:) [], RuntimeException&lt;BR /&gt;+ FullyQualifiedErrorId : MethodNotFound&lt;/P&gt;
&lt;P&gt;I managed to realize that it was a property not a method.&lt;/P&gt;
&lt;P&gt;When I ran the following code:&lt;/P&gt;
&lt;P&gt;$QSINxQrsEngineService = [Qlik.Engine.INxQrsEngineService]&lt;/P&gt;
&lt;P&gt;$QSINxQrsEngineService&lt;/P&gt;
&lt;P&gt;I got the output listed below which gave me no reference to name or settings as listed in the documentation so I'm basically lost in trying to find a solution to my problem:&lt;/P&gt;
&lt;P&gt;Module : Qlik.Engine.dll&lt;BR /&gt;Assembly : Qlik.Engine, Version=15.4.2.0, Culture=neutral, PublicKeyToken=1a848309662c81e5&lt;BR /&gt;TypeHandle : System.RuntimeTypeHandle&lt;BR /&gt;DeclaringMethod : &lt;BR /&gt;BaseType : &lt;BR /&gt;UnderlyingSystemType : Qlik.Engine.INxQrsEngineService&lt;BR /&gt;FullName : Qlik.Engine.INxQrsEngineService&lt;BR /&gt;AssemblyQualifiedName : Qlik.Engine.INxQrsEngineService, Qlik.Engine, Version=15.4.2.0, Culture=neutral, PublicKeyToken=1a848309662c81e5&lt;BR /&gt;Namespace : Qlik.Engine&lt;BR /&gt;GUID : f30e8025-64b1-36bf-b78b-2e46f03b29a6&lt;BR /&gt;IsEnum : False&lt;BR /&gt;GenericParameterAttributes : &lt;BR /&gt;IsSecurityCritical : True&lt;BR /&gt;IsSecuritySafeCritical : False&lt;BR /&gt;IsSecurityTransparent : False&lt;BR /&gt;IsGenericTypeDefinition : False&lt;BR /&gt;IsGenericParameter : False&lt;BR /&gt;GenericParameterPosition : &lt;BR /&gt;IsGenericType : False&lt;BR /&gt;IsConstructedGenericType : False&lt;BR /&gt;ContainsGenericParameters : False&lt;BR /&gt;StructLayoutAttribute : &lt;BR /&gt;Name : INxQrsEngineService&lt;BR /&gt;MemberType : TypeInfo&lt;BR /&gt;DeclaringType : &lt;BR /&gt;ReflectedType : &lt;BR /&gt;MetadataToken : 33555105&lt;BR /&gt;GenericTypeParameters : {}&lt;BR /&gt;DeclaredConstructors : {}&lt;BR /&gt;DeclaredEvents : {}&lt;BR /&gt;DeclaredFields : {}&lt;BR /&gt;DeclaredMembers : {System.String get_name(), Void set_name(System.String), Qlik.Engine.NxQrsEngineSettings get_settings(), Void set_settings(Qlik.Engine.NxQrsEngineSettings)...}&lt;BR /&gt;DeclaredMethods : {System.String get_name(), Void set_name(System.String), Qlik.Engine.NxQrsEngineSettings get_settings(), Void set_settings(Qlik.Engine.NxQrsEngineSettings)}&lt;BR /&gt;DeclaredNestedTypes : {}&lt;BR /&gt;DeclaredProperties : {System.String name, Qlik.Engine.NxQrsEngineSettings settings}&lt;BR /&gt;ImplementedInterfaces : {Qlik.Engine.IAbstractStructure}&lt;BR /&gt;TypeInitializer : &lt;BR /&gt;IsNested : False&lt;BR /&gt;Attributes : AutoLayout, AnsiClass, Class, Public, ClassSemanticsMask, Abstract&lt;BR /&gt;IsVisible : True&lt;BR /&gt;IsNotPublic : False&lt;BR /&gt;IsPublic : True&lt;BR /&gt;IsNestedPublic : False&lt;BR /&gt;IsNestedPrivate : False&lt;BR /&gt;IsNestedFamily : False&lt;BR /&gt;IsNestedAssembly : False&lt;BR /&gt;IsNestedFamANDAssem : False&lt;BR /&gt;IsNestedFamORAssem : False&lt;BR /&gt;IsAutoLayout : True&lt;BR /&gt;IsLayoutSequential : False&lt;BR /&gt;IsExplicitLayout : False&lt;BR /&gt;IsClass : False&lt;BR /&gt;IsInterface : True&lt;BR /&gt;IsValueType : False&lt;BR /&gt;IsAbstract : True&lt;BR /&gt;IsSealed : False&lt;BR /&gt;IsSpecialName : False&lt;BR /&gt;IsImport : False&lt;BR /&gt;IsSerializable : False&lt;BR /&gt;IsAnsiClass : True&lt;BR /&gt;IsUnicodeClass : False&lt;BR /&gt;IsAutoClass : False&lt;BR /&gt;IsArray : False&lt;BR /&gt;IsByRef : False&lt;BR /&gt;IsPointer : False&lt;BR /&gt;IsPrimitive : False&lt;BR /&gt;IsCOMObject : False&lt;BR /&gt;HasElementType : False&lt;BR /&gt;IsContextful : False&lt;BR /&gt;IsMarshalByRef : False&lt;BR /&gt;GenericTypeArguments : {}&lt;BR /&gt;CustomAttributes : {[Newtonsoft.Json.JsonObjectAttribute()], [Qlik.Engine.ValueClassAttribute()]}&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/29458"&gt;@Marc&lt;/a&gt;&amp;nbsp;,&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/42326"&gt;@michasiuk&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2022 06:29:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-NET-SDK-using-the-Qlik-Engine-INxQrsEngineService/m-p/1937515#M16873</guid>
      <dc:creator>michasiuk</dc:creator>
      <dc:date>2022-05-31T06:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense .NET SDK using the Qlik.Engine  INxQrsEngineService Object settings using Setting method</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-NET-SDK-using-the-Qlik-Engine-INxQrsEngineService/m-p/1937567#M16875</link>
      <description>&lt;P&gt;For the App Thumbnail, we can use the QRS API's&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;$QlikApp = Get-QlikApp -id $TestAppID -raw
$QlikApp.thumbnail = '/content/default/file.png'
Invoke-QlikPut "/qrs/app/$($QlikApp.id)" -body $($QlikApp|ConvertTo-Json -Depth 10)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to update the AppProperties,&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;$QEApp = [Qlik.Engine.LocationExtensions]::App($Location, $QEAppIdentifier, $Session, $noData)
$AppInfo = $QEApp.GetAllInfos()
$AppProps = $AppInfo | Where-Object{
    $_.type -eq 'appprops'
}
$QEAppProps = $QEApp.GetGenericObject($AppProps.Id)
$AppProperties = $QEAppProps.GetProperties()

# Generic Methods are a pain...
$AppPropObj = $AppProperties.GetType().GetMethod("As").MakeGenericMethod([Qlik.Sense.Client.AppPropertiesObjectProperties]).Invoke($AppProperties,$null)

#Once we have the AppPropertiesObject We can set the properties such as Theme and colours
$AppPropObj.Theme=$SelectedTheme
$AppPropObj.SheetTitleBgColor = '#8e477d'
$AppPropObj.SheetTitleColor = '#4477aa'
$AppPropObj.SheetLogoThumbnail.StaticContentUrlDef.Url = '/appcontent/c5e963ad-9497-4ca6-8d10-e6ca500b58eb/Icon_Chart_grey.png'

$QEAppProps.SetProperties($AppPropObj)

$QEApp.SaveObjects()
$QEApp.Dispose()&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2022 07:26:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-NET-SDK-using-the-Qlik-Engine-INxQrsEngineService/m-p/1937567#M16875</guid>
      <dc:creator>Marc</dc:creator>
      <dc:date>2022-05-31T07:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense .NET SDK using the Qlik.Engine  INxQrsEngineService Object settings using Setting method</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-NET-SDK-using-the-Qlik-Engine-INxQrsEngineService/m-p/2518887#M22219</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for this post&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I can't connect with Connect-Qlik -Computername $QlikSenseServer -TrustAllCerts -Username "$($UserDirectory)\$($UserID)"&lt;BR /&gt;I have an error related to the certificate, maybe you can help me?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I'm using Qlik sense enterprise, and I have this feedback : Invoke-RestMethod powershell: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.&lt;/P&gt;&lt;P&gt;Thanks in advance for your help&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/42326"&gt;@michasiuk&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2025 15:02:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-NET-SDK-using-the-Qlik-Engine-INxQrsEngineService/m-p/2518887#M22219</guid>
      <dc:creator>lea_ternat</dc:creator>
      <dc:date>2025-05-23T15:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense .NET SDK using the Qlik.Engine  INxQrsEngineService Object settings using Setting method</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-NET-SDK-using-the-Qlik-Engine-INxQrsEngineService/m-p/2518922#M22221</link>
      <description>&lt;P&gt;That would be because to use the parameter UserName you must also supply the Qlik client certificate.&lt;/P&gt;
&lt;P&gt;$QlikClientCertificate = Get-ChildItem Cert:\CurrentUser\My\ | Where-Object {&lt;BR /&gt;$_.Subject -eq "CN=QlikClient" &lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;Connect-Qlik -Computername $QlikSenseServer -TrustAllCerts -Username "$($UserDirectory)\$($UserID)" -Certificate&amp;nbsp;$QlikClientCertificate&lt;/P&gt;</description>
      <pubDate>Sat, 24 May 2025 01:32:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-NET-SDK-using-the-Qlik-Engine-INxQrsEngineService/m-p/2518922#M22221</guid>
      <dc:creator>Marc</dc:creator>
      <dc:date>2025-05-24T01:32:43Z</dc:date>
    </item>
  </channel>
</rss>

