Hello sir,
Yes, I do!
On the workflow, I need to run a python script. For this python script, I need to send path of particular table (like this @"F:\PROIECTE\Utilitati\Pro\Date\Utilitati1\database.sde\utilitati.SDE.Documente").
Why run a python script?
I need to insert various files into BLOB field of <utilitati.SDE.Documente> table.
Working with attachment file of Geodatabase does not cover the particular functionality.
In other words:
1. I have a table with a BLOB field:
Table documentTable = standaloneTable.GetTable();
2. I have a python script which insert file into table (table of point 1)
3. In the ArcGIS Pro Add-In, I have a ExecuteToolAsync(...) which call python script (script of point 2)
var parameters = Geoprocessing.MakeValueArray(
@"C:\Users\lichi_000\Pictures\eu1.jpg",
@"F:\PROIECTE\Utilitati\Pro\Date\Utilitati1\dataweb@utilitati@sde.sde\utilitati.SDE.Documente",
foreignKey,
extension,
dateTime,
no,
author
);
var result = await Geoprocessing.ExecuteToolAsync(@"F:\PROIECTE\Utilitati\Pro\scripturi\Utilitati.tbx\Insert0", parameters);
4. The <@"F:\PROIECTE\Utilitati\Pro\Date\Utilitati1\dataweb@utilitati@sde.sde\utilitati.SDE.Documente"> parameter of point 3 is documentTable object of point 1
Thank you very much,
Laurentiu Ichim