|
POST
|
I was able to fix this by modifying the jimu.js/WidgetManager.js file. Basically it just appends a random number at the end of the widget file when downloaded. (see attached file and instructions below) Attached is my "jimu.js/WidgetManager.js" file for version 1.2 How to implement Ensure you are using WebAppBuilder version 1.2 BACK UP YOUR jimu.js/WidgetManager.js file Overwrite your file with the attached WidgetManager.js Open the file and change the variable "myHostName" to the site your app is published on (i.e. my-web-map.com). Publish and test.. You will see if firebug that a parameter is appended to the "Widget.js" file when downloaded. Sample: Enjoy and let me know if you have any questions. Drew
... View more
12-21-2015
12:44 PM
|
2
|
8
|
7352
|
|
POST
|
I am having the same issues. My apps are getting cached for the users and in order for them to get a different version I create a redirect from the root folder to a new folder.. I have tried modifying the index page and it did not help as I expected. I also added the necessary meta tags in the index page with no result... I think ESRI should have an option to use the dojo preventCache parameter in all the widget file requests. If anyone knows of a way to force the app to do this I would be interested in seeing the implementation. As of now I am digging around the the WidgetManager.js file to see if I can append my own unique ID onto the end of each URL request. Its a little dirty as I would prefer to not modify the core code of the WAB. Drew
... View more
09-22-2015
06:46 AM
|
1
|
0
|
7353
|
|
POST
|
I have finally figured out it.. In our theme I was creating a new instance of the PanelManager where I should have been using the PanelManager.getInstance(); Simple, but stumped me for a long time... Something in 1.2 changed i guess. Thanks again, Drew
... View more
09-15-2015
08:24 AM
|
0
|
0
|
1298
|
|
POST
|
Thanks for the reply guys. As I step though some code I am seeing the deactivate() function being after the item click. It all stems back to the "onPanelClick" event in the PanelManager class. I did a few hacks when creating our theme and I think I have to look how I add widgets to the application. Basically I was using a shared panel for many widgets and it seems that may not be possible. Thanks for the suggestions Drew
... View more
09-15-2015
07:15 AM
|
0
|
0
|
1298
|
|
POST
|
Hello, I recently updated our code base to the 1.2 builder and viewer. I am having some issues with the default Measure and Draw widgets (the only 2 out of the box widgets I use). Basically the buttons do not stay activated and the drawtool code deactivates instantly. When I click on the draw button the css class "jimu-state-active" gets added to the element but the instantly gets removed. Something in the 1.2 code has changed and I am having difficulties trying to figure it out. Please note this is only happening in our custom theme we have built in house and not in an ESRI theme. There must be some event I need to add to my theme code or something.. Any ideas ? Drew
... View more
09-10-2015
12:59 PM
|
0
|
5
|
3900
|
|
POST
|
I have done similar (in Flex) as you describe in Option B.. I believe it was the PrintParamters map object I just needed to modify. I believe i cloned the map object, updated the properties i needed and then passed it as that as the map parameter This way the visible map was not really used. Drew
... View more
09-03-2015
10:03 AM
|
0
|
0
|
2551
|
|
POST
|
I think its because your marker symbol has an offset set. esri.symbol.PictureMarkerSymbol("images/mylocation5.png", 17, 32).setOffset(18, 27) remove the setOffset and it should hit the same location. Drew
... View more
09-02-2015
11:07 AM
|
1
|
1
|
1335
|
|
POST
|
Thanks Jacob! I think that will do it. I found the variable - I will restart the service at an appropriate time. Drew
... View more
07-15-2015
12:18 PM
|
0
|
0
|
1203
|
|
POST
|
Hello, When viewing my .jpg attachments online all browsers are prompted to download the file instead of opening in a new window. Is this the default behavior and is there a way I can modify this (by default as I want this to work in Portal for ArcGIS) ? I have attachments enabled on my feature class and every attachment is a .jpg file. The content-type in the _ATTACH table is "image/jpeg". Looking at fiddler the Content-Type sent back from the server is "application/octet-stream" (see photo below) I would expect the content type to be the type defined in the _ATTACH table. Thanks, Drew Content Type From Fiddler
... View more
07-14-2015
08:44 AM
|
0
|
0
|
3681
|
|
POST
|
Paul, Are you using VMware or Msoft HyperV ? We are suing VMware When you say Managed Database, are you referring to a database backed Geodatabase or to the Data Store that comes with Portal? The managed database is one that Portal uses when people want to copy data to the server. We prefer not to do this though.. I believe we needed one when federating though Do you have AGS boxes serving up content (map services, feature services, imagery, etc...)? We have a few AGS boxes. All our basemaps and other common services are not hosted on our Portal AGS box, but linked as basmaps. Out Portal AGS instance is strictly for portal resources created by users. Hope that helps. Andrew
... View more
07-14-2015
08:26 AM
|
1
|
1
|
4832
|
|
POST
|
Is there a way to disable the Scene Tab in Portal? (front end or back end) Our basemap cache does not match the desired tile schema so it throws an error each time it loads. We have one additional scale different (1:564) than the ESRI basemaps and I believe this is causing the issue. Drew
... View more
07-09-2015
09:04 AM
|
0
|
2
|
4126
|
|
POST
|
I can give you our set up. We are slowly getting people onto Portal so it may need to scale a little bit in the future. VM Box - Xeon @3.3Ghz, Quade core, 16 GB Ram ArcGIS Server 10.3.1 and Portal on the same box Managed Database on a separate database server IIS with web adapter Federated HTTPS - i believe its required. Install ArcGIS Server first and the Portal Simply because we federated the server - we needed AGS installed already
... View more
07-09-2015
08:58 AM
|
1
|
3
|
4835
|
|
POST
|
Thanks Jayanta! I assumed that was the case, but just wanted to ensure.
... View more
07-06-2015
05:32 AM
|
0
|
0
|
866
|
|
POST
|
Hello, Is it normal that you have to share the related Map Image Layer in order to get the Feature Layer shared to everyone? I am finding that the security does not function properly unless the related Map Image Layer has the same sharing permissions. Drew
... View more
07-03-2015
11:46 AM
|
0
|
2
|
3493
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-04-2013 09:40 AM | |
| 1 | 12-11-2012 10:19 AM | |
| 1 | 05-25-2015 10:46 AM | |
| 1 | 05-10-2016 06:31 AM | |
| 1 | 01-17-2017 11:01 AM |
| Online Status |
Offline
|
| Date Last Visited |
12-31-2021
09:54 AM
|