Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

229
Views
How to access webdav files in the codebase in BigCommerce?

I have .js and .json files in webdav and I'm able to access them using cyberduck, however I'd like to import them in the codebase like this:

import File from "webdave/products/somefile";

I found a js package that I think will allow me to do that called webdav however I'm getting cors error when connecting to the client, and upon searching I discovered that BigCommerce does not allow api call to the store database?

Is there a way around it? basically I will be storing js files in webdav containing js objects for some product configurations, so I need those js objects in the codebase.

about 4 years ago · Santiago Gelvez
1 answers
Answer question

0

You can grab the files with an AJAX request, and use its contents within the success.

$.ajax({
    type: 'GET',
    url: '/content/filname.json',
    dataType: 'json',
    success(data) { 
        console.log(data);
    },
});
about 4 years ago · Santiago Gelvez Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!