Arbortext Command Language > Repository API > sess_set_file_poid
  
sess_set_file_poid
sess_set_file_poid (sesshdl, filename, poid)
This function is used to add an entry to the entity lookup table. During document bursting, Arbortext Editor refrains from adding the same file-based entity to the document repository more than once, preferring to use the exiting object in the repository. The entity lookup table maintains a list of the file entities already added and their respective persistent object identifiers (POIDs) in the repository.
The sesshdl parameter is a session handle. The filename parameter is the path to the file entity which has been added to the repository. The poid parameter is the POID of the file entity in the repository.
This function returns one (1) on success and zero (0) on failure. If the file is already in the table, it returns a zero (0) and displays the following message: Table entry found for filename (poid), no new table entry added.
Related Topics
sess_get_file_poid function