POST
|
can you please elaborate a little about that error ? when i run the script from ArcMap it successfully creates a dataset with the features inside the scratch geodatabase, on the published service i get the same error as Nagorneac Constantin when i run from web appbuilder however when i check the job output in the server directories i find that the scratch geodatabase has been created and features inside as well. this tool here does the same function i or " we " need but i have no clue how to do the same since i have no knowledge in python, i also used you methodology using model builder and it worked but couldn't get the file to be imported dynamically, the service always copied the used CAD file to the server and made it as a constant. when i run the published service from Arcmap i get an error these are the parameters i add to the script this is the current code in the script import arcpy, os inFile = arcpy.GetParameterAsText(0) referenceScale = arcpy.GetParameterAsText(1) inFileName = os.path.basename(inFile) outFile = os.path.join(arcpy.env.scratchFolder,inFileName) arcpy.AddMessage("Copying input data set to the scratch folder...") arcpy.Copy_management(inFile,outFile) outGDBPath = arcpy.env.scratchGDB outDataSetName = "{0}_ToGDB".format(inFileName.rstrip(".dwg")) sr = arcpy.SpatialReference(102100) arcpy.AddMessage("Running CAD to GDB tool...") arcpy.CADToGeodatabase_conversion(outFile, outGDBPath, outDataSetName, referenceScale, sr) outData = os.path.join(arcpy.env.scratchGDB,outDataSetName) arcpy.SetParameter(2,outData)
... View more
12-31-2019
05:38 PM
|
0
|
0
|
351
|
POST
|
Hi robert, i have followed your instructions but it seems like something is wrong with the labels for the folded widgets that i can't figure out, when i resize the app to mobile view and get back to desktop it works fine as expected any help with this ? also how can i can that + sign button to the label click area ?
... View more
07-16-2019
07:57 AM
|
0
|
8
|
470
|
POST
|
i need help making those widgets inside a group panel to be folded " minimized " by default instead of all 3 are opened on start, i need to know which part of theme or widget code i should edit to achieve this, thanks.
... View more
10-09-2017
07:08 PM
|
0
|
1
|
521
|
POST
|
i always publish my data either as a feature service or tiled layer, which has the following 2 icons tiled layer, feature service. here is what i know, tiled layer is a set of images which i can't style on the fly or filter or have a pop-up for it without the feature service, so i use the feature service directly but it's kind of slow when it comes to big data then i saw this map published by esri and it has the label of " map image layer " with this icon map image layer, it's tiled so it renders fast and what is more interesting is that each sub layer has the same options that the feature service has in AGOL, like styling, filtering, pop-up etc.. and the way the layers get listed also is important for me. so i would like to know how such map are being published from ArcMap.
... View more
09-04-2017
08:51 AM
|
0
|
2
|
702
|
Online Status |
Offline
|
Date Last Visited |
01-29-2021
07:06 AM
|