Skip to content

Conversation

@ChrisAt2at
Copy link

  • Extracted retrieval of note attachments to separate function
  • Introduced isAttachmentPdf member to determine PDF type once per file
  • inverted conditional logic on isAttachmentPdf not to use negation
  • Added function to retrieve any file type fields. Quickest way to prevent large code refactoring was to convert the file blob to Base64 string
  • Bumbed version to .2

- Extracted retrieval of note attachments to separate function
- Introduced isAttachmentPdf member to determine PDF type once per file
- inverted conditional logic on isAttachmentPdf not to use negation
- Added function to retrieve any file type fields. Quickest way to prevent large code refactoring was to convert the file blob to Base64 string
- Bumbed version to .2
…name

- We notices Dynamics sometimes uses octet-stream mimetype for png/jpg/jpeg images and PDF files in file columns
- First version had hardcoded logicalname+s for plural name (for download API). Now we use the MetaData API to get it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant