Refine your search:

In 4.3 a change was made where an app's application.js file is no longer served from within Manager (and thus within App Setup).

Unfortunately my apps use this mechanism quite extensively to incorporate app setup into a larger wizard flow, and to customize the appearance and behavior of the basic app setup page.

If this was just a mistake and it's going to be fixed in a maintenance release, maybe I'll tell my customers to upgrade. On the other hand if this change is going to be in there for the foreseeable future I'll have to abandon app setup and rewrite this functionality without it.

asked 02 Feb, 16:44

nick's gravatar image

nick ♦
14.2k1318
accept rate: 46%


One Answer:

The workaround I've gone with, is bundling a custom module in the app, including that module in the "_admin" view which is included on all Manager pages, and pulling out all the code from application.js and putting it into the JS file for that (otherwise inert) app.

In the long run I may build a controller to handle it all. It was nice to use setup.xml to catch that initial "app requires setup" piece, but oh well. If it cant load application.js it's no good to me.

link

answered 02 Feb, 23:47

nick's gravatar image

nick ♦
14.2k1318
accept rate: 46%

Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×6
×4

Asked: 02 Feb, 16:44

Seen: 211 times

Last updated: 02 Feb, 23:47

Copyright © 2005-2012 Splunk, Inc. All rights reserved.