Git Product home page Git Product logo

cloudmersive.apiclient.apex.convert's People

Contributors

cloudmersive avatar

Stargazers

 avatar

Watchers

 avatar  avatar

cloudmersive.apiclient.apex.convert's Issues

Incorrect Expression in Apex Test Classes

Every Test Class method has an expression:

((Swagger.ApiKeyAuth) client.getAuthentication('Apikey');

This is an incorrect type-cast for a function call. Is this supposed to set some variable?
This is one of the reason for the Apex test class failure.
For now, I have commented it out as it does not contribute to setting of the key/authentication.

Happy to be corrected.

To send Files & Attachments: setBodyAsBlob

In Salesforce Apex, setting File.VersionData or Attachment.Body as input or DecodingBase64 does not help to serve as inputFile parameter.

We can, however, send the file using HttpRequest.setBodyAsBlob(**).

This would need change in Class Swagger.ApiClient Method getResponse()

req.setBody(toBody(contentType, body, form));

There should be an option to use req.setBodyAsBlob(....

namedCredential - file name is correct?

Hi Team @Cloudmersive,
The file is named convertapi.namedCredential. Should it not be convertapi.namedCredential-meta.xml?

When I did a sfdx push to Org, it failed with the error:
21:24:36.519 sfdx force:source:deploy --sourcepath ./force-app/main/default/namedCredentials --json --loglevel fatal
21:24:47.570 sfdx force:source:deploy --sourcepath ./force-app/main/default/namedCredentials --json --loglevel fatal ended with exit code 1

Please correct me If I am wrong here.
Reference: maxsteel11hour@67388e3

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.