Select to view content in your preferred language

Widget on Mac Problem

928
5
11-10-2012 10:51 PM
MohamadOubaid
Emerging Contributor
Dears,

Is there any limitation to develop a widget for Mac and add it to the dashboard?

I did one for googlemap just as a sample, and It was working fine, I tried the Widget samples from Esri samples, none of them work for me, any idea please.

I will really appreciate any hints or working samples.


Best Regards
0 Kudos
5 Replies
JohnGravois
Deactivated User
Hi Mohamad,

welcome to the JavaScript forum.  what dashboard are you referring to?  what Esri samples are you referring to?
0 Kudos
MohamadOubaid
Emerging Contributor
In Mac Os there is Window called Dashboard where you can add all you widgets, Wether, Money etc.
For the Samples I am refering to is any simple sample in The Widget samples, You can consider this is my sample :
http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/exp_webstorage...

I download the Javascript file and add it into my widget folder and then I tried to add it into the dashboard, No Map appear at all.


Regards
0 Kudos
__Rich_
Deactivated User
In Mac Os there is Window called Dashboard where you can add all you widgets, Wether, Money etc.
For the Samples I am refering to is any simple sample in The Widget samples, You can consider this is my sample :
http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/exp_webstorage...

I download the Javascript file and add it into my widget folder and then I tried to add it into the dashboard, No Map appear at all.


Regards

That link doesn't work.

I'm not a Mac user but my understanding is that dashboard widgets are essentially complete web pages effectively hosted in mini browsers within the dashboard.

You need to gather together all of the files (HTML, CSS, JS, images etc.) that comprise the sample then place them all in a single directory, then give that directory an extension of ".wdgt" - you should then be able to add that to the dashboard as a widget.

There are tools to help people create widgets from existing web pages, it sounds like you need to look at these tools - they should make it easier for you.
0 Kudos
MohamadOubaid
Emerging Contributor
Thank you John
I will do more research on the tools you talked about, but I did the same for a Google Map Widget and It was working fine for me.
Definitely I am adding all the files including the CSS and the images.

I will try some of those tools and I will get back to you.

Thank you again.
0 Kudos
MohamadOubaid
Emerging Contributor
Here is the Widget sample that I am trying for example to make it work as a dashboard widget:
http://help.arcgis.com/en/webapi/javascript/arcgis/samples/widget_overviewmap/index.html

sorry for the previous link,

anyway, It still not working, I am not sure if the problem is related to Dojo, but I beleive It should be a configuration issue, as It is working fine on Safari browser.


Is there any idea to have it work on Mac Dashboard,

Again, Dashboard is the same as sidebar in Windows, but you can view it in full screen mode.


Regards & Thanks
0 Kudos