Connecting FME to web services. Use of APIs. Mobile Apps.
Recently active
This is somewhat of a bigger picture type question and perhaps better if directed at ESRI, but figured I'd ask here too. I've had this problem with FME 2015 and my current 2018 version (FME(R) 2018.0.0.2 (20180414 - Build 18301 - WIN32)). I use ESRI ArcGIS Data Interoperability extension to access the FME workbench.I generally will run my tools directly in workbench, but occasionally I'll run them from the toolbox containing the Spatial ETL tool in ArcCatalog. I can only get this to work if I run my tools in "Debug..." mode. Opening a spatial ETL tool ("Open..." or simply double-clicking it) pulls up the dialog box where I can enter published parameters, but clicking "OK" to run the tool this way always results in the spatial ETL tool failing and/or ArcCatalog kicking out a background processing warning ("Backing processing has encountered a serious error and is unable to continue"). The Results pane in ArcCatalog gives an "ERROR
hello I'm using a HTTP caller with the request url https://opendata.cbs.nl/ODataApi/odata/84468NED/TypedDataSet Unfortunalely there is al limit on download: The given query is not allowed on this table. Please redefine your query so that it returns less than 10000 records.' from ... How can I get the total data from this site? And afterwards do I have to merge the data to a complete file?Do you have an example workspace? thanks for your support
Hello,This maybe more of a ArcGIS question, not sure. I'm hoping someone can give me some hints?I'm trying to set colors and shaders for i3c scenes, but can't figure it out:The FME Export looks fine in ArcGIS:But gets overriden in a web scene? The ESRI validator complaints about texture definitions:Metadata.json validation: No issues were detected.-------------------------------------------------------------------------------3dSceneLayer.json validation: Warning: Missing Value: heightModelInfo attributeValues Information: Deprecated: ZFactor-------------------------------------------------------------------------------Statistics validation: No issues were detected.-------------------------------------------------------------------------------Node validation: Error: Missing Value: For node 0 could not get property textureDefinitions. For node 1 could not get property textureDefinitions. For node 2 could not get property te
I try to post a message to MS Team by using HTTPCaller. I connected to Mocirasoft Graph successfully by using FME Web Connection. However, I have no idea how I can post a message to MS Team by using FME. Please find the log file attached when I used HTTPCaller. Thank you.
I'm getting an error with the HTTP Caller in my workbench. I'm calling a POST request on my dev website and keep getting the following error; "HTTPCaller (HTTPFactory): Received HTTP response header: 'HTTP/1.1 415 Unsupported Media Type' from 'https://xxxxxxx.com/dev/xxxxxxxxx/xxxxxxx?sample_id=J55-1-29&apitoken=xxxxxxxxx&sample_depth_base=1391.1&surface_latitude=50.68319&surface_longitude=-101.860471&location_name=test1&toc=99&lithostrat_group=NULL&formation=Winnipeg&member=NULL&sample_lithology=Shale%2Fmudstone&gts_period_old=Ordovician&s_c_ratio=NULL&o_c_ratio=NULL&h_c_ratio=NULL&inertinite=NULL&liptinite=NULL&vitrinite=NULL&s2=96.19&tmax=435&hydrogen_index=924&oxygen_index=16&production_index=0.01&vroe=0.8&ro=NULL&thermal_alteration_index=NULL&spore_colour_index=NULL' The string it is trying to pass through works successfully when pasted into a browse
Hi,I have ArcGIS desktop 10.2.2 (with background geoprocessing) and ArcGIS Pro 2.1.2 installed. I'm running FME 2018.0 , no admin rights. How do I call specifically the ArcGIS Pro Python 3.x (C:\\Program Files\\ArcGIS\\Pro\\bin\\Python\\envs\\arcgispro-py3) from the Python Caller? When running the Python Caller example here:https://knowledge.safe.com/articles/47216/using-arcpy-for-fme-feature-processing.html I see this message in the log:Using Python interpreter from `C:\\WINDOWS\\system32\\python27.dll' with PYTHONHOME `C:\\Python27\\ArcGISx6410.2'Python version 2.7 loaded successfully I don't quite understand the implications of changing the FME interpreter itself...does that limit the functionality of FME tools if I change the entire workbench to run from another version of Python? Incidentally when I've changed it in FME>options>translation>Python interpreter (from FME 2.7 to the ArcGIS Pro option) - it has no impact. In my head - what I want to do i
I am new to FME. I have lot of Arcpy code which I want to run on FMEI tried to follow this example https://knowledge.safe.com/articles/47216/using-arcpy-for-fme-feature-processing.html. But I am getting below errorI am currently using Arcgis Pro 2.4 and FME 2019.1Could any one please helpThis is the error I get :- The python interpreter I am using : Many Thanks,Divya
Hi,I'm trying to use a FME Server Subscription (SFTP) to send the excel spreadsheet to the server outside.The port 22 has been open for that sftp, the customer can see me connecting to their server, there is no file being transfered though.I have a simple workspace what is generting excel table and sending an email with that table as an attachement. That workspace is published on the FME Server, the process is scheduled to run once a week, I want to use that worspace to also upload that table to the sftp. I decided to create a topic Success_for_SFTP and us it for 'post to topic that topic on success' for the Job Submitter when I published that workscpace The table is written to: $(FME_SHAREDRESOURCE_DATA)/folder/table.xlsxThe SFTP Subscription screenshot below.I want the Subscription to take the file from the $(FME_SHAREDRESOURCE_DATA) and upload it to the /ftp/files on the customer serverThe workspace: The workspace runs succesfuly, it is sending an email, it is making
I am using the API to generate an inventory of our server FME workspaces for an upcoming migrationCan you return an SDE connection string that isn't a published parameter? Example call:http://stdcap-koaa-001/fmerest/v3/repositories/BASISDATA/items/KLIC.fmw/datasets/destinationResponse:[ { "format": "GEODATABASE_SDE", "name": "GEODATABASE_SDE_1", "location": "", "source": false, "featuretypes": [ { The location is "". For an Oracle Spatial connection:http://stdcap-koaa-001/fmerest/v3/repositories/BASISDATA/items/KLIC.fmw/datasets/source Response:[ { "format": "ORACLE_SPATIAL", "name": "ORACLE_SPATIAL_1", "location": "BI@PDB1", "source": true, "featuretypes": [ { Dgn and Excel readers/writers also have a filled location string.Am I missing something?Thanks,Annette
Having some trouble downloading the contents of a remote FTP directory, keep getting error message 'Remote file not found'. Is it possible to download an entire directory via FTP using the FTPCaller? Doesn't look like there's an option to download an entire folder.
I have a script that will turn off ArcFM auto updaters. However, the script needs to run once FME starts writing to the SDE geodatabase. Is there a way to set the PythonCaller Transformer to begin once FME starts writing to SDE?
I would love an example workspace if possible.
Hello, We were using fme server 2016. Now we moved to 2019. We tried it with FME REST API v 3 and it works great but my question is: Is FME 2019 compatible with FME REST API v2? Can I communicate wit hfme 2019 using rest v2? Thanks for help with that.
Just want to confirm when the Windows version of FME Desktop 2019.0 sends https connections from httpcaller, does it use the Windows Certificate Store or the CA Root Certificates from Mozilla? I have the impression that the Windows version is using the Windows Certificate Store. However, I saw the message "added 135 certificate(s) from CA file 'C:\\Program Files\\FME\\ssl/cacert.pem'" Thanks,
Hey! I've written this Python script that is comparing three diffrent path distances from a starting point and the three nearest target Points, and choosing the shortest one to be output. Does anyone have a clue if I can make it more efficient? Atm it takes a long time since it iterates through ca 82000*82000 features... class FeatureProcessor(object): def __init__(self): self.featureList = [] def input(self,feature): self.featureList.append(feature) def close(self): r = int(len(self.featureList)/3) for i in range(1, r+1): valueList = [] nearestList = [] for feature in self.featureList: j = int(feature.getAttribute('gid')) if j == i: nearestList.append(feature) for feature in nearestList: value = feature.getAttribute('Totalt_Avstånd') valueList.append(value) minValue = min(valu
Is there a way to detect whether or not the user has set their FME Server interface to Dark Mode or not? There doesn't seem to be an API call in 2019.0
I've test it in Build 19238 and 19578, all nodes at every level are missing children nodes. Like this:
As it says, is there any log file or something that will give me information what are older values of token for some particular user? I also need a time information of how long did old token last (from-to).We experienced restart of a token but we don't know why... We're working on FME Server 2017.1.
Hello, I'm using new version of fme (2019) and I'm testing REST API v3, I have fresh installation of fme server 2019. I tried documentation API and this is sample request: with tag set to linux but on the fme server job was submitted with tag: Default: What is the reason for that?
Is it possible to run an FME Workspace from within an ArcGIS 10.x Python Toolbox (.pyt)?I've got ArcGIS Desktop v10.6.1 installed, with 64-bit Background Geoprocessing installed and switched on. And I've got FME 2019.0.1 (64-bit) installed.I know how to run a workspace in Python, as explained here, and that works all fine in 64-bit.But when I try to embed some very simple FME Python code in an ArcGIS Python Toolbox, it crashes my ArcGIS! I guess it's something to do with ArcGIS being 32-bit by default that causes it, so maybe it cannot be done. But I'd still like to find out if anybody else has managed to crack this.This is what I do:In ArcGIS, right-click in a folder and add New > Python Toolbox. This creates a Toolbox.pyt file with a tool called 'Tool' in it.Right-click the Toolbox.pyt file, and select Edit, which opens the file in my IDEAdd the 3 usual lines to import fmeobjects at the top (see below in bold)Set "self.canRunInBackground = True", which ensures the tool runs in the
Hello Team, When i call following url from HTTPCaller getting error code:415 what could be the reason? Following is the url:-https://identity.trimble.com/token?username=XXXXXXXXX%40nisource.com&password=XXXXXXXX%21&grant_type=password&scope=openid&tenantDomain=trimble.com Thanks...Nagendra
We load in FME Server 2017 backup from FME Server 2014. Specified Email (IMAP) publications was validated and it was ok. After 7 days FME Server stop getting mails and we have to push validate again. Is there any configuration for this or how to make it work without stoping?
Hello Team,Can somebody help me to call following curl command through HTTPCaller?curl --user <consumer_key>:<consumer_secret> -X POST https://identity.trimble.com/token -H 'Content-Type: application/x-www-form-urlencoded' -d 'grant_type=password&username=<user_email>&password=<password>&scope=openid&tenantDomain=trimble.comIf possible can provide one example, Following command we are going to use to generate Token Id. Thanks..
Hello Team,Can we generate token id from FME to connect trible connect?Present we are generating token id manually and passing it as published parameter. But users don't know about the token to execute the workbench. Can we make generation process withing workbench?Thanks..Nagendra
Can we input the HTTPCaller output as reader dataset in the same workspace. Using HTTPCaller we are dowloding a file from trimble connect, The downloaded .jxl file should be used as input dataset for reader. Could somebody provide your views to resolve this issue.