<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">

<channel>

  <atom:link href="https://community.pyramidanalytics.com/rss/category/admin" rel="self" type="application/rss+xml"/>
  <title>Pyramid Analytics User Community&#32;Admin</title>
  <link>https://community.pyramidanalytics.com/category/admin/</link>
  <description></description>
  <language>en-us</language>
<ttl>240</ttl>
  <item>
          <title>How Pyramid Determines the Maximum Number of Rows in Reports and Queries</title>
          <link>https://community.pyramidanalytics.com/t/q6yt5c4/how-pyramid-determines-the-maximum-number-of-rows-in-reports-and-queries</link>
          <description><![CDATA[<p>In Pyramid Analytics, managing data queries efficiently is critical for system performance and memory usage.</p>
<h3 id="understanding-query-limit-settings">Understanding Query Limit Settings</h3>
<p>The below settings are located&nbsp;in the <span class="pen4">Admin Console</span> under <span class="pen4"><a href="https://help.pyramidanalytics.com/Content/Root/AdminClient/data%20sources/System%20Limits.htm?Highlight=query%20limits" rel="nofollow noopener noreferrer" target="_blank">Data &gt; Query Limit</a></span></p>
<ul>
 <li><strong>SQL Result Limit:</strong> Defines the&nbsp;maximum number of rows that can be processed during query execution before the final result is returned to the client.</li>
 <li><strong>Result&nbsp;Limit:</strong>&nbsp;Specifies the maximum number of rows that can appear in the client (e.g., a report)</li>
</ul>
<p>Typically, the <strong>SQL Result Limit</strong> is set higher than the <strong>Result Limit</strong> because Pyramid’s engine can process more data than a browser can display.</p>
<h3 id="impact-of-adjusting-limits">Impact of Adjusting Limits</h3>
<p>While these limits can be modified in the Admin Console, increasing them can lead to higher memory usage by Pyramid’s Run-Time Engine (RTE). If performance issues arise, consider allocating additional memory resources to the machine running the RTE to handle the increased load.</p>
<h3 id="how-are-query-limits-calculated">How Are Query Limits Calculated?</h3>
<ul>
 <li><strong>SQL Result Limit</strong><br> <br>The SQL "Select Top" or "Limit" in the query is determined by the lower of the following two factors: 
  <ul>
   <li><p>The admin-defined&nbsp;<strong>SQL Result Limit</strong>.</p></li>
   <li>A calculated limit, based on the number of columns in the query:<br> <strong>SQL Result Limit</strong> = (Admin "SQL Result Limit" × 4) / Number of Columns</li>
  </ul></li>
</ul>
<p style="text-indent:60px;">For example, if the admin limit is 25 million rows and the query has 9 columns, the SQL Result Limit will be:</p>
<p style="text-indent:60px;">SQL Result Limit = 25M × 4 / 9 ≈ 11,111,111 rows</p>
<p style="text-indent:60px;"><span class="pen6">The 11,111,111 value will appear in the "Select Top" / "Limit" part of the query.</span></p>
<p>&nbsp;</p>
<ul>
 <li><strong>Result&nbsp;Limit</strong><br> <br>The number of rows displayed in the report is determined by the lower of the following two factors: 
  <ul>
   <li>The admin-defined&nbsp;<strong>Result Limit</strong>.</li>
   <li>The calculated limit, based on the number of columns in the query:<br> <strong>Result Limit</strong> = (Admin "Result Limit" × 4) / Number of Columns</li>
  </ul></li>
</ul>
<p style="text-indent:60px;">For example, if the admin limit is 500,000 rows and the query has 9 columns, the Result Limit will be:</p>
<p style="text-indent:60px;">Result Limit = 500,000 × 4 / 9 ≈ 222,222 rows</p>
<p style="text-indent:60px;"><span class="pen6">The 222,222 value represents the maximum number of rows that will be displayed in the report.</span></p>
<p>&nbsp;</p>
<p><strong>Note</strong>: If a query returns more rows than the limit specified in one of the above query limit settings, a warning icon will appear in the bottom right-hand corner of the screen with the message: "The SQL cell limit of (#max rows) was reached while processing this result".<br> <br><strong>Note</strong>: For how to determine the <a class="permalink" href="#anchor" id="anchor" rel="nofollow noopener noreferrer">Number of Columns in a Query</a>&nbsp;see below.</p>
<h3 id="discovery-row-limit-settings">Discovery Row Limit Settings</h3>
<p>The <strong>Row Limit</strong> settings allow users to override both the <strong>Result Limit </strong>and <strong>SQL Result Limit.</strong>&nbsp;These settings can be accessed as follows:</p>
<ul>
 <li>Discovery &gt;<strong>&nbsp;</strong>Query Ribbon<strong> &gt;</strong>&nbsp;Query Settings</li>
 <li>The User Defaults settings, which are located on the <a href="https://help.pyramidanalytics.com/Content/Root/MainClient/appShell/UserDefaults.htm?Highlight=user%20defaults" rel="nofollow noopener noreferrer" target="_blank">Home page</a>,&nbsp;<span style="box-sizing: border-box; margin: 0px; padding: 0px;"><a href="https://help.pyramidanalytics.com/Content/Root/MainClient/apps/Discover/PRO/Workspace/UserDefaults.htm?Highlight=user%20defaults" rel="nofollow noopener noreferrer" target="_blank">Discovery,&nbsp;</a>and</span>&nbsp;the <a href="https://help.pyramidanalytics.com/Content/Root/AdminClient/access/User%20Defaults%20(Administrative).htm?Highlight=user%20defaults" rel="nofollow noopener noreferrer" target="_blank">Admin Console</a></li>
</ul>
<p style="text-align:left"><img alt="" class="fb-img" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/c3d11238-f751-423a-b6b9-33390a8e7a64/h/547.png" style="" width="415"></p>
<p>When the <strong>'Amount of Shown Rows'</strong> value is set, it will override the default <strong>Result Limit</strong> setting in the Admin Console.</p>
<p>Enabling the <strong>'Apply this limit to queries against the data source'</strong> option will enforce the <strong>'Amount of Shown Rows'</strong> value on both the <strong>Result Limit</strong> and the <strong>SQL Result Limit</strong>.</p>
<hr>
<h3 id="how-to-determine-the-number-of-columns-in-a-query">How to Determine the Number of Columns in a Query</h3>
<p>&nbsp;</p>
<p>To understand how query limit settings impact your queries, it's crucial to determine the number of columns involved. However, the columns shown in the grid or under the (i) Information &gt; Statistics section may not represent all the columns queried by the engine. For example, attributes sorted by another column (e.g., month name sorted by month number) may result in additional columns being queried.</p>
<p>To accurately determine the Number of Columns in a Query:</p>
<ol>
 <li>Inspect the SQL Query: Find the SELECT clause, which specifies the columns to be included in the result set.</li>
 <li>Count the Columns: Each item in the SELECT clause (separated by commas) represents a column. These can include: 
  <ul>
   <li>Aggregate functions like SUM, MIN, or MAX.</li>
   <li>Individual column names.</li>
   <li>Expressions or calculations.</li>
  </ul></li>
</ol>]]></description>
          <pubDate>Sun, 29 Sep 2024 12:16:53 +0000</pubDate>
          <guid>https://community.pyramidanalytics.com/t/q6yt5c4/how-pyramid-determines-the-maximum-number-of-rows-in-reports-and-queries</guid>
          <dc:creator>Galit Backlund</dc:creator>
        </item>

      <item>
          <title>Tip of the Day - How to integrate content to Salesforce</title>
          <link>https://community.pyramidanalytics.com/t/y4y6shx/tip-of-the-day-how-to-integrate-content-to-salesforce</link>
          <description><![CDATA[<h2>How to integrate content from Pyramid into Salesforce</h2>
<h3><span class="pen4">Create Content in Pyramid</span></h3>
<p>In this document we are showing how you can embed a present object from Pyramid into Salesforce, and do it in context with specific SFDC objects, such as Accounts, Contacts, Opportunities, and others.</p>
<p>When building your present that you want to embed, the only real difference between a normal present and a present you want to embed is that here you will need to create a target.</p>
<p>1.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; On the left side of the designer page, click on the “Targets” tab.</p>
<p style="text-align:left"><img alt="" class="fb-img" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/89ae2ea0-322b-4262-9b5d-38cac4616887/h/547.png" style="" width="243"></p>
<p>2.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Click the “+” icon to add a target.</p>
<p>&nbsp;</p>
<p style="text-align:left"><img alt="" class="fb-img" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/f9f9b765-bda3-4c73-b12a-446f34e9a8d8/h/547.png" style="" width="303"></p>
<p>&nbsp;3.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Double click on the newly created target to rename to what you want.</p>
<p>&nbsp;</p>
<p style="text-align:left"><img alt="" class="fb-img" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/474396a7-bff2-4647-b33f-1d96c347cd18/h/547.png" style="" width="338"></p>
<p>&nbsp;4.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;Connect your target to one of the slicers either visible or hidden on your page.</p>
<p>&nbsp;</p>
<p style="text-align:left"><img alt="" class="fb-img" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/34589cfd-4636-40bd-b973-574151aa82af/h/547.png" style="" width="246"></p>
<h3>&nbsp;<span class="pen4">Creating your Dynamic URL to embed into SFDC</span></h3>
<p>This section is all about creating the URL that will be used in Salesforce to launch your dashboard in context of the Salesforce object.&nbsp; Below is a link that lays out the steps to create this URL.&nbsp;</p>
<p>Pyramid Help – <a href="https://help.pyramidanalytics.com/Content/Root/developer/reference/Extensibility/Parameterization/Target%20Parameterization.htm?tocpath=Tech%20Reference%7CExtensibility%7CExternal%20Parameterization%7C_____1" rel="nofollow noopener noreferrer" target="_blank">Target Parameterization for Presentations</a></p>
<p>When you get the part of the URL where you need a specific value from Salesforce, you will need to identify the object name in Salesforce you want to use.&nbsp; This can be found in the Advanced Settings section of Salesforce.&nbsp; If you look in the Object Manager area, it gives you a list of all Objects you can use.&nbsp; Just to reference how I wrote the Account Name object, see below.&nbsp; If you are not sure, one way to do it is to ask ChatGPT and look for the URLEncode syntax in the results.</p>
<p>Account Name Object</p>
<p>[{!URLENCODE(Account.Name)}]</p>
<p>&nbsp;</p>
<p>Taking that into consideration, below is the finished URL I put to call me dashboard from Pyramid.</p>
<pre class="language-none"><code class="language-none">https://explore.pyramidanalytics.com/direct?id=xxxxxxxxxxxxxxxxxxxxxxxx&amp;&amp;target[Wellness]=[Sheet1].[Wellness%20Specialist].[{!URLENCODE(Account.Name)}]</code></pre>
<h3><span class="pen4">Create a Visualforce Page in Salesforce</span></h3>
<p>To embed your dashboard into Salesforce, you will first have to create a new Visualforce Page.&nbsp; This will create&nbsp; the code that will be embedded in an iframe in Salesforce.</p>
<p>&nbsp;</p>
<p style="text-align:left"><img alt="" class="fb-img" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/50e49675-536e-40c6-8c90-62195531007b/h/547.png" style="" width="231"></p>
<p>&nbsp;When you create a new page, it can be as simple as the below example or as complex as you would like.</p>
<p>&nbsp;</p>
<p style="text-align:left"><img alt="" class="fb-img" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/4ddb6767-9c3e-4594-97fc-f23cd991b754/h/547.png" style="" width="975"></p>
<h3>&nbsp;<span class="pen4">Adding Visualforce Page</span></h3>
<p>The last step is to add your Visualforce page to the layout of your Salesforce page you want it to appear in.&nbsp; If you go to the object you want to embed into, you should see a Lightning Record Pages section.&nbsp; Here is where I found you can easily add an iframe and insert your Visualforce Page.</p>
<p>&nbsp;</p>
<p style="text-align:left"><img alt="" class="fb-img" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/b70f7dc9-c5fe-4d75-bcfc-66941cb6763e/h/547.png" style="" width="975"></p>
<p>&nbsp;</p>
<p>Let us know if you have questions or need help.</p>]]></description>
          <pubDate>Thu, 09 May 2024 13:15:00 +0000</pubDate>
          <guid>https://community.pyramidanalytics.com/t/y4y6shx/tip-of-the-day-how-to-integrate-content-to-salesforce</guid>
          <dc:creator>Kevin Kratzer</dc:creator>
        </item>

      <item>
          <title>Pyramid Data Tip of the Day - Admin Hub Widgets</title>
          <link>https://community.pyramidanalytics.com/t/83yxcnp/pyramid-datatipoftheday-admin-hub-widgets</link>
          <description><![CDATA[<h2>Video of the Day – Admin Hub Widgets</h2>
<p>Our video of the day looks at the newest widgets available in the Admin Hub from our recent release Pyramid 2023.10.</p>
<p>The Admin Hub displays the topology of the services in the Pyramid cluster, including high level diagnostic data. This enables system administrators to control and monitor the system health, tasks, and usage in Pyramid.&nbsp;</p>
<p style="text-align:left"><img alt="" class="fb-img" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/238f2bdf-fa1d-4241-81de-10b0cae70281/h/547.png" style="" width="975"></p>
<p>You can customize the hub as needed by adding a range of widget presets showing information about the current licensing, pulse nodes, task status, users, and more. Customization lets you keep track of the metrics that are most important to you.&nbsp;</p>
<p>The latest widgets available in the Admin Hub are: In Memory DB Status, Prints Today, and Exports to Excel Today.</p>
<p>The In Memory DB Status widget (image below) lets you monitor the status of IMDB servers in real time, helping you manage and understand the load and performance of the IMDB. The widget shows you the database name and resource usage information for the host machine's CPU, RAM, and HDD. You can also restart the service and download a log of database activities.&nbsp;</p>
<p style="text-align:left"><img alt="" class="fb-img" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/0db72ec7-6eda-4a22-bec8-d3b58acaccfe/h/547.png" style="" width="435"></p>
<p>The Prints Today widget (purple highlight below) allows you to track the number of items exported for printing. And Exports to Excel Today (green highlight below) enables you to track the number of items exported to Excel.</p>
<p style="text-align:left"><img alt="" class="fb-img" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/772f63dc-2750-404d-8b2d-63ae256b2627/h/547.png" style="" width="975"></p>
<h3>How to configure the Admin Hub&nbsp;</h3>
<p>Watch this short video to learn about the new Admin Hub Widgets. Click <a href="https://help.pyramidanalytics.com/Content/Root/AdminClient/home/AdminHub.htm?Highlight=admin%20hub" rel="nofollow noopener noreferrer" target="_blank">here</a>&nbsp;for more details in our Help Pages.</p>
<p><span class="video-inline" data-href="https%3A%2F%2Fpyramidanalytics%2Ewistia%2Ecom%2Fmedias%2Fnab0j1gjnx%3FvideoFoam%3Dfalse" style="padding-bottom:56.25%;"><iframe allow="autoplay; fullscreen" allowtransparency="true" class="wistia_embed" frameborder="0" height="540" name="wistia_embed" scrolling="no" src="https://fast.wistia.net/embed/iframe/nab0j1gjnx?videoFoam=false" title="Admin Hub Widgets Video" width="960"></iframe> </span></p>
<p>Let us know how you like these small tips below.</p>]]></description>
          <pubDate>Mon, 25 Mar 2024 14:00:00 +0000</pubDate>
          <guid>https://community.pyramidanalytics.com/t/83yxcnp/pyramid-datatipoftheday-admin-hub-widgets</guid>
          <dc:creator>Ruby Mitchell</dc:creator>
        </item>

      <item>
          <title>How To Create ChatGPT-4 API Tokens for Using LLM In Pyramid</title>
          <link>https://community.pyramidanalytics.com/t/m1y8kfn/how-to-create-chatgpt-4-api-tokens-for-using-llm-in-pyramid</link>
          <description><![CDATA[<p style="text-align:start">The LLM Manager allows admins to create and govern LLM Providers. The providers are used to generate images, scripts, excel formulas, translations, and to choose colors using AI. Providers can be added, removed, and edited.</p>
<p style="text-align:start">From version 2023.11.130, Pyramid uses the ChatGPT-4 API engine and it requires access to the ChatGPT Plus account.</p>
<p style="text-align:start">After setting up the ChatGPT Plus account, you must add usage limits to start working with the GPT-4 API.</p>
<p style="text-align:start">Additional details on how to add tokens to the usage limits can be found in the following article:<br> <a href="https://help.openai.com/en/articles/7102672-how-can-i-access-gpt-4" rel="nofollow noopener noreferrer" target="_blank">https://help.openai.com/en/articles/7102672-how-can-i-access-gpt-4</a></p>]]></description>
          <pubDate>Wed, 13 Mar 2024 13:09:03 +0000</pubDate>
          <guid>https://community.pyramidanalytics.com/t/m1y8kfn/how-to-create-chatgpt-4-api-tokens-for-using-llm-in-pyramid</guid>
          <dc:creator>Omri Zach</dc:creator>
        </item>

      <item>
          <title>Pyramid API 3.0 is currently in beta</title>
          <link>https://community.pyramidanalytics.com/t/h7yxatc/pyramid-api-30-is-currently-in-its-beta-phase</link>
          <description><![CDATA[<p>Pyramid API 3.0 is currently in its beta phase until further notice. We are actively collecting feedback from customers and consistently working to address any identified issues.</p>]]></description>
          <pubDate>Thu, 22 Feb 2024 13:01:14 +0000</pubDate>
          <guid>https://community.pyramidanalytics.com/t/h7yxatc/pyramid-api-30-is-currently-in-its-beta-phase</guid>
          <dc:creator>Daniel</dc:creator>
        </item>

      <item>
          <title>How to build a Customized E-Mail Template</title>
          <link>https://community.pyramidanalytics.com/t/83y3v77/how-to-build-a-customized-e-mail-template</link>
          <description><![CDATA[<h2>How to Build a Customized E-Mail Template</h2>
<p>Distributing Information on a regular basis is a key component of every BI Strategy. Sending e-mails in a fashion that is recognizable and individualized is a big help to drive adoption. Using Email Templates in Pyramid makes the process a lot easier.&nbsp;Email templates allow the customer to custom-design the look and feel of emails that will be sent to end-users. Please Note that Only Admins can create email templates to be used in the platform. Once created, the email template can be set as a default template for a tenant and will be automatically used for all emails used in that tenant.&nbsp;&nbsp;</p>
<p>The Video below shows you how to build an E-Mail Template in Pyramid.</p>
<p>&nbsp;</p>
<p><span class="video-inline" data-href="https%3A%2F%2Fpyramidanalytics%2Ewistia%2Ecom%2Fmedias%2F740s5swgec%3FvideoFoam%3Dfalse" style="padding-bottom:49.16%;"><iframe allowfullscreen="””" class="wistia_embed" frameborder="0" height="472" name="wistia_embed" scrolling="no" src="https://fast.wistia.net/embed/iframe/740s5swgec?videoFoam=false" width="960"></iframe> </span></p>
<p>To learn more about an Email Template visit the <a href="https://help.pyramidanalytics.com/Content/Root/AdminClient/design/Email_Templates.htm?tocpath=Admin%20Help%7CDesign%7CEmail%20Templates%7C_____0" rel="nofollow noopener noreferrer" target="_blank">Pyramid help pages for the topic.</a></p>
<p>&nbsp;</p>
<p>Here is a step by step description of the process to create a basic&nbsp;Email Template for a publication that also has a jumper action to a defined URL.&nbsp;&nbsp;</p>
<h3>Preparation.</h3>
<p>HTML is used to customize an email template; I will be using the basic template that has is included in the system and will be adding on to it.&nbsp; I will add text to the paragraph, set up a few slicer values and link to a defined URL.</p>
<p>Below is the end result of our email Template.&nbsp;</p>
<p style="text-align:left"><img alt="" class="fb-img" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/8bb119c7-2da5-4af1-9f78-ac42b11c515f/h/547.png" style="" width="261"></p>
<p>You can access the E-Mail Template section from the Admin Console in the Subgroup for design.</p>
<p style="text-align:left"><img alt="" class="fb-img" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/af988723-f35d-46eb-9fcc-a4de9c2d5574/h/547.png" style="" width="174"></p>
<h3>&nbsp;Step one</h3>
<p>This is the E-Mail Editor in Pyramid, you will find a list of the functionality in the list below.</p>
<p style="text-align:left"><img alt="" class="fb-img" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/7713f045-0ad6-4072-9eab-8bda14431a2b/h/547.png" style="" width="1608"></p>
<ol>
 <li><p>The options on the left hand side are&nbsp;known as Tags. It's important to note that&nbsp;all tags have an opening and a closing. We have a Place Holder tag where we store variables to formatting tags and an image tag where you can input an image .&nbsp;</p></li>
 <li>The template can be created for distinct types of emails (Publication, Subscription....)</li>
 <li>On the right side you see the&nbsp;preview section, can preview your template using a Desktop, Mobile and Plain Text Format.&nbsp;</li>
 <li>Once the template has been created , Test it by clicking on the Test Email</li>
</ol>
<p>In the Demo shown in the Video I will use <em><strong>&lt;span style="text-transform:capitalize" &gt;Good Day [FN] [LN] &lt;/span&gt;</strong></em></p>
<p>to capitalize the first letter of each word in the sentence.&nbsp;</p>
<p>To add a link to the image i will use this html tag&nbsp; <em><strong>&lt;a&gt; &lt;/a&gt;</strong></em> and format it including a link and an image in the tag.&nbsp;</p>
<p>&nbsp;<em><strong> &lt;a&nbsp;href="<a href="https://www.pyramidanalytics.com/" rel="nofollow noopener noreferrer" target="_blank">https://www.pyramidanalytics.com/</a>" &gt;&nbsp; &lt;img width='500 px'&nbsp; src=&nbsp; "... "&nbsp; /&gt;'&nbsp; &lt;/a&gt;</strong></em></p>
<p><em>See the full demo in the video above.</em></p>
<p>&nbsp;</p>
<p>If you have questions or suggestions for this article, please leave a comment below.</p>]]></description>
          <pubDate>Thu, 25 Jan 2024 15:00:00 +0000</pubDate>
          <guid>https://community.pyramidanalytics.com/t/83y3v77/how-to-build-a-customized-e-mail-template</guid>
          <dc:creator>Nkhensani Khoza</dc:creator>
        </item>

      <item>
          <title>How to speed up Queries running against an AWS Aurora RDS MySQL database instance?</title>
          <link>https://community.pyramidanalytics.com/t/p8h4g7t/queries-run-against-an-rds-mysql-database-are-slow-or-the-connection-fails</link>
          <description><![CDATA[<h3>AWS RDS Aurora MySQL 5.7.12 Query Performance</h3>
<p>In a recent customer scenario we encountered some unexpected performance issues when connecting to a AWS&nbsp;RDS Aurora MySQL 5.7.12&nbsp; as data source. Data Connection was slow and also the queries in a Direct Access were very slow.</p>
<p>After some digging in the AWS documentation we found two parameters that can have a significant influence on on the Connection and Query Performance. As they are NOT compatible with Aurora</p>
<h4>usePipelineAuth</h4>
<p>when usePipelineAuth is enabled (active by default), Queried that are send using pipeline (all queries sent, then all results are read) this normally allows a faster connection creation, but is not compatible with Aurora.</p>
<h4>useBathMultisend</h4>
<p>also useBathMultisend is active on default and will send queries in Batch. But is not compatible with Aurora.</p>
<p>So, how do you turn off the two&nbsp;variables, and avoid them to caus&nbsp;slow connection; we expirenced the response time and connectivity to improve significantly</p>
<p>In your Pyramid Installation</p>
<p>Admin&gt;data&gt;Data sources&gt;MySQL</p>
<pre class="language-none"><code class="language-none">?usePipelineAuth=false&amp;useBatchMultiSend=false</code></pre>
<p style="text-align:left"><img alt="" class="fb-img" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/4924aaa7-7404-486f-bc02-67f0f3c89c5a/h/547.png" style="" width="1610"></p>
<p>Now the Parameters are switched off and the performance on Aurora should improve.</p>]]></description>
          <pubDate>Tue, 27 Jun 2023 08:59:00 +0000</pubDate>
          <guid>https://community.pyramidanalytics.com/t/p8h4g7t/queries-run-against-an-rds-mysql-database-are-slow-or-the-connection-fails</guid>
          <dc:creator>Daniel</dc:creator>
        </item>

      <item>
          <title>How to use the Schedule and Subscription Manager. From Tips &#x26; Tricks June 2022</title>
          <link>https://community.pyramidanalytics.com/t/35hctmw/how-to-use-the-schedule-and-subscription-manager</link>
          <description><![CDATA[<h2><img alt="" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/cce51786-ad32-496d-8b2b-0e6ec7c5ffcf/547.png" style=""></h2>
<p><em>Sneak: How to use the Schedule and Subcription Manager</em></p>
<p>The&nbsp;Tips&amp;Tricks&nbsp;Series is produced&nbsp;by the Customer Success&nbsp;Team. It highlights&nbsp;several&nbsp;easy to follow instructions and range from simple tasks to more advanced use cases.</p>
<h2>How to use the Shedule and Subscription Manager</h2>
<p>The Schedule and Subscription Manager in the Content system is a personalized interface for users to manage their own schedules and subscriptions from across the platform in a singular toolset. The manager is designed to give the user a birds-eye view of:</p>
<ul>
 <li>All their various scheduled tasks that they have created for themselves in Publish and Model</li>
 <li>All the items they have subscribed to in Discover, Present and Publish</li>
 <li>All data alerts they have created in Discover and Present</li>
</ul>
<ol>
 <li><strong>Accessing the Manager: </strong>The manager can be found in the content management system, by clicking on the menu dots (green arrow) and choosing the last button in the pop-up list. Once opened, the user will see 4 tabs for each of the scheduled item types (red box). <p style="text-align:center"><img alt="" class="fb-img" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/a04bd3f3-ee9d-48aa-89eb-75a8b14d1232/h/547.png" style="" width="468"></p> <br> In each tab, the user will see similar content:<br> <strong>- Actions: </strong>there are 4 actions per item Stop, Start, Edit and Delete<br> <strong>- Name:</strong> the name of the schedule or subscription<br> <strong>- Type:</strong> the source of the scheduled item (Discover, Present, Model, Publish)<br> <strong>- Source:</strong> the name of the source file that the schedule or subscription is based on. Click the item to jump to its location in the content explorer<br> <strong>- Description:</strong> any description attached to the schedule<br> <strong>- Start Date: </strong>the first time the schedule or subscription was run<br> <strong>- End Date: </strong>the final time the schedule or subscription was run</li>
</ol>
<p>If you have questions about these tips (or improvements) please let us&nbsp;know in a comment.</p>
<p>P.S. We will post previous Tip&amp;Tricks as well as all new ones to keep this information active and available to all users.</p>]]></description>
          <pubDate>Mon, 24 Apr 2023 13:29:41 +0000</pubDate>
          <guid>https://community.pyramidanalytics.com/t/35hctmw/how-to-use-the-schedule-and-subscription-manager</guid>
          <dc:creator>Angelie Janssen</dc:creator>
        </item>

      <item>
          <title>How to get a List of all Objects used in Present and Publish. From Tips&#x26;Tricks 3/21</title>
          <link>https://community.pyramidanalytics.com/t/x2hcttg/how-to-get-a-list-of-all-objects-in-present-and-publish</link>
          <description><![CDATA[<p><img alt="" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/b8e147ef-1bfe-4a1d-ad56-be48c8a365c3/547.png" style=""></p>
<p><em>Sneak: How to get a list of all objects in Present and Publish</em></p>
<p>The&nbsp;Tips&amp;Tricks&nbsp;Series is produced&nbsp;by the Customer Success&nbsp;Team. It highlights&nbsp;several&nbsp;easy to follow instructions and range from simple tasks to more advanced use cases.</p>
<h2>How to get a List of all Objects used in Present and Publish</h2>
<p>When to Use: To get a list of all Discover objects being used by Present and Publish objects (i.e. SQL version of Lineage).</p>
<div class="code-toolbar">
 <pre class="language-sql"><code class="language-sql">SELECT&nbsp;DISTINCT
&nbsp;pp.ContainerID
,&nbsp;pp.ContainerName
,&nbsp;pp.ContainerType
,&nbsp;i.id&nbsp;AS&nbsp;ContentID
,&nbsp;i.name&nbsp;AS&nbsp;ContentName
,&nbsp;CASE&nbsp;i.item_type&nbsp;WHEN&nbsp;3&nbsp;THEN&nbsp;‘Discover’&nbsp;ELSE&nbsp;‘Illustration’&nbsp;END&nbsp;AS&nbsp;ContentType
FROM&nbsp;(
SELECT&nbsp;id&nbsp;AS&nbsp;ContainerID
,&nbsp;name&nbsp;AS&nbsp;ContainerName
,&nbsp;CASE&nbsp;WHEN&nbsp;(item_type&nbsp;=&nbsp;4&nbsp;AND&nbsp;sub_type&nbsp;=&nbsp;2)&nbsp;THEN&nbsp;‘Presentation’&nbsp;ELSE&nbsp;‘Publication’&nbsp;END
&nbsp;AS&nbsp;ContainerType
FROM&nbsp;content_tbl_item
WHERE&nbsp;(item_type&nbsp;=&nbsp;4&nbsp;AND&nbsp;sub_type&nbsp;=&nbsp;2)
OR&nbsp;(item_type&nbsp;=&nbsp;4&nbsp;AND&nbsp;sub_type&nbsp;=&nbsp;3)
)&nbsp;pp&nbsp;--Get&nbsp;List&nbsp;of&nbsp;Present&nbsp;and&nbsp;Publish&nbsp;Objects
INNER&nbsp;JOIN&nbsp;content_tbl_container_data&nbsp;cd&nbsp;ON&nbsp;pp.ContainerID&nbsp;=&nbsp;cd.container_id
INNER&nbsp;JOIN&nbsp;content_tbl_document&nbsp;d&nbsp;ON&nbsp;cd.id&nbsp;=&nbsp;d.container_data_id
INNER&nbsp;JOIN&nbsp;content_tbl_item_usages&nbsp;iu&nbsp;ON&nbsp;d.id&nbsp;=&nbsp;iu.parent_id
INNER&nbsp;JOIN&nbsp;content_tbl_item&nbsp;i&nbsp;ON&nbsp;iu.child_id&nbsp;=&nbsp;i.id
ORDER&nbsp;BY&nbsp;ContainerName,&nbsp;ContentName</code></pre>
</div>
<p>If you have questions about these tips (or improvements) please let us&nbsp;know in a comment.</p>
<p>P.S. We will post previous Tip&amp;Tricks as well as all new ones to keep this information active and available to all users.</p>]]></description>
          <pubDate>Fri, 21 Apr 2023 10:47:00 +0000</pubDate>
          <guid>https://community.pyramidanalytics.com/t/x2hcttg/how-to-get-a-list-of-all-objects-in-present-and-publish</guid>
          <dc:creator>Christian Langmayr</dc:creator>
        </item>

      <item>
          <title>How to Update Python and/or R Packages</title>
          <link>https://community.pyramidanalytics.com/t/p8ha9p8/how-to-update-python-and-r-packages</link>
          <description><![CDATA[<p style="text-align:left"><img alt="" class="fb-img" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/5d725ad4-be7e-42fa-9477-18f5d2a7d59e/h/547.png" style="" width="823"></p>
<p><em>Sneak: Working with multiple Python and/or R Environments. Recover in Model Definition Files</em></p>
<h2 class="toc__permalink"><a href="/t/p8ha912/how-to-create-interactions-between-content-items-from-different-models#tips-amp-tricks-created-by-the-pyramid-customer-success-team" rel="nofollow noopener noreferrer">Tips &amp; Tricks created by the Pyramid Customer Success Team</a></h2>
<p style="text-align:start">This How To has been create based on the&nbsp;The Tips&amp;Tricks Series featured in out monthly User Newsletter. To make it easier to&nbsp;keep them as a reference, these Tip &amp; Tricks come as printable PDFs.</p>
<h3 class="toc__permalink">How to update Python and/or R Environments</h3>
<p style="text-align:start">This tip shows your how to update your R or Python environment in Pyramid. Packages used within environments need updating depending on the different types of functionality an end user wants to be able to access. To update packages, follow these steps.</p>
<h4 style="text-align: start;">1. Choose your Environment</h4>
<p style="text-align: start;">Select the environment you want to edit in the list, and click on edit.</p>
<p style="text-align:left"><img alt="" class="fb-img" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/5d39d521-bf81-4d97-8a6b-f295c635d254/h/547.png" style="" width="897"></p>
<h4 style="text-align: start;">2. Select your Package</h4>
<p style="text-align: start;">In edit screen, click on the Packages tab, select the package that needs to be updated and click on edit.</p>
<p style="text-align:left"><img alt="" class="fb-img" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/f81aaadb-3235-4c3c-8b35-4ea70726b9a4/h/547.png" style="" width="897"></p>
<h4 style="text-align: start;">3. Update Package</h4>
<p style="text-align:start">In edit package screen, type in the version you want to update. Validate to make sure it is the right version, and click on OK, and the package will then get updated.</p>
<p style="text-align:left"><img alt="" class="fb-img" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/a5cbff25-084c-4238-9f4f-11eaaa3eeb75/h/547.png" style="" width="733"></p>
<h4 style="text-align: start;">4. Deploy Package</h4>
<p style="text-align:start">Click on save, and it then updates the environment. Once the status is green, it’s ready for use with the updated package.</p>
<p style="text-align:left"><img alt="" class="fb-img" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/705d3157-a9f6-42ce-8c6d-b9b042e62664/h/547.png" style="" width="895"></p>
<p>&nbsp;</p>
<p>If you have questions about these tips (or improvements) please let us&nbsp;know in a comment.</p>
<p>P.S. We will post previous Tip&amp;Tricks as well as all new ones to keep this information&nbsp;active and&nbsp;available to&nbsp;all users.</p>]]></description>
          <pubDate>Tue, 21 Mar 2023 16:48:00 +0000</pubDate>
          <guid>https://community.pyramidanalytics.com/t/p8ha9p8/how-to-update-python-and-r-packages</guid>
          <dc:creator>Angelie Janssen</dc:creator>
        </item>

      <item>
          <title>How to Recover Model Definition Files</title>
          <link>https://community.pyramidanalytics.com/t/g9ha9p6/how-to-recover-model-definition-files</link>
          <description><![CDATA[<p style="text-align:left"><img alt="" class="fb-img" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/5d725ad4-be7e-42fa-9477-18f5d2a7d59e/h/547.png" style="" width="823"></p>
<p><em>Sneak: Working with multiple Python and/or R Environments. Recover in Model Definition Files</em></p>
<h2>Tips &amp; Tricks created by the Pyramid Customer Success Team</h2>
<p>The Tips&amp;Tricks Series is produced by the Customer Success Team. It highlights several&nbsp;easy to follow instructions that will help you to boost your BI Skills.</p>
<p>To make it easier to keep them as a reference, these Tip &amp; Tricks come as printable PDFs. Make sure to subscribe to this category to never miss more Tips and Tricks</p>
<h3>How to Recover a Model Definition File</h3>
<p>How to Recover Model Definition File - This step by step guide shows how to recover a Model Definition in the Admin Console.</p>
<h4>1. Access the Source Manage</h4>
<p>Go to Admin Console &gt; Data &gt; Source Manager</p>
<p style="text-align:left"><img alt="" class="fb-img" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/ab2da647-5d80-43e0-bb39-e3d6f5bded60/h/547.png" style="" width="497"></p>
<h4>2. Select Database and Model</h4>
<p>Find the database and model you need model definition file for, and click on the model.</p>
<p style="text-align:left"><img alt="" class="fb-img" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/84164068-af17-4d65-8ba3-94b88e70aee7/h/547.png" style="" width="675"></p>
<h4>3. Export Model</h4>
<p>&nbsp;Go to General Tab &gt; Export &gt; Save As which will allow you to export the model definition file into content manager.</p>
<p style="text-align:left"><img alt="" class="fb-img" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/868725df-3495-4b11-b411-cc414e510dca/h/547.png" style="" width="672"></p>
<h4>4. Open Model Definition</h4>
<p>Go to Content Manager folder where you saved your file, and open your model definition file.</p>
<p style="text-align:left"><img alt="" class="fb-img" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/d7e9c55e-2956-44a4-82a2-616efe92e249/h/547.png" style="" width="672"></p>
<p>&nbsp;</p>
<p>If you have questions about these tips (or improvements) please let us&nbsp;know in a comment.</p>
<p>P.S. We will post previous Tip&amp;Tricks as well as all new ones to keep this information&nbsp;active and&nbsp;available to&nbsp;all users.</p>]]></description>
          <pubDate>Tue, 21 Mar 2023 16:48:00 +0000</pubDate>
          <guid>https://community.pyramidanalytics.com/t/g9ha9p6/how-to-recover-model-definition-files</guid>
          <dc:creator>Angelie Janssen</dc:creator>
        </item>

      <item>
          <title>How to Add Python and/or R Environments</title>
          <link>https://community.pyramidanalytics.com/t/m1ha9pt/how-to-add-python-and-r-environments</link>
          <description><![CDATA[<p style="text-align:left"><img alt="" class="fb-img" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/5d725ad4-be7e-42fa-9477-18f5d2a7d59e/h/547.png" style="" width="823"></p>
<p><em>Sneak: Working with multiple Python and/or R Environments. Recover in Model Definition Files</em></p>
<h2 class="toc__permalink"><a href="/t/p8ha912/how-to-create-interactions-between-content-items-from-different-models#tips-amp-tricks-created-by-the-pyramid-customer-success-team" rel="nofollow noopener noreferrer">Tips &amp; Tricks created by the Pyramid Customer Success Team</a></h2>
<p style="text-align:start">This How To has been create based on the&nbsp;The Tips&amp;Tricks Series featured in out monthly User Newsletter. To make it easier to&nbsp;keep them as a reference, these Tip &amp; Tricks come as printable PDFs.</p>
<h3 class="toc__permalink">How to Add Python and/or R Environments</h3>
<p class="toc__permalink">This tip shows your how to add a new Python environment in Pyramid, apart from what came with the original install. There sometimes comes the need to have multiple python environments. e.g.</p>
<ul>
 <li class="toc__permalink">the latest and greatest version of packages</li>
 <li class="toc__permalink">to collaborate with a colleague in their own environment/Pyramid install</li>
 <li class="toc__permalink">you are delivering an application to a client and want to ensure that everything work’s perfectly in their environment</li>
 <li class="toc__permalink">or that you may need other Python applications that only work with certain versions of Python</li>
</ul>
<p class="toc__permalink">To aid/help with these scenarios, you can add a new Python environment in Pyramid, apart from what came with the original install. To do so, you must have admin rights on the platform.</p>
<h4 class="toc__permalink">1. Access Environments</h4>
<p class="toc__permalink">Go to Admin Console &gt; AI and ML &gt; ML Environments</p>
<p style="text-align:left"><img alt="" class="fb-img" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/ccf2a42d-6a2c-47f3-8cfb-7f31681d8465/h/547.png" style="" width="893"></p>
<h4 class="toc__permalink">2. Add new Environment</h4>
<p class="toc__permalink">Click on Add Environment.</p>
<p style="text-align:left"><img alt="" class="fb-img" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/ac77f625-1a64-446e-beba-866d0de4e2cb/h/547.png" style="" width="895"></p>
<h4 class="toc__permalink">3. Configure new Environment</h4>
<p>Fill out environment details in the wizard, most importantly, the version you want to add. Click Apply.</p>
<p style="text-align:left"><img alt="" class="fb-img" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/ba16272c-361c-44da-90b2-3e89b0974969/h/547.png" style="" width="893"></p>
<h4 class="toc__permalink">4. Check readiness</h4>
<p class="toc__permalink">Once environment is added, it will process, and once it’s green, it means it’s ready for use.</p>
<p style="text-align:left"><img alt="" class="fb-img" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/417819a9-e91d-439d-a762-e1400cbbe24b/h/547.png" style="" width="896"></p>
<p>&nbsp;</p>
<p>If you have questions about these tips (or improvements) please let us&nbsp;know in a comment.</p>
<p>P.S. We will post previous Tip&amp;Tricks as well as all new ones to keep this information&nbsp;active and&nbsp;available to&nbsp;all users.</p>]]></description>
          <pubDate>Tue, 21 Mar 2023 16:48:00 +0000</pubDate>
          <guid>https://community.pyramidanalytics.com/t/m1ha9pt/how-to-add-python-and-r-environments</guid>
          <dc:creator>Angelie Janssen</dc:creator>
        </item>

      <item>
          <title>Tips &#x26; Tricks February 23 - Model Mapping</title>
          <link>https://community.pyramidanalytics.com/t/p8h0vpm/tips-tricks-february-23-model-mapping</link>
          <description><![CDATA[<p style="text-align:left"><img alt="" class="fb-img" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/5d725ad4-be7e-42fa-9477-18f5d2a7d59e/h/547.png" style="" width="823"></p>
<p><em>Sneak:&nbsp; How to&nbsp;create interactions between content items that are querying different data models.</em></p>
<h2>Tips &amp; Tricks created by the Pyramid Customer Success Team</h2>
<p>The Tips&amp;Tricks Series is produced by the Customer Success Team. It highlights several&nbsp;easy to follow instructions that will help you to boost your BI Skills.</p>
<p>To make it easier to keep them as a reference, these Tip &amp; Tricks come as printable PDFs. Make sure to subscribe to this category to never miss more Tips and Tricks</p>
<h3>Tip #1</h3>
<p>You may want to create interactions between content items (data discoveries, slicers, dynamic content, or custom formulations) that are querying different data models.</p>
<p>For such interactions to work, the hierarchies and member elements being used as a filter must also exist in the data model of the target visualization. If the corresponding hierarchies and member elements are identically labeled in both data models, then you can create an interaction as usual.</p>
<p>However, if the corresponding hierarchies and/ or member elements are not identically labeled in each data model, then it’s necessary to create a model mapping.</p>
<p>&nbsp;</p>
<p>If you have questions about these tips (or improvements) please let us&nbsp;know in a comment.</p>]]></description>
          <pubDate>Thu, 02 Feb 2023 14:23:00 +0000</pubDate>
          <guid>https://community.pyramidanalytics.com/t/p8h0vpm/tips-tricks-february-23-model-mapping</guid>
          <dc:creator>Angelie Janssen</dc:creator>
        </item>

      <item>
          <title>Tips &#x26; Tricks January 23 - Administration (Python &#x26; R) - Model Definition Files</title>
          <link>https://community.pyramidanalytics.com/t/p8h0lk3/tips-tricks-january-23-administration-python-r-model-definition-files</link>
          <description><![CDATA[<p style="text-align:left"><img alt="" class="fb-img" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/5d725ad4-be7e-42fa-9477-18f5d2a7d59e/h/547.png" style="" width="823"></p>
<p><em>Sneak: Working with multiple Python and/or R Environments. Recover in Model Definition Files</em></p>
<h2>Tips &amp; Tricks created by the Pyramid Customer Success Team</h2>
<p>The Tips&amp;Tricks Series is produced by the Customer Success Team. It highlights several&nbsp;easy to follow instructions that will help you to boost your BI Skills.</p>
<p>To make it easier to keep them as a reference, these Tip &amp; Tricks come as printable PDFs. Make sure to subscribe to this category to never miss more Tips and Tricks</p>
<h3>Tip #1</h3>
<p>How to Update/Add Python and/or R Environments - This tip shows your how to add a new Python environment in Pyramid, apart from what came with the original install. Requires Admin Rights</p>
<h3>Tip #2</h3>
<p>How to Update/Add Python and/or R Packages - Packages used within environments need updating depending on the different types of functionality.</p>
<h3>Tip #3</h3>
<p>How to Recover Model Definition File - This step by step guide shows how to recover a Model Definition in the Admin Console.</p>
<p>&nbsp;</p>
<p>If you have questions about these tips (or improvements) please let us&nbsp;know in a comment.</p>
<p>P.S. We will post previous Tip&amp;Tricks as well as all new ones to keep this information&nbsp;active and&nbsp;available to&nbsp;all users.</p>]]></description>
          <pubDate>Tue, 03 Jan 2023 16:41:00 +0000</pubDate>
          <guid>https://community.pyramidanalytics.com/t/p8h0lk3/tips-tricks-january-23-administration-python-r-model-definition-files</guid>
          <dc:creator>Angelie Janssen</dc:creator>
        </item>

      <item>
          <title>What to do when there are issues with logging into Pyramid when using AD as your provider.</title>
          <link>https://community.pyramidanalytics.com/t/h7h0qpt/what-to-do-when-there-are-issues-with-logging-into-pyramid-when-using-ad-as-your-provider</link>
          <description><![CDATA[<p>This article will help you diagnose if there is an issue with your domain controller and how to work around the problem until your domain controller is fixed.</p>
<p>Suppose you encounter issues connecting to your Pyramid environment, and the login issue is intermittent. In that case, likely, sometimes one of the domain controllers that your LDAP address returns is not allowing the login.<br> In your server logs, you could also see if there is any error mentioning an issue with connecting to your LDAP.<br> You can find the logs where your Pyramid web server is installed under C:\Program Files\Pyramid\log.</p>
<p>First, you can check which is not functioning by going to your environment URL and adding&nbsp;<a href="http://localhost:8181/diagnostic" rel="nofollow noopener noreferrer" target="_blank">/diagnostic</a>.<br> There you will see if there are any errors regarding LDAP.<br> <br>There are two possible workarounds for this situation.</p>
<p><strong>1. Point Pyramid directly to one working domain controller:</strong></p>
<p>You could also see under the LDAP test if any domain controllers are shown as<span class="pen1">&nbsp;"invalid".</span></p>
<p style="text-align:left"><img alt="" class="fb-img" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/f1b251e8-8480-4c71-8c15-ef116c5cb4b9/h/547.png" style="" width="989"></p>
<p>If it is <span class="pen1">"invalid",</span> then until your IT gets it fixed, you can point to a specific domain controller by choosing another " <span class="pen3">valid</span> " domain controller.<br> Copy the domain controller and paste it into the LDAP address, as shown below.</p>
<p style="text-align:left"><img alt="" class="fb-img" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/7c300a98-1aff-4923-b672-984bc06a976f/h/547.png" style="" width="1194"></p>
<p><span class="pen1">The downside of this solution</span> is that&nbsp;If this specific domain controller becomes invalid, it will not be possible to connect to Pyramid and fix it.</p>
<p><strong>2. Hard coding a known working domain controller in the local host file on each Pyramid task, runtime, and web server:</strong><br> <br>This is the preferred option.</p>
<p>Hardcode your LDAP address to point directly to a domain controller in the local host file of each Pyramid sever (Task, Runtime, and WEB) in the deployment.<br> Please see the below example:<br> <br>Add an entry into the local host file of each pyramid server that points to your LDAP address to only one <span class="pen3">"valid"</span> domain controller.<br> <br>E.g., if your LDAP is LDAP://DC=my,DC,company,DC=.com<br> then you should add it to the host file and save<br> <br>192.168.2.1&nbsp;<a href="http://my.company.com/" rel="nofollow noopener noreferrer" target="_blank">my.company.com</a><br> <br>*where the IP is an IP of one of your <span class="pen3">"valid" </span>domain controllers.<br> (move through each domain controller listed, and once you find one that works, ping the name to get its IP)</p>
<p>Compared to the first solution, the upside of this solution is that if there is a problem with the domain controller you have used, you can update the host file manually to a different <span class="pen3">"valid"</span> domain controller.</p>
<p><strong>As mentioned, these solutions are only workarounds.<br> To avoid future issues, you will need to find the root cause of the problem and fix it.</strong></p>
<p>Here are some tips for troubleshooting the domain controller and avoiding future issues:</p>
<ul>
 <li>Check the event logs: Check the event logs on the domain controller for any errors or warnings that might indicate the cause of the issue.</li>
 <li>Run network diagnostic tools: Use tools like ping, traceroute, and nslookup to test the connectivity and DNS resolution of the domain controller.</li>
</ul>]]></description>
          <pubDate>Thu, 29 Dec 2022 14:28:45 +0000</pubDate>
          <guid>https://community.pyramidanalytics.com/t/h7h0qpt/what-to-do-when-there-are-issues-with-logging-into-pyramid-when-using-ad-as-your-provider</guid>
          <dc:creator>Omer Ansher</dc:creator>
        </item>

      <item>
          <title>Fail to get Active Directory users groups</title>
          <link>https://community.pyramidanalytics.com/t/q508g9/pyramid-fails-to-get-groups</link>
          <description><![CDATA[<h3>Issue:</h3> 
<p> In the Admin, when assigning&nbsp;Pyramid roles to AD Groups, the role fails to propagate to the user, when the AD group contains special characters, such as "/". </p> 
<h3>Symptoms:</h3> 
<p> The user doesn't have permissions to content he should be able to see. </p> 
<p> Reviewing the Assigned roles to that user, you would see that the '(Group)' role is missing. </p> 
<p> In the admin logs: </p> 
<blockquote> 
 <p> <em>"user dan failed its user groups update. message - Failed to retrieve groups for user: 4df48b4e-377a-4ec6-b102-176c1fef75f2 (dan) Caused by: Failed to retrieve groups for user: 4df48b4e-377a-4ec6-b102-176c1fef75f2 (testingAdmin) at pyramid.infra.auth.ldap.ADLdapGroupsForUsersIterator.getUserGroups"</em> </p> 
</blockquote> 
<h3>Solution:</h3> 
<p> Check that none of the AD groups assigned to the users&nbsp;has a slash(\) in it. (Or any other special characters).<br> If it does, please rename the AD group, to remove that special character,&nbsp;then check again in Pyramid to see if the users get the required roles. </p> 
<p> Please note that the get users groups run periodically, so&nbsp;to run it immediately run a provisioning job.&nbsp;&nbsp; </p>]]></description>
          <pubDate>Mon, 27 May 2019 12:54:30 +0000</pubDate>
          <guid>https://community.pyramidanalytics.com/t/q508g9/pyramid-fails-to-get-groups</guid>
          <dc:creator>Daniel</dc:creator>
        </item>

      <item>
          <title>Logs Locations</title>
          <link>https://community.pyramidanalytics.com/t/36sytn/logs-locations</link>
          <description><![CDATA[<p>Pyramid was created to cater to both enterprise-level and individual users.<br> As a result, it can be divided among several servers, generating various logs that aid in analyzing the system.</p>
<p>Below are the locations of all the different Pyramid logs:</p>
<p><em><u><strong>Pyramid Admin console&nbsp;Logs</strong></u></em></p>
<p>These are records kept&nbsp;in the Pyramid repository and are accessible&nbsp;from the Admin console.</p>
<ol>
 <li><strong>System logs</strong> - Collecting Errors / Warning / Information /&nbsp;Debug&nbsp;/ Trace<br> Log duration and what type of logging is configurable&nbsp;in the admin console.</li>
 <li><strong>Audit logs</strong> - Collecting entry logs of each user to the app. (We don't log Logout)</li>
 <li><strong>Transaction</strong> - Collecting information on each query that is run in the system.</li>
 <li><strong>Benchmark</strong>&nbsp;- Collecting info for each request in the system passing through the system and how long it took in each part of the system.</li>
 <li><p style="text-align:start"><em><strong>Install / Upgrade Logs</strong> - Important to help troubleshoot installation problems</em></p></li>
</ol>
<p>To access the logs: Admin &gt;&gt; Logs &gt;&gt; System / Audit / Transaction / Benchmark.</p>
<p><img alt="" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/2edccbf2-4626-4d51-b552-d16bd3c88837/547.jpg" style=""></p>
<p>*It is <span class="pen1">imperative</span> that you select the correct time frame when utilizing the "Filter By Last" function.</p>
<p>&nbsp;</p>
<p><em><u><strong>servers / services Logs</strong></u></em></p>
<p>We collect information from the following&nbsp;servers:<br> Some of it makes it into the system logs, but this file contains more detailed information.</p>
<ol>
 <li>DNC -&nbsp;Dot Net Connector, or the Windows connector,&nbsp;in short,<br> used to connect to OLAP data sources.</li>
 <li>Runtime engine</li>
 <li>Task engine</li>
</ol>
<p><u>Location:</u><br> Kept in the file system in the "<strong>log</strong>" folder, found on each Pyramid server in the deployment, which by default can be found here:</p>
<blockquote>
 <p>C:\Program Files\Pyramid\log</p>
</blockquote>
<p>&nbsp;</p>
<p><em><u><strong>Satellite logs</strong></u></em></p>
<p><u>Location:</u><br> By default&nbsp;</p>
<blockquote>
 <p><em>C:\Program Files\Pyramid\satellite\log</em></p>
</blockquote>
<p>&nbsp;</p>
<p><em><u><strong>IMDB Logs</strong></u></em></p>
<p>The Pyramid IMDB (In Memory&nbsp;Data Base) logs</p>
<p><u>Location:</u><br> By default on the server that has the IMDB installed on:</p>
<blockquote>
 <p><em>C:\Program Files\Pyramid\imdb\irdb.log</em></p>
</blockquote>
<p>It is also possible to limit the sizes of log files.</p>
<p>To do so, you will need to update the logback.xml file in each service you wish the change to be in.<br> Before any changes, please back up your logback.xml.</p>
<p>In your pyramid folder, open the folder of the service you want to edit-&gt;</p>
<p><img alt="" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/76456cbf-a753-4b38-aeed-a2a4a74f8a3d/547.png" style="">&nbsp;<br> /conf/logback.xml, and in the file add the following: &lt;totalSizeCap&gt;the value you want&lt;/totalSizeCap&gt;</p>
<p><img alt="" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/d0d7358f-4be9-4874-b66f-fec25a111277/h/547.png" style="padding:0px"></p>
<p>The changes will take place after you update the files.</p>
<p><em><u><strong>Install / Upgrade Logs</strong></u></em></p>
<p>The Pyramid Install/Upgrade logs can help identify&nbsp;installation issues.</p>
<p><u>Location:</u></p>
<blockquote>
 <p>C:\Users\&lt;<strong>user_name&gt;</strong>\AppData\Local\Temp</p>
</blockquote>
<p>Or in a run box and type %temp% to take you to the user's temp folder.</p>
<p>*replace <strong>user_name</strong> with the user name of the user that did the Pyramid install.&nbsp;&nbsp;<br> The install logs are being saved on two types of logs,</p>
<ol>
 <li>installerbuilder_install.log</li>
 <li>pyramidinstaller.log</li>
</ol>
<p>There might be more than one,&nbsp;One&nbsp;for each installation made.<br> Sort the logs by date modified to get the latest log.</p>]]></description>
          <pubDate>Thu, 02 May 2019 14:51:00 +0000</pubDate>
          <guid>https://community.pyramidanalytics.com/t/36sytn/logs-locations</guid>
          <dc:creator>Daniel</dc:creator>
        </item>

      <item>
          <title>How to clean up the Pyramid &#x22;General&#x22; Folder</title>
          <link>https://community.pyramidanalytics.com/t/187294/how-to-clean-up-the-pyramid-general-folder</link>
          <description><![CDATA[<p>UPDATE:</p>
<p>If you are using&nbsp; <strong>Pyramid&nbsp;2020.20 and above</strong>, the maintenance tool is now built in to the product.&nbsp; The default path to it is- C:\Program Files\Pyramid\core\maintenance.</p>
<p>For more info, please see our help article <a href="https://help.pyramidanalytics.com/Content/Root/Guides/installation/Main/System%20Maintenance.htm?Highlight=maintenance" rel="nofollow noopener noreferrer" target="_blank">here</a>. The clean up process is also now automated within the Pyramid application and you should not have the need to run it manually.&nbsp; Only in cases where the general folder is very large should you need to run it.&nbsp;</p>
<p>The following can be run on all Pyramid servers in your installation.<br> When the next major release of Pyramid comes out this process will be automatic for printing files created after it is installed/upgraded.&nbsp;</p>
<p>The "general" folder&nbsp;contains files among other things, created during the printing process. If the&nbsp;"general" folder, found by default here (C:\Program Files\Pyramid\repository\general), has grown to a large size, it can be cleaned up to remove any redundant files&nbsp;using the following instructions.<br> The files that are deleted by the cleanup tool are the ones that are older than 48 hours.<br> The kind of files that are deleted are only the prints, which means only the ones that you have clicked export\print, get saved in the general folder, and when using the cleanup tool it will delete them.</p>
<p>1) Download the attached zip file and unzip it.</p>
<p>&nbsp; &nbsp; <strong>NOTE</strong>: Please download the file that is relevant to your Pyramid version.</p>
<p>2)Open a command prompt(as admin) from the folder you unzipped the files to&nbsp;(This can be done by holding down the shift key and right-clicking.) and run the below command:</p>
<p><strong>For cleanupTools 2018:</strong><br> java -classpath "lib\*;conf\*;" com.pa.tools.PrintingDirectoryCleaner &nbsp;<strong>path</strong>="C:\Program Files\Pyramid 2018\config.ini"</p>
<p><strong>For cleanupTools 2020:</strong><br> java -classpath "lib\*;conf\*;" com.pa.tools.cleanup.PrintingDirectoryCleaner &nbsp;<strong>path</strong>="C:\Program Files\Pyramid\config.ini"</p>
<p><strong>For Linux</strong></p>
<p><strong>/opt/pyramid/</strong>java/bin/java -classpath lib/*:classes/*: com.pa.tools.PrintingDirectoryCleaner &nbsp;<strong>path</strong>="/opt/pyramid/config.ini"<br> &nbsp;</p>
<p>*change the <strong>path</strong> location to reflect the drive that you have Pyramid installed on.</p>
<p><img alt="" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/f1f37f7c-b751-473b-8e69-b9c035817167/547.jpg" style=""></p>
<p>3) Once the tool has finished removing any files that are not needed, you will see the below summary screen at which point the command prompt can be closed.</p>
<p><img alt="" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/e69c6978-a55b-4954-ab24-b67aab6a4614/547.jpg" style=""></p>
<p>**Please note, you may need to set up your Java paths as below if the above commands fail.**</p>
<p>This link&nbsp;explains how to do this, however, use the below paths, not the ones in the link.</p>
<p><a href="https://javatutorial.net/set-java-home-windows-10" rel="nofollow noopener noreferrer" target="_blank">https://javatutorial.net/set-java-home-windows-10</a></p>
<p>For 2018-</p>
<p>PATH<br> C:\Program Files\Pyramid 2018\java8\jre\bin;<br> JAVA_HOME<br> C:\Program Files\Pyramid 2018\java8\jre;</p>
<p>For 2020-<br> JAVA_HOME<br> C:\Program Files\Pyramid\java<br> PATH<br> %JAVA_HOME%\bin</p>]]></description>
          <pubDate>Sun, 31 Mar 2019 10:54:00 +0000</pubDate>
          <guid>https://community.pyramidanalytics.com/t/187294/how-to-clean-up-the-pyramid-general-folder</guid>
          <dc:creator>Daniel</dc:creator>
        </item>

      <item>
          <title>How to create a memory dump</title>
          <link>https://community.pyramidanalytics.com/t/h4b84m/how-to-create-a-memory-dump</link>
          <description><![CDATA[<p> Pyramid support may request a memory dump be sent to them. Please see below how to create the file: </p> 
<p> 1) Login to the Pyramid server and open the task Manager. Right click on a column and add the "PID" and "command line" columns. </p> 
<p> <img src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/f99ad381-111a-4681-a9ba-f595970efa24/547.jpg">&nbsp; </p> 
<p> 2) Run the below two commands from an elevated command prompt. Replace&nbsp;the PID of the process with the PID of your process that you want to take a memory dump of. </p> 
<p> "C:\Program Files\Pyramid 2018\java8\jre\bin\java" -classpath "C:\Program Files\Pyramid 2018\java8\lib\tools.jar" sun.tools.jcmd.JCmd <strong>10432</strong> Thread.print &gt;threadDump.txt </p> 
<p> "C:\Program Files\Pyramid 2018\java8\jre\bin\java" -classpath "C:\Program Files\Pyramid 2018\java8\lib\tools.jar" sun.tools.jcmd.JCmd <strong>10432</strong> GC.heap_dump C:\\heapdump.bin </p> 
<p> For Pyramid <strong>2020 </strong>run the following command: </p> 
<p> "C:\Program Files\Pyramid\java\bin\jcmd"&nbsp;<strong>1956&nbsp;</strong>GC.heap_dump&nbsp;c:\heapDump.hprof<br> &nbsp; </p> 
<p> The first command will create a text file called "threadDump.txt" in the directory from where the command was run. The second command will create a file on the C: drive called "headdump.bin". </p> 
<p> Place both files in a folder and zip them to reduce their size. We would also like to know from which process they came from. To tell this, look at the "command prompt column" to see which pyramid service they are. </p> 
<p> In the example below we can see the process of the te =Task Engine, rte=Runtime Engine and rte =Router. </p> 
<p> <img src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/1bea8f18-097f-4f98-9ef3-b9cb663f0a6e/547.jpg"> </p> 
<p> Once you have each of the two files for each process you want to take a&nbsp;memory dump for, please send them to us. </p>]]></description>
          <pubDate>Sun, 21 Oct 2018 10:06:00 +0000</pubDate>
          <guid>https://community.pyramidanalytics.com/t/h4b84m/how-to-create-a-memory-dump</guid>
          <dc:creator>Daniel</dc:creator>
        </item>

      <item>
          <title>Problems with printing? How to send us detailed diagnostic information.</title>
          <link>https://community.pyramidanalytics.com/t/182ch0/problems-with-printing-how-to-send-us-detailed-diagnostic-information</link>
          <description><![CDATA[<p> If you have issues when printing to Word, PowerPoint, PDF or HTML&nbsp;then <a href="mailto:Support@PyramidAnalytics.com" rel="nofollow noopener noreferrer">sending us</a> the following information can help us understand and fix the issue. </p> 
<ol> 
 <li>Download and install <a href="https://www.getpostman.com/download?platform=win64" rel="nofollow noopener noreferrer" target="_blank">Postman</a>&nbsp;(free)&nbsp;on your Pyramid task engine server.<br> &nbsp;</li> 
 <li>Open the task manager on the Pyramid server which is running the task engine.<br> Click on "Details" tab and right-click on any&nbsp;column header to add "Command line"&nbsp;<img src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/3cf031ed-3b31-4030-ae89-e30dd2f6d015/547.jpg">&nbsp;<br> &nbsp;</li> 
 <li>Look for all the "pyramidPrinter.exe" processes&nbsp;which have a port number and note the port numbers&nbsp;down.<img src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/0a32c123-b2cf-45cd-9b3d-57f70d47c381/547.jpg"><br> &nbsp;</li> 
 <li>Enable debugging mode for all the ports, which will create a .ZIP file to send to us.<br> To do this open Postman and connect as follows:<br> Select Post and use the URL "<em>http://localhost:<strong>11000</strong>/enableDebugFile</em>".<br> This needs to be done for each port you noted down from the task manager, so in this case, we would enable it for port 1002,1001,1003 and 11000<br> <br>Please note, that it will always be using "HTTP" even if you are using SSL to access your Pyramid site.<br> Therefore it is always best to install Postman on the Pyramid task engine server itself.<br> <img src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/70de0636-db20-414e-9b14-2b42c90a9ae1/547.jpg">&nbsp;Once you have enabled debugging for all the ports, please then print the visual that is not print correctly. Only print what is not working, not the whole book for example.<br> <br>The debug mode will then create a .ZIP file&nbsp;in the following location on the Task server "<em>C:\Program Files\Pyramid 2018\repository\general</em>".<br> If you installed Pyramid on another drive, then use that path.<br> <br>If you cannot find the above path, you can check the config.ini file that can be found here: "<em>C:\Program Files\Pyramid 2018\config.ini</em>".<br> Open it in notepad and look for the line "<em>generaldirlocal</em>" which will show you the location of the repository folder.<br> <br>The file(s) will look something like the example below:<br> <img src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/ac05c8ca-2db2-4af1-bdad-6ca634292897/547.jpg"><br> <br>There may be more than one, so please send us them all.<br> (Please note that the ZIP file does contain&nbsp;data from the visual printed)<br> Please also send us screenshots of what the render should look like and what it looks like after it has been printing, clearly pointing out the differences.<br> &nbsp;</li> 
 <li>After you have the ZIP files, please disable debugging on all ports using the below command: <em><a rev="auto" rel="nofollow noopener noreferrer" href="http://localhost:11000/disableDebugFile" target="_blank">http://localhost:11000/disableDebugFile</a></em><br> <br>In our example we would run the above post four times, one for each port number, so for this example, it would be 10002,10001,10003 and 11000<br> <img src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/6dc9befb-9331-452b-8e78-0635d36c9cfc/547.jpg">&nbsp;</li> 
</ol> 
<p> We hope this helps. </p>]]></description>
          <pubDate>Wed, 10 Oct 2018 14:58:32 +0000</pubDate>
          <guid>https://community.pyramidanalytics.com/t/182ch0/problems-with-printing-how-to-send-us-detailed-diagnostic-information</guid>
          <dc:creator>Daniel</dc:creator>
        </item>

      <item>
          <title>How to read and use the Pyramid System Logs</title>
          <link>https://community.pyramidanalytics.com/t/m2jsg9/how-to-read-and-use-the-pyramid-system-logs</link>
          <description><![CDATA[<p> The "System logging Type" that is turned on, is set under Admin&gt;Settings&gt;Logging. </p> 
<p> In the example below we can see that only the Type "Error" is turned on. </p> 
<p> <img src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/34c37bd2-77f7-4473-a3bd-fc4730695d8c/547.jpg">&nbsp; </p> 
<p> In total there are 5 types of logging that can be enabled. Error, Warn,Info,Debug and Trace. </p> 
<p> When choosing a Log level type Pyramid will record that level type and the one above it. For example if "Warn" is chosen, Pyramid will record "Warn" and "Error" type logging. </p> 
<p> <img src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/c6860be6-1865-4181-9292-706520c7819d/547.jpg">&nbsp; </p> 
<p> Choosing anything below Error may result in degraded performance. It will usually only be turned on at the request of the Pyramid support team.&nbsp;&nbsp; </p> 
<p> To view the logs navigate to Admin&gt;Logs&gt;System </p> 
<p> <img src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/9e7cb9f0-c232-4962-8e1e-0892aa9c03c0/547.jpg">Under the log Level it is possible to choose which type of log to view.&nbsp;When choosing a Log level type to view, Pyramid will show that level type and the one below it. </p> 
<p> So choosing "Error" will only show "Error" logs,&nbsp;where as Choosing "Warn" will show the log level for "Warn" and "Error" together.<br> &nbsp; </p>]]></description>
          <pubDate>Wed, 16 May 2018 13:40:38 +0000</pubDate>
          <guid>https://community.pyramidanalytics.com/t/m2jsg9/how-to-read-and-use-the-pyramid-system-logs</guid>
          <dc:creator>Daniel</dc:creator>
        </item>

      </channel>
</rss>
