You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The index fields are not being returned when I retrieve all of the documents.
I tried to retrieve the index fields using the following, but doc.IndexFields returned null… var documents = vaultApi.Folders.GetFolderDocuments(Folder.Id)
foreach (Document doc in documents)
{
var indexFields = doc.IndexFields;
}
For me to actually retrieve the index fields I am forced to make a second call using the following… var documents = vaultApi.Folders.GetFolderDocuments(Folder.Id)
foreach (Document doc in documents)
{
var indexFields = vaultApi.Documents.GetDocumentIndexFields(doc.DocumentId);
}
It works, but isn’t ideal.
The text was updated successfully, but these errors were encountered:
The index fields are not being returned when I retrieve all of the documents.
I tried to retrieve the index fields using the following, but doc.IndexFields returned null…
var documents = vaultApi.Folders.GetFolderDocuments(Folder.Id)
foreach (Document doc in documents)
{
var indexFields = doc.IndexFields;
}
For me to actually retrieve the index fields I am forced to make a second call using the following…
var documents = vaultApi.Folders.GetFolderDocuments(Folder.Id)
foreach (Document doc in documents)
{
var indexFields = vaultApi.Documents.GetDocumentIndexFields(doc.DocumentId);
}
It works, but isn’t ideal.
The text was updated successfully, but these errors were encountered: