|
POST
|
Hello everyone, I would like to implement the following functionality with the Edit Widget with Web APP Builder. Restrict feature deletion only to the editor who created the feature or to any other editor that belongs to a specific group, let's call it an administrator group. I was thinking of a solution with a specific Active Directory group, so when the editor clicks on "Delete", he can delete the feature because he/she belongs to this group. Any suggestion in how to implement this functionality! Thanks
... View more
03-10-2017
12:22 PM
|
0
|
1
|
975
|
|
POST
|
Hello everyone, How can I create a dojo.grid.DataGrid with a column that displays a red X, and when the user clicks on it, it removes the record. Something like that: SanFrancisco311 - Incidents Take a look to the attachments window. Thanks
... View more
03-07-2017
12:24 PM
|
0
|
1
|
1449
|
|
POST
|
Hi Robert, I am using tau machine name, and the name of the proxy. this code ran in .Net framework 2.0 but after upgrading the project to .Net framework 4.0 I have 2 issues, the call to the rest web service does not work and visual store does not stop at the point on debug. Thanks
... View more
03-06-2017
02:53 PM
|
0
|
1
|
947
|
|
POST
|
Hello everyone, I am calling from javascript in a WebApp Application a rest web service using json, var requestHandle = esriRequest({ "url": url, "handleAs": "json", }, { useProxy: true, usePost: false, disableIdentityLookup: true }); // requestHandle.then(this.requestSucceeded, this.requestFailed); requestHandle.then( lang.hitch(this, function (response, io) { .... and I am getting the following error message: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost' is therefore not allowed access. this code was working until I upgrade the asp.net application from framework .Net Framework 2 to .Net Framework 4 Thanks
... View more
03-06-2017
01:17 PM
|
1
|
3
|
2383
|
|
POST
|
Hi Robert, How an I check the code from this file: dojox/form/uploader/_IFrame.js it looks like there is an incorret variable name on line cheking for error so it returns always error even if there is no error. #17116 (/dojox/form/uploader don´t call onError on IFRAME) – Dojo Toolkit Thanks
... View more
03-04-2017
06:28 AM
|
0
|
1
|
919
|
|
POST
|
Hi Robert, I am going to use a web rest web service to check if the folder exists. Thanks
... View more
03-04-2017
06:25 AM
|
0
|
0
|
5279
|
|
POST
|
Hello everyone Is there a way to check if a folder exists in javascript? or in dojo? Thanks
... View more
03-03-2017
12:06 PM
|
0
|
2
|
11465
|
|
POST
|
Hello everyone, Where is the Dojo library loaded in WebApp Builder ? I would like to check the following fiel "dojox/form/uploader/_IFrame.js" to check if the error is checked correctly. I would like to see that version of dojox/form/uploader I am running because I am getting always the error event even if I add an exit after PageLoad in my ".aspx" page: Protected Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load ..... Exit Sub ........ I want to check if this bug persists in the version I am running: https://bugs.dojotoolkit.org/ticket/17116
... View more
03-03-2017
11:32 AM
|
0
|
3
|
1676
|
|
POST
|
Hello everyone, I would like to read a Key located in the “web.config” file running a Web App builder in IIS <add key="ProjectPath" value="\\[server]\Project\Data\"/> How can I read this info using javascript, dojo from a Web AppBuilder inside ../Edit/Widget.js I am looking for the equivalent of this Vb.net line: backupProjectPath = ConfigurationManager.AppSettings("ProjectPath") Thanks
... View more
02-23-2017
08:38 AM
|
0
|
1
|
4732
|
|
POST
|
Hello everyone, I was able to upload documents associated to a feature using the uploader from "dojox.form.Uploader". To understand how the uploader works I recommend to take a look to this sample and using it as a template as I did. http://jsfiddle.net/joshuaboshi/38B55/ Instead of using the form "UnloadFile.php" I am using an aspx form, for that I just created a new aspx form : "UploadFile.aspx" This is the javascript code inside Widget.js: this.form = domConstruct.create('formUpload', { method: 'post', enctype: 'multipart/form-data', class: 'Uploader' }, this.editPopup.domNode.children[0].children[1].children[0].children[0].children[2]); this.up = new Uploader({ label: 'Browse', multiple: true, url: "UploadFile.aspx?PROJECTID=" }).placeAt(this.form); this.up.startup(); this.txtBox = new dijit.form.TextBox({ name: "PROJECTID", value: "" /* no or empty value! */, placeHolder: "PROJECTID" },"PROJECTID").placeAt(this.form,'last'); this.txtBox.set("value", "hello"); this.btn = new Button({ label: 'Upload', onClick: lang.hitch(this,function() { var concatenateURL = "".concat("UploadFile.aspx?PROJECTID=" , this.globalPROJECTID); this.up.set("url", concatenateURL); this.up.upload( ); }) }).placeAt(this.form);
... View more
02-21-2017
09:37 AM
|
0
|
0
|
739
|
|
POST
|
Hello everyone, Is there a way to change the color and other attributes in a Button? This is the code I am using in my program: require([ "dojo/dom-construct", "dijit/form/Button", ....... this.btn = new Button({ label: 'Upload', onClick: function() { this.up.upload(); } }).placeAt(this.form); Thanks
... View more
02-15-2017
07:32 AM
|
0
|
1
|
1015
|
|
POST
|
Found this sample: Dojo Uploader error - JSFiddle How do I add code on the Upload button ???
... View more
02-14-2017
06:25 PM
|
0
|
0
|
647
|
|
POST
|
Hello everyone, I am looking fr a sample that I can test using dojox.form.Uploader I would like to add an upload button and use dojox.form.Uploader to handle it. thanks
... View more
02-14-2017
12:10 PM
|
0
|
1
|
1398
|
|
POST
|
Hello everyone, Is there a way to customize the Attachment editor to list attachments stored in a folder instead of feature class attachments? Is there a way to change the "attachmentEditor.showAttachments(evt.graphic,featureLayer)" to read attachments from a folder? Thanks
... View more
01-25-2017
07:08 AM
|
0
|
1
|
786
|
|
POST
|
Hello everyone, Anyone can recommend a file uploader in JavaScript? Any source code I can customize add add to a Web AppBuilder widget Thanks
... View more
01-24-2017
08:00 AM
|
0
|
1
|
886
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 3 weeks ago | |
| 1 | 05-01-2026 12:34 PM | |
| 1 | 12-02-2022 08:17 AM | |
| 1 | 12-26-2025 05:02 AM | |
| 1 | 08-05-2025 04:28 AM |
| Online Status |
Offline
|
| Date Last Visited |
a week ago
|