0

What is the correct way to initialize or call File obj ID property? I don't see it as a default object property. I also tried calling via:

  • File.ListItemAllFields["ID"]

That failed. I did notice the following property:

  • File.ListId

I assumed that was not the File ID, but list ID containing File?

2
  • show some code. You probably didn't Load() it. And let us know what you got when you ran it. Jun 18, 2021 at 16:55
  • @DerekGusoff File.UniqueId was the property I was looking for. I loaded the object just didn't see UniqueId as the ID property initially.
    – seanrco
    Jun 18, 2021 at 18:03

1 Answer 1

0

File.UniqueId was the property I was looking for.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.