|
POST
|
You need to use a textsymbol textsymbol-amd | API Reference | ArcGIS API for JavaScript
... View more
07-15-2014
09:38 AM
|
0
|
0
|
4627
|
|
POST
|
great thank you! enjoy UC, hope to see you at the Developers Conference next year
... View more
07-15-2014
07:42 AM
|
0
|
0
|
3186
|
|
POST
|
Wow shouldn't you be busy at UC ? I wasn't expecting it till next week. the question was more about notifications. Since the stickies are gone, is there a way to be notified?
... View more
07-14-2014
06:15 PM
|
0
|
1
|
3186
|
|
POST
|
II'm not using the web app builder, we are too far along in our custom development but I have built a lot of custom widgets for JavaScript. Happy to contribute where I can here is a link to our site http://www.mymanatee.org/gisapps/mobile/index.html
... View more
07-14-2014
06:14 PM
|
1
|
0
|
1062
|
|
POST
|
First, once you past in code, please use the advanced editor, choose the double arrow, and use syntax highlighting to format as javascript second, as an example
<select data-dojo-type="dijit/form/FilteringSelect" id="printOrientation" style="width:140px;">
<option value="p" selected>Portrait</option>
<option value="l">Landscape</option>
</select> Orientation<br>
... View more
07-14-2014
11:38 AM
|
0
|
2
|
1434
|
|
POST
|
I am trying to use the JavaScript Web Optimizer, and i keep getting this error when i try to scan my website
<script>
var hostPath = window.location.pathname.replace(/\/[^/]+$/, "");
dojoConfig = {
parseOnLoad: false,
async:true,
baseUrl: '/arcgis_js_api/library/3.9/arcgis/js/dojo/dojo',
packages: [{name: 'org', location: hostPath + '/..' + '/mobile/org'},
{name: 'agsjs', location: hostPath + '/..' + '/mobile/agsjs'},
{name: 'com', location: hostPath + '/..' + '/js/com'},
{name: 'utilities', location: hostPath + '/..' + '/mobile/utilities'}
],
isDebug: false,
usePlainJson: false
};
</script>
<script src="/arcgis_js_api/library/3.9/arcgis/?v=3.9"></script>
... View more
07-14-2014
10:50 AM
|
0
|
1
|
2880
|
|
POST
|
Since the sticky is gone, where can we look to see when the new 3.10 API will be available for download and local install? Kelly Hutchins
... View more
07-14-2014
10:34 AM
|
0
|
10
|
6949
|
|
POST
|
The tiles that load diagonally, are they in the correct location? or are they scrambled. If they are correct, it sounds like an issue with the service. IF they are scrambled, it is definitely the css issue Ken mentioned above
... View more
07-11-2014
06:04 AM
|
1
|
1
|
2961
|
|
POST
|
I Believe since feature layers auto save it is immediately committed To the database. I will try and double check this Friday, I'm out the rest of the week for a medical thing, if you could remind me that would be great. as for conflict resolution, we deal with the same issue. as long as your feature layer is published as a single version (and you are not changing it with setgdbversion) then as soon as it is set it will not be overwritten with a new number, as the next editor will see the previous editors "change" which includes the creation of the id if everyone has their own version, since feature layers don't reconcile and post, it's last in wins And overwrites the others i would be remiss without saying this, having field editors working on the same data, at the same time, is a workflow issue, not a technology issue. It should be handled as such
... View more
07-08-2014
04:49 PM
|
0
|
0
|
4883
|
|
POST
|
Remember all oracle, adjust as necessary So we create a sequence as the data owner (MCGIS). It will be shared (this is for fittings)
CREATE SEQUENCE MCGIS.FIT_SEQUENCE
START WITH 159082
MAXVALUE 999999999999999999999999999
MINVALUE 1
NOCYCLE
CACHE 20
NOORDER;
Then we create triggers (in this case, for water, reclaimed, and sewer fittings). Showing one of them (reclaimed) below. The MCGIS.A2436 is the add table of the Feature Class, determined from the SDE.Table_Registry Registration_ID column TABLE_NAME of feature class = Reclaimed_Fittings, Registration_ID = 2436
CREATE OR REPLACE TRIGGER MCGIS."UWOW_RFIT_TRIGGER" BEFORE INSERT ON MCGIS.A2436 FOR EACH ROW
WHEN (
NEW.UWOW_ID IS NULL
)
DECLARE V_UWOW_ID NUMBER(8); BEGIN
SELECT FIT_SEQUENCE.NEXTVAL INTO V_UWOW_ID FROM DUAL;
:NEW.UWOW_ID := V_UWOW_ID; END;
/
and the next Feature class that shared it would just use the same sequence, for example our sewer one that shares it
CREATE OR REPLACE TRIGGER MCGIS."UWOW_SFIT_TRIGGER" BEFORE INSERT ON MCGIS.A2532 FOR EACH ROW
WHEN (
NEW.UWOW_ID IS NULL
)
DECLARE V_UWOW_ID NUMBER(8); BEGIN
SELECT FIT_SEQUENCE.NEXTVAL INTO V_UWOW_ID FROM DUAL;
:NEW.UWOW_ID := V_UWOW_ID; END;
/
These triggers populate the UWOW_ID field of the feature class with the next available number if null (as to not overwrite if exists). A few concerns to note that are solved with workflow issues 1. Since versioning is short transactions, this doesnt populate until save edits, when it hits the database 2. It does not prevent the user from manually hosing the ID (it remains editable) 3. If you reload the Feature Class, it breaks the trigger as it gets a new registration ID number. Does that help?
... View more
07-08-2014
02:18 PM
|
3
|
2
|
4883
|
|
POST
|
1. I think so yes 2. Sequence is stored (at least in oracle) as a sequence, not a table. 3. Yes we share it across multiple FCs
... View more
07-08-2014
02:03 PM
|
0
|
7
|
4883
|
|
POST
|
We use a custom trigger and sequence in oracle. Would that work? If so maybe you can adapt it, happy to share. We have been using it for years on SDE to autopopulate sequential fields in a versioned database
... View more
07-08-2014
01:53 PM
|
0
|
1
|
4883
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-22-2014 08:35 AM | |
| 1 | 05-02-2012 04:56 AM | |
| 1 | 10-29-2021 07:40 AM | |
| 1 | 10-28-2021 05:26 AM | |
| 1 | 07-17-2012 08:48 AM |
| Online Status |
Offline
|
| Date Last Visited |
03-01-2022
02:00 PM
|