|
POST
|
I have an ArcGIS.com personal account and a Nexus 7 with Collector. I can create maps in ArcGIS Online which contain editable layers and view them in Collector. But tapping the arrow to the right of the result window shows only options Show Details and Zoom To. Edit Feature and Delete are not available. Based on what I'm reading in this thread, these options are not available because I have only a personal account. Is this correct? i have a personal account and iPad using collector for iOS. I can select an existing point and tap the arrow to the right of the result window and see all the options including edit feature and delete. is your 'editable layer' in your arcgis online map a feature service on a arcgis server?
... View more
03-22-2013
04:52 AM
|
0
|
0
|
1870
|
|
POST
|
am i missing something? requirements: free arcgis.com account feat. service w/ editable sde feat class arcgis.com web map collector app -created FeatureServer service on our arcgis server that contains a sde feat. class. -logged into arcgis.com free account -created a new web map, added the feat. service layer (it was secured), saved the web map. -installed the collector iOS app - logged in using my arcgis.com login, saw the web map, loaded it, -logged into the feat. service -collected pts, attributes, photos, ect... back at the arcgis.com web map all collected pts visible, along w/ attributes & photos. Point being, no organizational account, portal or subscription was used. if I remember correctly, Arcgis online was started free, and now seems like it's being pushed to customers over arcgis for server. It's unfortunate that even though you own a server and can publish services, you are somewhat limited in their consumption. When the 'free' plug does get pulled on the collector, (even for arcgis for server customers), I'm sure it eventually will, we'll just code our own JS mobile app; easy enough, but it can't be done in a hour like setting up the collector app.
... View more
03-20-2013
03:50 PM
|
0
|
0
|
1870
|
|
POST
|
are you certain your featureLayer is editable? may be worth throwing it into a arcgis.com map and attempting to create a feature. Maybe an error with the sde gdb and not your app.
... View more
03-20-2013
12:38 PM
|
0
|
0
|
2147
|
|
POST
|
all of the above auto assigning a token based on referrer is because we do not have control of the sharepoint site containing the link. Another idea is to supply the client with a simple $.ajax call to obtain a token before leaving the sharepoint site, then include it in a query string to the JS app, which would then assign a credential using the ?token= from the qs. If the token's invalid, identityManager would challenge for username/pw. users requesting the JS app not originating from the sharepoint site would obiv. not have a token in the qs. this better then the referrer method?
... View more
03-19-2013
06:08 PM
|
0
|
0
|
1782
|
|
POST
|
thanks for your response I should have explained a bit better, the sharepoint site is outside of our control and in inside the GOV firewall. In order for users to access the sharepoint site, they have to authenticate using a GOV system, again which is out of our control. On this sharepoint site, a link will be created to our JS app on our internal server. If users have privs to access the sharepoint site, then they also possess privs to view our JS app and the secured GIS data it consumes. Since we have no way of accessing the user's GOV credentials, I want to grab the referrer when they arrive at our JS app, then return a token accordingly. If the referrer doesn't match the sharepoint site, continue with JS app auth. like normal challenging for username/pw. This is impt, because our JS app is also accessed from outside the sharepoint site; in which case the users should be prompted for creds. I ended up switching to the php proxy out of familiarity w/ php. In the proxy I parsed the QUERY_STRING into assoc. array, check for ref array key, test if ref value matches sharepoint site then set cURL parameters accordingly. If the checks pass, the cURL call uses a hard coded username/password listed in the proxy; else uses the POST credentials. this is the only way I could fig. out how to send the referrer to the proxy onLoad. The callbacks are only concept at this point, haven't got that far yet. think this will work?
function init(){
esri.config.defaults.io.proxyUrl = "proxy.php";
var ref = document.referer;
var request = esri.request({
url:window.location.href,
content:{
ref:ref
},
handleAs:"json"
},{useProxy:true});
function suc(response){
var idString = dojo.toJson({ "serverInfos": [serverInfo],
"credentials": [{
"userId": rahul,
"server": "http://myserver:8399",
"token": this.token,
"expires": this.expires,
"ssl": false,
"creationTime": creationTime,
"resources": securedServices
}]
});
// store it client side
if (_supports_local_storage()) {
window.localStorage.setItem(this.token._jsAPIIDManagerData, idString);
} else {
dojo.cookie(this.token._jsAPIIDManagerData, idString, { expires: 1 });
}
loadcredentials();
}
function err(response){
console.log('response');
}
request.then(suc,err);
}
... View more
03-19-2013
03:18 PM
|
0
|
0
|
1782
|
|
POST
|
we have a client that uses a secured sharepoint site. They want to include a link to gis.ourJSapp.com from their secured sharepoint site. So, anyone that comes to gis.ourJSapp.com from the sharepoint site has privs to access the app; they don't want to have to login again, which is the case right now. Could anyone shed light on some server side code/concepts that would detect http referrer, then either hard-code token or not? I've read through this thread and it's close... http://forums.arcgis.com/threads/73298-Possible-to-hard-code-credentials maybe a .php script before the current proxy.ashx?
... View more
03-18-2013
10:35 AM
|
0
|
6
|
5703
|
|
POST
|
I been trying to applyEdits to a feature and after I hit this error I cannot use the dojo.connect(layer, "onEditsComplete", function(add, updates, deletes)... to further update the feature TypeError: Unable to get value of the property 'getCellsInExtent': object is null or undefined[\code]
any idea what causes this error? the featLayer that your applying edits to...is it currently within visible scale range?
... View more
12-31-2012
09:22 AM
|
0
|
0
|
1246
|
|
POST
|
i'm not a developer either, I just try to be. This day-in-age, when your boss wants to build an app, you step to the plate IMO. The labor pool is too large and employers are squeezing every skill out of workers or else. 2 yrs ago, I hadn't written a single line of code, and now I can say i'm somewhat proficient in PHP, JS, HTML & Python. Its fun, and not that difficult, like i said above, it's all in the samples and API reference. Esri has done a nice job putting the help ref's together, I don't think they should have to code our apps for us.
... View more
12-31-2012
09:14 AM
|
1
|
0
|
2269
|
|
POST
|
In my experience, the problem with the app builders, or 'viewers' is the limited capability. Don't get me wrong, the dev teams at esri have done a great job with the builders, but 9 out of 10 apps you create using them will leave you, or your client saying "i with i could____" or "can you add a____". This leads the developer to jump head-long in the silverlight or flex API and doing away with the app builder. Once you get the gist of it, it's pretty easy to wire a few JS API samples together to create a 100% customized app that your clients will be extremely happy with. An added bonus is no required flash player or silverlight install...which is problematic when clients do not have admin. privs. on their PC's. Just my 0.2 cents.
... View more
12-31-2012
06:33 AM
|
1
|
0
|
2269
|
|
POST
|
shouldn't be too difficult to use the selectFeatures method on a featureLayer (or maybe queryTask not sure), then pass the results to an attributeInspector...all outside the map. Some identifier will have to be added to the feature attribute table when the feature is created by team1, which indicates that attributes still need to be added. Team 2 loads your form, which could auto-query for all features with the above identifier, and onAttributeChange, the attribute edits are applied & the identifier is cleared. I don't see any reason to do this outside of the JS API (SQL, PHP, ect...) especially when all the tools are right here, with accessible reference and samples. Sounds like a fun project.
... View more
12-12-2012
05:06 PM
|
0
|
0
|
2287
|
|
POST
|
open an aerial image in ArcReader, go to file/print. Select Adobe PDF printer and export the map. Open the .pdf map in Adobe Acrobat 10 Standard and there are thick White lines across the PDF. Anyone else have this problem? OS is Win7 x64.
... View more
12-12-2012
07:32 AM
|
0
|
4
|
3102
|
|
POST
|
I think you can stop the infoWindow from displaying if you call dojo.stopEvent() right after your onClick that enables the editToolbar
dojo.forEach(layers, function(layer) {
dojo.connect(layer, "onClick", function(evt) {
dojo.stopEvent(evt);
editToolbar.activate(esri.toolbars.Edit.EDIT_VERTICES , evt.graphic);
});
});
ive also had issues with infoWindow showing when you click a new point with template picker over existing featLayer graphics. That issue was fixed using featLayer.disableMouseEvents(); after the template was selected
dojo.connect(templatePicker, "onSelectionChange", function() {
if(templatePicker.getSelected()){
//template selected disable non-editable featLayers onClick event
dojo.forEach(nonEditFeatLayers, function(layer){
layer.disableMouseEvents();
});
}
else{
//template selection cleared, enable onClick
dojo.forEach(nonEditFeatLayers, function(layer){
layer.enableMouseEvents();
});
}
});
... View more
12-07-2012
04:30 PM
|
0
|
0
|
1876
|
|
POST
|
i **think** map.infoWindow.setFeatures was trying to select the first map.infoWindow.feature before it was actually there?? ended up using a setTimeout() workaround to delay setFeatures() a few miliseconds. updated: http://jsfiddle.net/92Q2G/2/
... View more
12-06-2012
10:14 AM
|
0
|
0
|
490
|
|
POST
|
Hi all, I would like to make a search for an address (i.e.: "45 wolfe") and retrieve some data where there is a match. But the trick is that the "45" is from the column [CIVIC_NUM] and the "wolfe" is from the column [ROAD_NAME]. Here is my table structure: [ID, CIVIC_NUM, ROAD_NAME, CITY, STATE]. Is there a way to do this? For now, I'm only able to search separately for each element (such as "45" or "wolfe"). Thank you. specify the fields you want to search using: findParams.searchFields = ["CIVIC_NUM", "ROAD_NAME"];
... View more
12-05-2012
01:40 PM
|
0
|
0
|
390
|
|
POST
|
Hi. I am using the sample code TOC. I want to check which check boxes are click to retireve the relataive attributes. How to check which check boxes are checked ? thanks for the help. loop over the legendLayers array which holds the serviceLayer's and check the boolean visible property. something like this:
dojo.forEach(legendLayers, function(layer){
if(layer.layer.visible){
console.log('this layer is checked and turned on');
}else{
console.log('this layer is off');
}
});
... View more
12-05-2012
01:32 PM
|
0
|
0
|
640
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 3 weeks ago | |
| 1 | 05-02-2024 04:44 PM | |
| 1 | 11-04-2025 11:45 AM | |
| 1 | 10-31-2025 06:53 AM | |
| 1 | 02-06-2019 06:41 AM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|