POST
|
I also want to byPass Identity Manager PopUp. I implemented your code but still popup comes. Have you written getCookieName('xyz') function to get UserID and token?
... View more
06-09-2019
06:59 AM
|
0
|
0
|
537
|
POST
|
Hi, I am doing Point Clustering in my application. In 3.28 version, there is a property called 'featureReduction' of FeatureLayer featureReduction: {
type: "cluster"
} But I am not able to see the same properties in 4.10 version. If it is available, guide me to find it out. If it is not available, when will it be available.
... View more
05-02-2019
02:23 AM
|
0
|
1
|
643
|
POST
|
Hi, I am using ArcGIS JavaScript API 4.10. I have implemented the search widget in my application. I am able to search feature using English words but when I am trying to search using Arabic word, I got 'No results found' in suggestion Template. I have set below two properties for Search Widget searchFields: ["NAMEENGLISH", "NAMEARABIC"], suggestionTemplate: "{NAMEENGLISH}, {NAMEARABIC}", 1. Search using English Characters(Musaffah) 2. Search using Arabic Characters(مصفح) I am not getting suggestion for the Arabic Case. Any help here.
... View more
04-30-2019
06:21 AM
|
0
|
5
|
760
|
POST
|
Hi, I am new to ArcObject C#. I want to dissolve the feature of the featureClass after applying buffer to it. Below is my code. ISpatialFilter spatialFilter = new SpatialFilter(); spatialFilter.Geometry = areafeature; spatialFilter.GeometryField = priUGFtClass.ShapeFieldName; spatialFilter.SpatialRel = esriSpatialRelEnum.esriSpatialRelIntersects; IFeatureCursor priUGCursor = priUGFtClass.Search(spatialFilter, true); // priUGFTClass is my featureClass IFeature priUGFeature = null; IGeometry buffGeometry; ITopologicalOperator topologicalOperator, topologicalOperator1; IGeometry polygon, geometry; while ((priUGFeature = priUGCursor.NextFeature()) != null) { Console.WriteLine("Total Fields before buffer : "+priUGFeature.Fields.FieldCount); buffGeometry = priUGFeature.ShapeCopy; topologicalOperator = buffGeometry as ITopologicalOperator; polygon = topologicalOperator.Buffer(0.00004); priUGFeature = shapeFileClass.CreateFeature(); priUGFeature.Shape = polygon; topologicalOperator1 = priUGFeature.ShapeCopy as ITopologicalOperator; geometry = topologicalOperator1.Intersect(areafeature, esriGeometryDimension.esriGeometry2Dimension); priUGFeature.Shape = geometry; priUGFeature.Store(); // I am storing feature in FeatureClass // Console.WriteLine("Total fields : " + priUGFeature.Fields.FieldCount); */ } After applying buffer to feature, at the same time I want to dissolve that featureClass. I googled but didn't find anything. I also want to Union all buffered feature. Thanks in advance.
... View more
06-18-2018
06:49 AM
|
0
|
0
|
460
|
POST
|
Hi, I am new to C#. I know this must be silly question. What I exactly want to do is after selecting a polygon, the polyline and points which resides within it must be captured and need to buffer them and store it in new FeatureClass. I am selecting the polygon and able to capture the polyline and points which resides within it. And using ITopologicalOperation, I am buffering those polyline and points but somehow I don't see the buffer created around them but able to see feature created. My code to create buffer around them is : IGeometry buffGeometry = priUGFeature.ShapeCopy; ITopologicalOperator topologicalOperator = buffGeometry as ITopologicalOperator; IPolygon polygon = topologicalOperator.Buffer(1000) as IPolygon; priUGFeature = priUGFtClass.CreateFeature(); priUGFeature.Store(); #Note: priUGFtClass is my featureClass. How can we provide units like mile, meter, etc. to buffer distance? I have no idea for this. Also, I want to dissolve all buffers and the clipped them with polygon. Please guide me in this. I am using Visual Studio 2017 and .NET Framework 4.5 and console application it is. I have come across the concept of 'In_Memory' but didn't find anything in C#.
... View more
06-10-2018
11:22 PM
|
0
|
0
|
597
|
POST
|
Hi, I have developed an app using Web App Builder developer Edition and I am trying to change the expiration time of the token in tokenUtils.js file as below var oAuthInfo = esriNS.id.findOAuthInfo(portalUrl); if(!oAuthInfo){ var oauthReturnUrl = window.location.protocol + "//" + window.location.host + require.toUrl("jimu") + "/oauth-callback.html"; //OAuth will lose 'persist' query parameter if set expiration to two weeks exectly. oAuthInfo = new OAuthInfo({ appId: appId, //expiration: 14 * 24 * 60 - 1, expiration: 2, portalUrl: portalUrl, authNamespace: '/', popup: true, popupCallbackUrl: oauthReturnUrl }); esriNS.id.registerOAuthInfos([oAuthInfo]); } But while checking the response of generated token request in network tab, I am getting the token value and expiration time as below {"token":"asdfghjk","expires":1518432766610,"ssl":false} Hence the token is not getting expired in 2 mins as desired.
... View more
02-05-2018
03:03 AM
|
0
|
2
|
848
|
POST
|
And you can also create a new Button in your Attribute Inspector var myEditor = new Editor(srcNode); var attInspector = myEditor.attributeInspector; var saveButton = new Button({label:"Save","class":"atiSaveButton"},domConstruct.create("div")); domConstruct.place(saveButton.domNode, attInspector.deleteBtn.domNode, "before"); The reason why I have created attInspector variable using myEditor.attributeInspector is we want "Save" button in our attributeInspector of Editor Widget. Thanks. Mayur Patel
... View more
01-31-2018
04:59 AM
|
2
|
0
|
663
|
POST
|
Hi, You can hide delete button of Attribute Inspector and also you can have control on the fields of Attribute Inspector. You just need to add the below following code in your editing function: var layerInfos = []; layerInfos = [ { 'featureLayer': xyz, //your featureserver layer 'isEditable': false, 'showDeleteButton':true, // in your case, it will be false 'fieldInfos': [ {'fieldName':'OBJECTID', 'isEditable':true ,'label':'Object ID'}, {'fieldName':'', 'isEditable':true ,'label':''} ] }, { 'featureLayer': , 'isEditable': false, 'showDeleteButton':true, 'fieldInfos': [ {'fieldName':'OBJECTID', 'isEditable':true ,'label':'Object ID'}, {'fieldName':'', 'isEditable':true ,'label':''} ] } ]; var settings = { layerInfos : layerInfos }; Thanks, Mayur Patel
... View more
01-31-2018
03:17 AM
|
0
|
0
|
663
|
Title | Kudos | Posted |
---|---|---|
2 | 01-31-2018 04:59 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|