GithubHelp home page GithubHelp logo

Comments (5)

denikqwerty avatar denikqwerty commented on June 8, 2024 1

@RubenAghajanyan Thank you very much for the quick fix. The issue is resoved :)

from pcf-draganddroparea.

RubenAghajanyan avatar RubenAghajanyan commented on June 8, 2024

@denikqwerty

But, files are uploading with their mime-type. You can upload a file via control, download it from notes, and check its mime-type. https://www.htmlstrip.com/mime-file-type-checker
It will show the correct mime-type.

Can you please share more info, how did you find out that mime-type sets application/octet-stream?

from pcf-draganddroparea.

denikqwerty avatar denikqwerty commented on June 8, 2024

@RubenAghajanyan

We`ve uploaded one and the same pdf to the records where we have Drag and Drop Area enabled, and as you can see mime types of them are different.

1st row represented note attached via Drag and Drop area
2nd row represents note attached via OOB process

image

Please tell me if you need more information. You need to check mime type not of downloaded file, but the annotation record itself, like:

<fetch>
  <entity name="annotation">
    <attribute name="objectid" />
    <attribute name="filename" />
    <attribute name="mimetype" />
    <filter>
      <condition attribute="isdocument" operator="eq" value="1" />
      <condition attribute="objectid" operator="eq" value="[id of your record]" />
    </filter>
  </entity>
</fetch>

from pcf-draganddroparea.

RubenAghajanyan avatar RubenAghajanyan commented on June 8, 2024

@denikqwerty,

Okey. We published a new version "1.0.2" where that bug should be fixed. Please download it from the marketplace
https://marketplace.bevercrm.com/pcf-controls/1

from pcf-draganddroparea.

RubenAghajanyan avatar RubenAghajanyan commented on June 8, 2024

The issue is resolved.

from pcf-draganddroparea.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.