<?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-data-tip-of-the-day-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-data-tip-of-the-day-admin-hub-widgets</guid>
          <dc:creator>Ruby Mitchell</dc:creator>
        </item>

      <item>
          <title>How to Generate an OpenAI API Key for LLM Integration in Pyramid Analytics</title>
          <link>https://community.pyramidanalytics.com/t/m1y8kfn/how-to-generate-an-openai-api-key-for-llm-integration-in-pyramid-analytics</link>
          <description><![CDATA[<p>Pyramid Analytics supports integration with OpenAI's Large Language Models (LLMs), enabling AI-powered capabilities such as generating scripts, formulas, translations, and other content using natural language.</p>
<p>To use OpenAI as an LLM provider in Pyramid, you must first generate an OpenAI API key and configure it in Pyramid's LLM Manager.</p>
<p>This article explains how to generate an OpenAI API key, configure it in Pyramid Analytics, and verify the connection.</p>
<p><strong>Important Notice:</strong> The instructions below are provided as general guidance and reflect the OpenAI platform at the time of writing. OpenAI is a third-party service, and its interface, configuration options, and API requirements may change without notice. Customers are responsible for reviewing and verifying the latest instructions, requirements, and supported configurations directly with <a href="https://platform.openai.com/docs/" rel="nofollow noopener noreferrer" target="_blank">OpenAI</a> before proceeding.</p>
<h2>Step 1: Access the OpenAI API Platform</h2>
<ol>
 <li><p>Navigate to the <a href="https://platform.openai.com/" rel="nofollow noopener noreferrer" target="_blank">OpenAI API Platform</a>.</p></li>
 <li><p>Sign in with your existing OpenAI account or create a new account.</p></li>
 <li><p>Once signed in, open the OpenAI API dashboard.</p></li>
</ol>
<p><strong>Note:</strong> An OpenAI API account is required to generate an API key. A ChatGPT subscription is not required.</p>
<h2>Step 2: Generate an OpenAI API Key</h2>
<ol>
 <li><p>Navigate to the <a href="https://platform.openai.com/api-keys" rel="nofollow noopener noreferrer" target="_blank">OpenAI API Keys</a> page.</p></li>
 <li><p>Select the appropriate OpenAI project. You can use an existing project or create a dedicated project for Pyramid Analytics.</p></li>
 <li><p>Click <strong>Create new secret key</strong>.</p></li>
 <li><p>Enter a descriptive name, such as <code>Pyramid-Analytics</code>.</p></li>
 <li><p>Select the appropriate permissions:</p>
  <ul>
   <li><p><strong>All:</strong> Grants full API permissions.</p></li>
   <li><p><strong>Restricted:</strong> Allows permissions to be limited to specific API resources and operations.</p></li>
   <li><p><strong>Read Only:</strong> Does not provide the permissions required to generate LLM responses.</p></li>
  </ul></li>
 <li><p>Click <strong>Create secret key</strong>.</p></li>
 <li><p>Copy the generated key and store it securely.</p></li>
</ol>
<p><strong>Important:</strong> OpenAI displays the full secret key only once when it is created. If the key is lost, a new one must be generated.</p>
<h2>Step 3: Configure OpenAI in Pyramid Analytics</h2>
<p>Once the API key has been generated, configure it in Pyramid.</p>
<ol>
 <li><p>Log in to Pyramid Analytics with an administrator account.</p></li>
 <li><p>Open the <strong>Admin Console</strong>.</p></li>
 <li><p>Navigate to <strong>AI → LLM Manager</strong>.</p></li>
 <li><p>Click <strong>Add LLM Provider</strong>.</p></li>
 <li><p>Select <strong>OpenAI</strong> from the Vendor dropdown.</p></li>
 <li><p>Enter a name for the provider, such as <code>OpenAI</code>.</p></li>
 <li><p>Paste the generated API key into the <strong>API Key</strong> field.</p></li>
 <li><p>Click <strong>Save</strong>.</p></li>
</ol>
<p>The OpenAI provider should now appear in the list of configured LLM providers.</p>
<h2>Step 4: Enable AI Features and Test the Connection</h2>
<p>After configuring the OpenAI provider, ensure the appropriate AI features are enabled in Pyramid.</p>
<ol>
 <li><p>Navigate to <strong>Admin Console → AI → AI Settings</strong>.</p></li>
 <li><p>Enable the main Generative AI and Natural Language options.</p></li>
 <li><p>Enable the relevant Chatbot and Generative AI functionality as required.</p></li>
 <li><p>Select the configured OpenAI provider as the default LLM provider for the desired features.</p></li>
 <li><p>Save the settings.</p></li>
 <li><p>Return to <strong>AI → LLM Manager</strong>, select the OpenAI provider, and click <strong>Test</strong> to verify the connection.</p></li>
</ol>
<p>A successful test confirms that Pyramid can communicate with the configured OpenAI service.</p>
<p><strong>Note:</strong> The LLM provider test may fail if the main Generative AI and Natural Language options are disabled in Pyramid's AI Settings. Available settings may vary depending on the Pyramid version.</p>
<h2>Additional Resources</h2>
<ul>
 <li><p><a href="https://platform.openai.com/" rel="nofollow noopener noreferrer" target="_blank">OpenAI API Platform</a></p></li>
 <li><p><a href="https://platform.openai.com/api-keys" rel="nofollow noopener noreferrer" target="_blank">OpenAI API Keys</a></p></li>
 <li><p><a href="https://platform.openai.com/docs/" rel="nofollow noopener noreferrer" target="_blank">OpenAI API Documentation</a></p></li>
 <li><p><a href="https://help.pyramidanalytics.com/content/root/AdminClient/ai/LLM%20Manager.htm" rel="nofollow noopener noreferrer" target="_blank">Pyramid Analytics – LLM Manager</a></p></li>
</ul>
<p style="text-align:start">&nbsp;</p>]]></description>
          <pubDate>Wed, 13 Mar 2024 13:09:03 +0000</pubDate>
          <guid>https://community.pyramidanalytics.com/t/m1y8kfn/how-to-generate-an-openai-api-key-for-llm-integration-in-pyramid-analytics</guid>
          <dc:creator>Omri Zach</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 emails in a fashion that is recognizable and individualized is a big help in driving 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 use the basic template included in the system and add 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 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.<br> All tags have an opening and a closing.<br> We have a placeholder tag to store variables for formatting tags and an image tag where you can add 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'll see the preview section; you can preview your template in Desktop, Mobile, and Plain Text Formats.&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>
<pre class="language-markup"><code class="language-markup">&lt;a&nbsp;href="https://www.pyramidanalytics.com/"&gt;&nbsp; &lt;img width='500 px'&nbsp; src="... "&nbsp; /&gt;'&nbsp; &lt;/a&gt;
</code></pre>
<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/how-to-speed-up-queries-running-against-an-aws-aurora-rds-mysql-database-instance</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/how-to-speed-up-queries-running-against-an-aws-aurora-rds-mysql-database-instance</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-from-tips-tricks-june-2022</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-from-tips-tricks-june-2022</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-used-in-present-and-publish-from-tipstricks-321</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>
<pre class="language-sql"><code class="language-sql">SELECT DISTINCT
pp.ContainerID,
pp.ContainerName,
pp.ContainerType,
i.id AS ContentID,
i.name AS ContentName,
CASE i.item_type
WHEN 3 THEN 'Discover'
ELSE 'Illustration'
END AS ContentType
FROM (
SELECT
id AS ContainerID,
name AS ContainerName,
CASE sub_type
WHEN 2 THEN 'Presentation' -- item_type 4, sub_type 2
WHEN 3 THEN 'Publication' -- item_type 4, sub_type 3
END AS ContainerType
FROM content_tbl_item
WHERE item_type = 4
AND sub_type IN (2, 3)
) pp -- Presentations and Publications
INNER JOIN content_tbl_container_data cd ON pp.ContainerID = cd.container_id
INNER JOIN content_tbl_document d ON cd.id = d.container_data_id
INNER JOIN content_tbl_item_usages iu ON d.id = iu.parent_id
INNER JOIN content_tbl_item i ON iu.child_id = i.id
ORDER BY pp.ContainerName, i.name;</code></pre>
<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-used-in-present-and-publish-from-tipstricks-321</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-andor-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-andor-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-andor-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-andor-r-environments</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>Logs Locations</title>
          <link>https://community.pyramidanalytics.com/t/36sytn/logs-locations</link>
          <description><![CDATA[<p>Pyramid supports both individual and enterprise deployments and can run across multiple servers and services. Various logs are generated to help administrators monitor system activity, investigate errors, and troubleshoot performance or installation issues.</p>
<p>Below are the different types of Pyramid logs, how to access them, and their default locations on Windows installations.</p>
<h3><u>Pyramid Admin Console Logs</u></h3>
<p>These logs are stored in the Pyramid repository and can be accessed through the Admin Console.</p>
<p>The following log types are available:</p>
<ol>
 <li><strong>System Logs</strong> - Record application errors, warnings, informational messages, and diagnostic events. Logging levels range from Level 0 (default) to Level 4 (Trace). Debug and Trace logging should only be enabled when required for troubleshooting.</li>
 <li><strong>Entry Logs</strong> - Record user logins, failed login attempts, and formal logouts performed through the application.</li>
 <li><strong>Transaction Logs</strong> - Record queries executed by users against data sources, helping administrators investigate query performance and usage.</li>
 <li><strong>Benchmark Logging</strong> - Provides additional performance information for transactions, helping identify where processing time is spent. Benchmark information is accessed through Transaction Logs when benchmark logging is enabled.</li>
 <li><strong>Static Shares</strong> - Records emails sent using the Send Export functionality.</li>
 <li><strong>LLM Logs</strong> - Records chatbot queries, including requests and responses. Additional diagnostic information can be collected by enabling Detailed LLM Logging.</li>
 <li><strong>Solve Logs</strong> - Records the execution of Solve algorithms in the application.</li>
 <li><strong>Purged / Deleted Items</strong> - Provides information about objects and items deleted from the system.</li>
 <li><strong>Audit Trail</strong> - Tracks changes to supported objects, including creation, modification, and deletion. Audit information is accessed through the relevant object management screens.</li>
</ol>
<p><strong>To access the logs:</strong><br> Admin Console &gt;&gt; Logs &gt;&gt; Select the required log type (System, Entries, Transaction, LLM, Solve, Static Shares, etc.).</p>
<p style="text-align:left"><img alt="" class="fb-img" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/545b6613-b0a8-4ba9-a0fd-8b4f47c3a05a/h/547.jpg" style="" width="1889"></p>
<p><em>Important: Always select the correct time frame when filtering logs. For example, the System Logs page defaults to displaying events from the last 15 minutes. Older events will not appear unless the time filter is adjusted. </em></p>
<p>Logs can be filtered by time and other available fields. System Logs can also be searched using a Request ID.</p>
<p><strong>Configuring logging:</strong><br> Admin Console &gt;&gt; Logs &gt;&gt; Log Settings</p>
<p>From Log Settings, administrators can enable or disable different logging types, configure retention periods, and purge stored logs. Remember to click <strong>Apply</strong> after changing settings.</p>
<p><strong>Important:</strong> Increasing system logging levels or enabling Benchmark, Trace, Debug, or other detailed diagnostic logging can significantly affect performance. These options should normally only be enabled when investigating an issue.</p>
<p>For more information, see: <a href="https://help.pyramidanalytics.com/Content/Root/AdminClient/logs/System%20Logging.htm" rel="nofollow noopener noreferrer" target="_blank"> Pyramid Logging Documentation </a> and <a href="https://help.pyramidanalytics.com/Content/Root/AdminClient/logs/Logging.htm" rel="nofollow noopener noreferrer" target="_blank"> Log Settings </a>.</p>
<h3><u>Server / Service Logs</u></h3>
<p>In addition to the logs available through the Admin Console, Pyramid services generate log files on the servers where they are running.</p>
<p>These files can contain more detailed information than the System Logs shown in the Admin Console.</p>
<p>Examples of services generating logs include:</p>
<ol>
 <li><strong>DNC (Dot Net Connector)</strong> - Used for connectivity to supported data sources, including OLAP sources.</li>
 <li><strong>Runtime Engine</strong> - Generates logs relating to runtime processing and query execution.</li>
 <li><strong>Task Engine</strong> - Generates logs relating to background processing, schedules, and tasks.</li>
</ol>
<p><u>Location:</u><br> On a standard Windows installation, service logs are stored in the log directory under the Pyramid installation folder.</p>
<p style="text-align:left"><img alt="" class="fb-img" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/c9ccfd1f-cc6c-4a85-8cdd-5bced813c6b3/h/547.png" style="" width="1178"></p>
<blockquote>
 <p><code>C:\Program Files\Pyramid\log</code></p>
</blockquote>
<p>In a distributed deployment, check the log directory on each server hosting the relevant Pyramid service.</p>
<p>If Pyramid was installed in a custom directory, adjust the path accordingly.</p>
<h3><u>Satellite Logs</u></h3>
<p>Satellite processes generate their own logs, which can provide additional information when investigating Satellite-related issues.</p>
<p><u>Default Windows location:</u></p>
<blockquote>
 <p><code>C:\Program Files\Pyramid\satellite\log</code></p>
</blockquote>
<h3><u>IMDB Logs</u></h3>
<p>The Pyramid In-Memory Database (IMDB / IRDB) generates its own log files, which can assist in investigating database-related issues.</p>
<p><u>Default Windows location:</u></p>
<blockquote>
 <p><code>C:\Program Files\Pyramid\imdb\irdb.log</code></p>
</blockquote>
<p>Check the server hosting the IMDB service. The location may differ if a custom installation path has been configured.</p>
<h3><u>Limiting the Size of Local Service Logs</u></h3>
<p>Pyramid services that use Logback can be configured to limit the amount of disk space used by archived log files.</p>
<p>Log rotation and retention settings are defined in the relevant service's <strong>logback.xml</strong> file.</p>
<p><strong>Important:</strong> Before making any changes, create a backup of the existing logback.xml file.</p>
<p><strong>Example - Task Engine:</strong></p>
<p>On a standard Windows installation, the Task Engine logging configuration is located at:</p>
<blockquote>
 <p><code>C:\Program Files\Pyramid\te\conf\logback.xml</code></p>
</blockquote>
<p>In the current Task Engine configuration, the following log files are defined:</p>
<ul>
 <li><code>tasksengine.log</code></li>
 <li><code>method.log</code></li>
 <li><code>direct.log</code></li>
</ul>
<p>Each log uses a rolling policy to create daily archived files and retain up to 30 days of history.</p>
<p>To limit the combined size of archived files for one logging appender, locate its <strong>rollingPolicy</strong> section.</p>
<p>For example, the Task Engine logging configuration includes the following:</p>
<pre class="language-xml"><code class="language-xml">&lt;rollingPolicy&nbsp;class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;fileNamePattern&gt;${log.dir}/tasksengine.%d{yyyy-MM-dd}.log&lt;/fileNamePattern&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;maxHistory&gt;30&lt;/maxHistory&gt;
&lt;/rollingPolicy&gt;</code></pre>
<p>To limit archived logs to a total of 1 GB for this appender, add <strong>totalSizeCap</strong>:</p>
<pre class="language-xml"><code class="language-xml">&lt;rollingPolicy&nbsp;class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;fileNamePattern&gt;${log.dir}/tasksengine.%d{yyyy-MM-dd}.log&lt;/fileNamePattern&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;maxHistory&gt;30&lt;/maxHistory&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;totalSizeCap&gt;1GB&lt;/totalSizeCap&gt;
&lt;/rollingPolicy&gt;</code></pre>
<p>The same setting can be added to the rolling policies for <code>method.log</code> and <code>direct.log</code>, if required.</p>
<p><strong>Note:</strong> The totalSizeCap setting applies separately to each rolling policy. For example, configuring 1 GB for three appenders allows approximately 3 GB of archived logs in total. This setting does not limit the size of the currently active log file.</p>
<p>If you also need to limit the size of individual active log files, a size-based rolling policy is required. For example:</p>
<pre class="language-xml"><code class="language-xml">&lt;rollingPolicy&nbsp;class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;fileNamePattern&gt;${log.dir}/tasksengine.%d{yyyy-MM-dd}.%i.log&lt;/fileNamePattern&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;maxFileSize&gt;100MB&lt;/maxFileSize&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;maxHistory&gt;30&lt;/maxHistory&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;totalSizeCap&gt;1GB&lt;/totalSizeCap&gt;
&lt;/rollingPolicy&gt;</code></pre>
<p>This example configures size-and-time-based rotation, with a 100 MB rollover threshold, 30 days of history, and a 1 GB cap for archived files.</p>
<p><strong>Important:</strong> Do not simply add maxFileSize to an existing TimeBasedRollingPolicy. The rolling policy must support size-based rotation, and the filename pattern must include the index placeholder (%i).</p>
<p>Changes to logback.xml should be performed during an appropriate maintenance window. Restart or reload the relevant service if required, and verify that logging continues correctly.</p>
<p>To configure logging for another Pyramid service, locate and review that service's own logback.xml file. The file locations and logging appenders can vary between services and deployment types.</p>
<p><strong>Note:</strong> These settings control local Logback-managed files. They are separate from the repository log-retention settings configured through the Pyramid Admin Console.</p>
<h3><u>Installation / Upgrade Logs</u></h3>
<p>Pyramid installation and upgrade logs are useful for diagnosing installation failures and upgrade issues.</p>
<p><u>Default location for traditional Windows installations:</u></p>
<blockquote>
 <p><code>C:\Users\&lt;user_name&gt;\AppData\Local\Temp</code></p>
</blockquote>
<p>Alternatively, open the Windows Run dialog (Windows + R), type <strong>%TEMP%</strong>, and press Enter.</p>
<p>This opens the temporary folder of the currently logged-in Windows user.</p>
<p>Replace <strong>user_name</strong> with the Windows account used to run the Pyramid installation.</p>
<p>Depending on the installer version, look for the following log files:</p>
<ol>
 <li><code>installerbuilder_install.log</code></li>
 <li><code>pyramidinstaller.log</code></li>
</ol>
<p>There may be multiple files from previous installation or upgrade attempts. Sort the files by <strong>Date Modified</strong> to identify the logs associated with the latest attempt.</p>
<p>Installer log filenames and locations may differ according to the Pyramid version and installation method.</p>
<h3><u>Additional Information</u></h3>
<p>When investigating an issue, Pyramid Support may request logs from more than one server or service.</p>
<p>Where possible, provide the following information together with the logs:</p>
<ul>
 <li>The Pyramid version and build number.</li>
 <li>The approximate date and time of the issue.</li>
 <li>The affected server and Pyramid service.</li>
 <li>Relevant error messages or Request IDs.</li>
 <li>Steps to reproduce the issue, if applicable.</li>
</ul>
<p>For more information, refer to the <a href="https://help.pyramidanalytics.com/Content/Root/AdminClient/Admin%20Console%20Overview.htm" rel="nofollow noopener noreferrer" target="_blank"> Pyramid Admin Console Documentation </a>.</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 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 thread and heap dumps to investigate memory usage or performance issues. Follow the steps below to create these files.</p>
<p>1) Log in to the Pyramid server and open Task Manager. Select the Details tab, right-click a column heading, choose Select columns, and enable the "PID" and "Command line" columns.</p>
<p><img alt="Task Manager showing the process ID and command line columns" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/f99ad381-111a-4681-a9ba-f595970efa24/547.jpg" style=""></p>
<p>2) Open Command Prompt as administrator and run the following two commands. Replace <strong>10432</strong> in both commands with the PID of the Pyramid Java process requested by Support. If Pyramid is installed in a different location, adjust the path to jcmd.exe.</p>
<p><strong>Create a thread dump:</strong></p>
<pre class="language-none"><code class="language-none">"C:\Program Files\Pyramid\java\bin\jcmd.exe" 10432 Thread.print &gt; threadDump.txt</code></pre>
<p><strong>Create a heap dump:</strong></p>
<pre class="language-none"><code class="language-none">"C:\Program Files\Pyramid\java\bin\jcmd.exe" 10432 GC.heap_dump C:\heapDump.hprof</code></pre>
<p>The first command creates "threadDump.txt" in the directory from which the command was run. The second command creates "C:\heapDump.hprof". Ensure the Pyramid service account has permission to write to the heap dump location.</p>
<p>Collecting a heap dump may pause the affected service and generate a large file. Ensure sufficient free disk space before running the command, and wait for it to report successful completion. Use a different filename for each additional heap dump.</p>
<p>3) Place both files in a folder and compress them into a ZIP file. Include the server name, Pyramid service name, PID, and date and time of collection.</p>
<p>To identify the Pyramid service, look near the beginning of the "Command line" column for the <code>-Dsvc=</code> parameter, immediately after the Java executable path. Examples include:</p>
<ul>
 <li><code>-Dsvc=fs</code> = Pyramid File Server</li>
 <li><code>-Dsvc=agent</code> = Pyramid Agent</li>
 <li><code>-Dsvc=te</code> = Pyramid Task Engine</li>
 <li><code>-Dsvc=rte</code> = Pyramid Runtime Engine</li>
 <li><code>-Dsvc=rtr</code> = Pyramid Router Server</li>
 <li><code>-Dsvc=ww</code> = Pyramid Web Server</li>
 <li><code>-Dsvc=ai</code> = Augmented Analytics Server (AI / DS / ML)</li>
 <li><code>-Dsvc=nlp</code> = Pyramid NLP (Natural Language Query)</li>
</ul>
<p>Note the service name and its PID so that Support can identify which process each thread and heap dump belongs to.</p>
<p style="text-align:left"><img alt="" class="fb-img" src="https://s3-us-west-2.amazonaws.com/media.forumbee.com/i/4caa7e83-88a9-4679-814c-2506a79c0a22/h/547.jpg" style="" width="1074"></p>
<p>&nbsp;</p>
<p>Repeat these steps for each process requested by Support, using separate filenames or folders for each process. Send the ZIP files using the upload method provided by Pyramid Support.</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>

      </channel>
</rss>
