|
POST
|
I believe you can only use custom templates in the WAB Developer Edition. You are stuck with the canned templates in AGOL WAB.
... View more
02-16-2017
08:02 AM
|
1
|
0
|
1137
|
|
POST
|
Nothing happens when you hit Add, only the jumbled chars at the bottom of this box.
... View more
02-13-2017
09:04 AM
|
0
|
1
|
1632
|
|
POST
|
Domenico, The SOE will not add to our 10.4.1 ArcGIS Server. Followed teh read.me doc and no luck.
... View more
02-08-2017
12:29 PM
|
0
|
3
|
1632
|
|
POST
|
Until they allow grouping of layers in AGOL, the only way I can think of is to group them in your map document before you publish the service.
... View more
01-06-2017
07:06 AM
|
0
|
0
|
790
|
|
POST
|
Yes I'm an admin. It's not basemaps it's the content listed in the Gallery for My Organizations Featured Content. It is defaulting to ESRI's featured content. The user is able to switch it, but I would like it to default to our content like it used to before last AGOL update.
... View more
01-03-2017
12:13 PM
|
0
|
3
|
1255
|
|
POST
|
In AGOL Organizational accounts the Gallery used to default to organizations featured content and now it defaults to ESRI's featured content. I can not for the life of me figure out how to change this back to the organizations content.
... View more
01-03-2017
11:49 AM
|
0
|
5
|
1516
|
|
POST
|
Getting closer. What i'm shooting for is to dump output as a single line with values enclosed in single quotes separated by commas. I will need to insert the single quotes after the '\n' have been removed. Line 22 is what I'm having an issue with getting the syntax correct. import os
mstring = ''
infile = open(r'C:\tmp\RampWork\OutOfCityLimits2.txt', 'r')
outfile = open(r'C:\tmp\RampWork\OutFile.txt', 'wb')
#mstring = ''.join(["'{}'".format(f) for f in infile])
mstring = ''.join([f for f in infile])
print (mstring)
#for f in infile:
#mstring =
#mstring += "'{}'{}".format(f, ',')
#print mstring
mstring2 = mstring.replace('\n','')
#mstring2 = '{}{}'.format(mstring.replace('\n',''), ',')
print mstring2
mstring3 = "'{}'{}".format(f) for f in mstring2,','
print mstring3
outfile.write(mstring3)
infile.close()
outfile.close()
... View more
12-07-2016
11:30 AM
|
0
|
2
|
2869
|
|
POST
|
Dan, Thanks for the pointers. It's working, but I need to add single quotes to each value in the output separated by commas. Could use a pointer on how I go about formatting that. import os
mstring = ''
infile = open(r'C:\tmp\RampWork\OutOfCityLimits2.txt', 'r')
outfile = open(r'C:\tmp\RampWork\OutFile.txt', 'w')
#mstring = ''.join("'{}'".format([f for f in infile]))
mstring = ''.join([f for f in infile])
#print (mstring)
#for f in infile:
#mstring =
#mstring += "'{}'{}".format(f, ',')
#print mstring
mstring2 = mstring.replace('\n',',')
#mstring2 = '{}{}'.format(mstring.replace('\n',''), ',')
print mstring2
outfile.write(mstring2)
infile.close()
outfile.close()
... View more
12-07-2016
07:02 AM
|
0
|
4
|
2869
|
|
POST
|
I may have jumped the gun on my solution. the 'wb' is not currently working. I still have '\n''s in my output.
... View more
12-06-2016
01:29 PM
|
0
|
6
|
2869
|
|
POST
|
I think I solved it. Changed the write mode to binary and it removed the newlines Thnaks to this thread on StackOverflow http://stackoverflow.com/questions/4025760/python-file-write-creating-extra-carriage-return import os
mstring = ''
infile = open(r'C:\tmp\RampWork\OutOfCityLimits2.txt', 'r')
outfile = open(r'C:\tmp\RampWork\OutFile.txt', 'wb')
for f in infile:
mstring += ("'%s'""," % (f))
#print mstring
outfile.write(mstring)
infile.close()
outfile.close()
... View more
12-06-2016
12:48 PM
|
0
|
0
|
2869
|
|
POST
|
Good idea, thanks Darren. But it still is using a carriage return after each f, even in the master string. I can't for the life of me figure out why that would be.
... View more
12-06-2016
12:13 PM
|
0
|
0
|
2869
|
|
POST
|
I'm using the below code and would like to write the output to a new file and write it all to a single line formatted as such: 'D1_06689','D1_0670',...... infile2 = open(r'C:\tmp\RampWork\OutFile.txt', 'r')
outfile2 = open(r'C:\tmp\RampWork\OutFile2.txt', 'w')
for f in infile2:
outfile2.write("'%s'," % (f))
infile2.close()
infile2.close() infile2: D1_06689
D1_06705
D1_06706
D1_06707
D1_06729
D1_06730
D1_06731
D1_06732
D1_06733
D1_06734
D1_07043
D1_07044
D1_07045
D1_07046
D1_07047
D1_07048
D1_07122
D1_07123 outfile2: 'D1_06689
','D1_06705
','D1_06706
','D1_06707
','D1_06729
','D1_06730
','D1_06731
','D1_06732
','D1_06733
','D1_06734
','D1_07043
','D1_07044
','D1_07045
','D1_07046
','D1_07047
','D1_07048
','D1_07122
','D1_07123
','D1_07124
','D1_07125
','D1_07126
','D1_07412
... View more
12-06-2016
11:52 AM
|
0
|
11
|
3881
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-29-2012 10:22 AM | |
| 2 | 09-17-2018 05:38 AM | |
| 1 | 03-23-2016 06:25 AM | |
| 1 | 06-30-2016 09:13 AM | |
| 1 | 11-23-2015 08:40 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:24 AM
|