Skip to main content

Hello everyone

I am using search event to find document in document library and next I store information in xml. I think it is working correctly but in this field I have only name of document and url to this file. I wanted to get itemID and I wonder if there is such possibility.

I thought about use smart object and smart object event instead of search event but I don’t know it can do the same functionality.

I try different solution and i have one more question. When I get file with extension for example document.docx can I parse name to get only name without extension?  

Hi,

If you want to get to the Item ID of the document in the library, you could use a Smart Object based on the document library in question. Next, you would use the "Get List" method of the document library smart object. This method will allow you to search by other criteria such as document name, you can then choose to have the smart object return the Item ID which you can then use how ever your process requires. 


Reply