POST
|
I'm developing custom widgets for WAB (Develper Edtion) 2.17, Launchpad Theme, on 3D Scenes (ArcGIS API for javascript 4.17 ), on our compamy portal (version 10.7.1). I still consider myself a newbie... In my work I need to add an additional independent search functionality, which will use the API of some official map searching API service, and goto in the scene, to the returned x,y coorinastes. So I need to create a custom "Search2" widget. I need it to look similar to WAB's "Search" widget, but I need to throw most of its logic and css, since I won't use esri's Search widget blackbox logic. I need to have an access to the textbox and to the search button (and the textbox ReturnKEY event callback) since I need to do "my" independent search logic which addresses a specific service API). We use Launchpad scheme. File themes\LaunchpadTheme\widgets\Header\Widget.js is WAB's oval "Header" widget which wraps within it the esri's Search widget "blackbox" (oval, white background) . screenshot attached. I want the "Header" widget to include also "my" Search2 widget at its rightside. I will appreciate help in the areas of: css code, Header widget logic. Header Widget containing Search widget button. Michael
... View more
|
0
|
0
|
26
|
POST
|
At last I succeeded! I used the fontconverter as recommended in jsPDF doc to create js file that I activated and this has not worked for me, but using their 2nd way - downloading the binary ttf file that is also generated by that tool and using it as in thedropdown arabic example in jsPDF site, works well. Actually the ttf file coul be downloaded from other sites also. I am very happy with jsPDF!
... View more
12-23-2020
02:47 AM
|
1
|
0
|
161
|
POST
|
I'm developing custom widgets for WAB (Develper Edtion) 2.17, Launchpad Theme, on 3D Scenes (ArcGIS API for javascript 4.17 ), on our compamy portal (version 10.7.1). I am still a newbie... I need, from within javascript code of a custom widget, to create pdf file which will contain Hebrew text. I found jsPDF library, incorporated it by its jspdf.umd.min.js file and it creates pdf all right, but I have not succeeded to show Hebrew fonts. jsPDF is good by the capability to show tables, so I wish to use it right. Maybe I have not set up all things as should be? Does anyone have some sample code that can output Hebrew text (or Arabic, for example) to pdf, using jsPDF library? Sample using other library like pdfmake will also help. Help will be greatly appreciated, Michael
... View more
12-23-2020
12:32 AM
|
1
|
1
|
171
|
POST
|
Dear Robert, Thank you for your many immediate answers. You are helping me so much! I don't have words to thank you as I have to! Michael
... View more
12-21-2020
08:17 AM
|
0
|
0
|
84
|
POST
|
Dear Robert, Thank you for your many immediate answers. You are helping me so much! I don't have words to thank you as I have to! Michael
... View more
12-21-2020
08:16 AM
|
0
|
0
|
71
|
POST
|
I'm developing custom widgets for WAB (Develper Edtion) 2.17, Launchpad Theme, on 3D Scenes (ArcGIS API for javascript 4.17 ), on our compamy portal (version 10.7.1). I am still a newbie... I need, from a custom widget javascript code, to create a pdf containing screenshot of the sceneView in its upper part and some formatted text in its lower part. Help will be greatly appreciated, Michael
... View more
12-20-2020
11:49 PM
|
0
|
0
|
66
|
POST
|
I'm developing custom widgets for WAB (Develper Edtion) 2.17, Launchpad Theme, on 3D Scenes (ArcGIS API for javascript 4.17 ), on our compamy portal (version 10.7.1). I am still a newbie... I need, from within javascript code of a custom widget, to modify and update contents of a field of some feature in a (editable, of course) feature layer. How do I do it? Help will be greatly appreciated, Michael
... View more
12-20-2020
11:40 PM
|
0
|
2
|
245
|
POST
|
I'm developing custom widgets for WAB (Develper Edtion) 2.17, Launchpad Theme, on 3D Scenes (ArcGIS API for javascript 4.17 ), on our compamy portal (version 10.7.1). I am still a newbie... I need to create screenshot after setting definition expression for 2 layers, but I don't know how to wait for the layers view to settle, so that the screenshot will show the layers after some features in both layers have been hidden by the new definition expressions. Help will be greatly appreciated, Michael
... View more
12-19-2020
08:22 AM
|
0
|
2
|
189
|
POST
|
Found... use featurePointed.graphic.attributes, for example: featurePointed.graphic.attributes.Client_Num
... View more
12-16-2020
10:09 AM
|
0
|
0
|
34
|
POST
|
I'm developing custom widgets for WAB (Develper Edtion) 2.17, Launchpad Theme, on 3D Scenes (ArcGIS API for javascript 4.17 ), on our compamy portal (version 10.7.1). I am still a newbie... When I create a popup (by this.layerClients.popupTemplate = { "title": `${that.nls.popupTitle} {Client_Num} - {Client_Name}`, outFields: ["*"], "content": featurePointed => { // we chose content to be a function outFields: ["*"], "content": featurePointed => { ... Then, I don't know how do I get a handle to the data of the pointed record. I have the "featurePointed" but I can't find how to get the data from it. I'll appreciate help
... View more
12-16-2020
09:25 AM
|
0
|
1
|
40
|
Online Status |
Offline
|
Date Last Visited |
yesterday
|