<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How do I continue developing an app in Splunk Web after moving the app's files from its local directory to its default directory? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-continue-developing-an-app-in-Splunk-Web-after-moving/m-p/211714#M13213</link>
    <description>&lt;P&gt;Further problem is:&lt;BR /&gt;
But if I want to distribute to some Customer an updated version of my App which includes some upgrades and fixing previously done in the "local" directory, I would like to delete the current "local" directory after upgrading the app.&lt;/P&gt;

&lt;P&gt;How could it be possible  with SplunK Web?&lt;/P&gt;</description>
    <pubDate>Fri, 28 Oct 2016 12:56:51 GMT</pubDate>
    <dc:creator>marcoscala</dc:creator>
    <dc:date>2016-10-28T12:56:51Z</dc:date>
    <item>
      <title>How do I continue developing an app in Splunk Web after moving the app's files from its local directory to its default directory?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-continue-developing-an-app-in-Splunk-Web-after-moving/m-p/211710#M13209</link>
      <description>&lt;P&gt;From the Splunk docs topic "Splunk Enterprise &amp;gt; Developing Views and Apps for Splunk Web &amp;gt; About files and directories for apps and add-ons", heading "&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/AdvancedDev/ShareYourWork#Files_and_directories_for_apps_and_add-ons" target="_blank"&gt;Files and directories for apps and add-ons&lt;/A&gt;":&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;To allow users to make their own customizations without being clobbered by later updates of your app,&lt;BR /&gt;
you move all the files in $APP_HOME/local/ to $APP_HOME/default/.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;(Note to Splunk writer, if you're reading this: at the end of the paragraph containing the sentence quoted above, you might want to change "followings file" [sic] to "following files".)&lt;/P&gt;

&lt;P&gt;Okay, I did that... but now when I edit the app in Splunk Web - for example, I edit panels in the app's dashboards -  Splunk Web saves my changes to the app's local directory. While that makes perfect sense to me, it also prompts this question.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;I think the answer is: you can't.&lt;/STRONG&gt; You need to keep a "dev" version of the app where the files are in the app's local directory. Each time you want to distribute a new version of the app, you need to (as per the quoted Splunk docs, above) copy the app's files from the local directory to the default directory.&lt;/P&gt;

&lt;P&gt;That would be a minor pain, because I'd like to be able to distribute my app locally (inside my organization's intranet) using the git repo of the development version. But it seems it's not going to be that simple, unless I live with distributing all of the app's files in its local directory (but then, see "clobbered", above).&lt;/P&gt;

&lt;P&gt;Or there is some way to tell Splunk Web to update the files in the app's default directory?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:31:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-continue-developing-an-app-in-Splunk-Web-after-moving/m-p/211710#M13209</guid>
      <dc:creator>Graham_Hanningt</dc:creator>
      <dc:date>2020-09-29T10:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do I continue developing an app in Splunk Web after moving the app's files from its local directory to its default directory?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-continue-developing-an-app-in-Splunk-Web-after-moving/m-p/211711#M13210</link>
      <description>&lt;P&gt;Re:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;"all these worlds are yours, except /default - attempt no editing there"&lt;BR /&gt;
-- duckfez, 2010&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;(&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Configurationfiledirectories"&gt;Splunk docs&lt;/A&gt;)&lt;/P&gt;

&lt;P&gt;I like the Odyssey Two reference.&lt;/P&gt;

&lt;P&gt;I recently had to explain to a colleague the "Log, I am your father" caption on a freebie Splunk T-shirt. Sigh. Or rather: sinister amplified breathing via a scuba regulator.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2016 06:48:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-continue-developing-an-app-in-Splunk-Web-after-moving/m-p/211711#M13210</guid>
      <dc:creator>Graham_Hanningt</dc:creator>
      <dc:date>2016-08-04T06:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: How do I continue developing an app in Splunk Web after moving the app's files from its local directory to its default directory?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-continue-developing-an-app-in-Splunk-Web-after-moving/m-p/211712#M13211</link>
      <description>&lt;P&gt;Nope, you're right.  You copy the files to default, then distribute the app.  If you want to do further development via the UI, then you have to again copy from local to default and distribute again.  &lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2016 14:17:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-continue-developing-an-app-in-Splunk-Web-after-moving/m-p/211712#M13211</guid>
      <dc:creator>Jeremiah</dc:creator>
      <dc:date>2016-08-04T14:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do I continue developing an app in Splunk Web after moving the app's files from its local directory to its default directory?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-continue-developing-an-app-in-Splunk-Web-after-moving/m-p/211713#M13212</link>
      <description>&lt;P&gt;Thanks for mentioning that typo in the docs, it is fixed now.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2016 15:41:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-continue-developing-an-app-in-Splunk-Web-after-moving/m-p/211713#M13212</guid>
      <dc:creator>ChrisG</dc:creator>
      <dc:date>2016-08-04T15:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I continue developing an app in Splunk Web after moving the app's files from its local directory to its default directory?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-continue-developing-an-app-in-Splunk-Web-after-moving/m-p/211714#M13213</link>
      <description>&lt;P&gt;Further problem is:&lt;BR /&gt;
But if I want to distribute to some Customer an updated version of my App which includes some upgrades and fixing previously done in the "local" directory, I would like to delete the current "local" directory after upgrading the app.&lt;/P&gt;

&lt;P&gt;How could it be possible  with SplunK Web?&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2016 12:56:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-continue-developing-an-app-in-Splunk-Web-after-moving/m-p/211714#M13213</guid>
      <dc:creator>marcoscala</dc:creator>
      <dc:date>2016-10-28T12:56:51Z</dc:date>
    </item>
  </channel>
</rss>

