Quantcast
Channel: PTC Community : Unanswered Discussions - Windchill
Viewing all articles
Browse latest Browse all 3592

LoadFromFile.doFileLoad(filepath, null, null, null, new Hashtable());

$
0
0

Hello All,

 

i am using LoadFromFile.doFileLoad(filepath, null, null, null, new Hashtable()); method to load data in to Windchill,

 

when i execute the program, all data loaded in Windchill at Site Level.

 

now i want to load same data at Product Level.

My Org Name :: Org1

My ProdutName:: Test Product

 

i seen Windchill API Releated to doFileLoad Method as shown below,

 

doFileLoad

public static void doFileLoad(String data_filename, String out_filename, String method, String user, Hashtable cmd_line)
Method used by other methods to load data into the Windchill system. The user should be an authenticated user before calling this method.
Parameters:
data_filename- Full pathname of file with data to be loaded.
map_filename- Full pathname of file with mapping of attribute names to sequence of data in the data file.
out_filename- Not currently implemented. To be a trace or recovery file.
token- The token used to delimit fields of data in the data file.
method- A string used with the object name (the first field) from the data file to key into the mapdata file. The line in the map data file will then contain the method name to pass this information to and the ordered list of fieldnames to match with the line in the data file.
user- The user to execute the method, if no user is given in the line from the data file.
cmd_line- Name/Value variables that can be substituted into the data from the data file.

 

Supported API:true



Please let me know how i can achive the data loading at Product Level Using same method in my programe.

Thanks,
Vivek


Viewing all articles
Browse latest Browse all 3592

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>