<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic splunk mvc sharedmodels documentation or other best practices in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/splunk-mvc-sharedmodels-documentation-or-other-best-practices/m-p/525826#M35663</link>
    <description>&lt;P&gt;Hey all, I seem to have ran into a snag when it comes to a specific feature I am trying to implement.&lt;BR /&gt;&lt;BR /&gt;My team wants to implement a feature with the input dropdowns on the webpage where the starting value would be set to the&amp;nbsp;&lt;STRONG&gt;realname&lt;/STRONG&gt; of the account currently logged in. It is important to note we are building an &lt;STRONG&gt;HTML dashboard,&lt;/STRONG&gt; and we have recently transitioned from &lt;STRONG&gt;splunk enterprise&lt;/STRONG&gt; to &lt;STRONG&gt;cloud.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;So far I was able to retrieve account information using&amp;nbsp;&lt;STRONG&gt;splunk/mvc/sharedmodels&amp;nbsp;&lt;/STRONG&gt;and the following code:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var temp;
temp = SharedModels.get("user").entry; 
console.log(temp);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know how to get the &lt;EM&gt;username, realname, email,&lt;/EM&gt; etc. What I have an issue is there seems to be &lt;STRONG&gt;no documentation&lt;/STRONG&gt; about this library anywhere, but maybe I am overlooking it?&lt;BR /&gt;&lt;BR /&gt;Most questions I have found where using this has been the answer were posted in 2013. Is there a better library I should be using that fits Splunk best practices in 2020?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Oct 2020 14:53:52 GMT</pubDate>
    <dc:creator>jnielson</dc:creator>
    <dc:date>2020-10-21T14:53:52Z</dc:date>
    <item>
      <title>splunk mvc sharedmodels documentation or other best practices</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/splunk-mvc-sharedmodels-documentation-or-other-best-practices/m-p/525826#M35663</link>
      <description>&lt;P&gt;Hey all, I seem to have ran into a snag when it comes to a specific feature I am trying to implement.&lt;BR /&gt;&lt;BR /&gt;My team wants to implement a feature with the input dropdowns on the webpage where the starting value would be set to the&amp;nbsp;&lt;STRONG&gt;realname&lt;/STRONG&gt; of the account currently logged in. It is important to note we are building an &lt;STRONG&gt;HTML dashboard,&lt;/STRONG&gt; and we have recently transitioned from &lt;STRONG&gt;splunk enterprise&lt;/STRONG&gt; to &lt;STRONG&gt;cloud.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;So far I was able to retrieve account information using&amp;nbsp;&lt;STRONG&gt;splunk/mvc/sharedmodels&amp;nbsp;&lt;/STRONG&gt;and the following code:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var temp;
temp = SharedModels.get("user").entry; 
console.log(temp);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know how to get the &lt;EM&gt;username, realname, email,&lt;/EM&gt; etc. What I have an issue is there seems to be &lt;STRONG&gt;no documentation&lt;/STRONG&gt; about this library anywhere, but maybe I am overlooking it?&lt;BR /&gt;&lt;BR /&gt;Most questions I have found where using this has been the answer were posted in 2013. Is there a better library I should be using that fits Splunk best practices in 2020?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 14:53:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/splunk-mvc-sharedmodels-documentation-or-other-best-practices/m-p/525826#M35663</guid>
      <dc:creator>jnielson</dc:creator>
      <dc:date>2020-10-21T14:53:52Z</dc:date>
    </item>
  </channel>
</rss>

