POST
|
Interesting - I get it that "000001" are "1" different strings - but really? They're the same number - aren't we dealing with numbers here? That seems like a design flaw. I've searched all the docs and I'm not finding anything about magic zero string logic. Did I miss something? And microseconds? Don't see that anywhere in the doc either. In fact, in the API docs there's a link to the range search ability of the REST API and it says to use milliseconds, nothing about microseconds. If not for your tip above I'm afraid there's no way I could have figured out how to use the ArcGIS API for Python to query the rest API by date. FWIW - I was using the ArcGIS API for Python v1.5.1 which came with ArcGIS Pro v2.3 - hitting a 10.5.1 ArcGIS Portal. I am tempted to try a later version of the API. Thanks for your reply
... View more
11-14-2019
10:20 AM
|
0
|
0
|
1533
|
POST
|
I'm doing a range search against portal and it's working using the date formatting as you have outlined up above but I'm really confused still about it. Why are we appending a string of zeros to the left side of a number? Isn't 000001 the same as just 1? And if portal is storing dates in milliseconds, and the timestamp function gives you seconds, wouldn't now_dt.timestamp()*1000 give you milliseconds? Why are you multiplying by 1,000,000 and not 1,000. Hopefully something fundamental that I'm missing here can set me straight. THANKS!
... View more
11-12-2019
03:42 PM
|
0
|
2
|
1533
|
POST
|
Hey smart people, Is there a way for my custom widget, which has been added to an app in Portal WAB, to get at the application's metadata? Specifically I'm looking for the email of the author of the WAB application. My widget is a feedback form that can collect suggestions from the end user and send them to the author of the app. Is that possible? THANKS! Pete
... View more
02-26-2019
02:53 PM
|
0
|
2
|
249
|
POST
|
Thanks guys - appreciate the quick answers! The snippet you provided Robert Scheitlin, GISP works in our test environment just fine thank you. One question, why the setTimeout? What needs to happen in that 600 ms before you run that code? Is the help link not actually there yet? I just wonder if there's a way to get this done without some kind of race condition.
... View more
12-10-2018
12:12 PM
|
0
|
1
|
403
|
POST
|
We deploy custom widgets to ArcGIS Portal (following prescribed workflow - Add custom widgets—Portal for ArcGIS | ArcGIS Enterprise) but we'd like to include a help doc along with our widget (like you can in Dev Edition - Add help for your widget—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers ). Is there a supported way to do that?
... View more
12-07-2018
07:43 AM
|
0
|
4
|
517
|
POST
|
Another chapter challenge these days is fixing my nightly build which has been broken ever since I dropped the NuGet piece in favor of the SDK. The error I'm getting on the build server (msbuild running via Jenkins) is: Project "E:\Jenkins\jobs\[SolutionName.sln]" (1) is building "E:\Jenkins\jobs\[ProjectName].csproj" (2) on node 1 (default targets). E:\Jenkins\jobs\[ProjectName].csproj(605,3): error MSB4019: The imported project "E:\Jenkins\jobs\[ProjectFolder]\ideintegration\ArcGISRuntime.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. Done Building Project "E:\Jenkins\jobs\[ProjectName].csproj" (default targets) -- FAILED. If I look in my csproj file there's a import like this: <Import Project="$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\ESRI\ArcGISRuntimeSDKNET10.2.4@InstallDir)ideintegration\ArcGISRuntime.targets" /> And I know this registry key isn't on the build server because the SDK isn't installed there I'm considering the following options: 1-Install the SDK on the build server (would rather not - kind of bad practice - but likely easiest thing to get me out of jail) 2-Add the ESRI.ArcGISRuntime.dll to source control and somehow use it on the server at build time (something tells me this wont work because it would likely fail on it's own dependencies - this is the poor man's NuGet fake option) 3-Go back to Nuget 4-Do nothing - build project on my dev environment for all releases (ouch - hate this idea) This might be more of a .net question or an MSBUILD question but just thought I'd see if any smart folks out there had any ideas. THANKS! Pete
... View more
11-12-2014
03:20 PM
|
0
|
2
|
1198
|
POST
|
Morton - thanks for the response. I think the problem was caused by the reference that was in place to the ESRI ArcGIS Runtime for .Net Nuget Package . I Removed the reference to ESRI.ArcGIS.Runtime that was pointing to the nuget package and then added it back using the assembly installed with the SDK (Under C:\Program Files (x86)\ArcGIS SDKs\DotNet10.2.4). After this I rebuilt the project and the reference persists and all is well. But on that note, what is the best practice then with the SDK vs nuget? I've opted to uninstall the nuget package (I think it was about 200mb) and just have all developers install the SDK. Are we missing anything by going this route? Thanks!
... View more
10-14-2014
07:30 PM
|
0
|
5
|
1198
|
POST
|
I'm walking through the steps in the guide - Create an ArcGIS Runtime deployment—ArcGIS Runtime SDK for .NET | ArcGIS for Developers After I add the manifest, I rebuild, and I'm prompted to 'update project imports to support ArcGISRuntime Deployment build extensions' - if I hit Yes here, and reload the project, then my project wont build, I start getting compile errors (e.g. The tag 'MapView' does not exist in the XML namespace 'http://schemas.esri.com/arcgis/runtime/2013') - I notice that I lose my project reference to ESRI.ArcGISRuntime. When I inspect the change that was made behind the scenes to the csproj file, it's adding this line: <Import Project="$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\ESRI\ArcGISRuntimeSDKNET10.2.4@InstallDir)ideintegration\ArcGISRuntime.targets" /> However - I looked in my registry and there is no such ESRI key or value under HKEY_LOCAL_MACHINE\SOFTWARE. This seems to me like a problem with the SDK installer, that it forgot to put this key in the registry. Anybody else experiencing this problem? Is this a bug? Thanks! Pete
... View more
10-13-2014
02:29 PM
|
0
|
7
|
6701
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|