Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
Console Extensions: IContentPane.setContentUrl(...) POSTs?!? — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Console Extensions: IContentPane.setContentUrl(...) POSTs?!?

Accepted answer
27
Views
1
Comments
edited Jun 13, 2022 4:11AM in General Technical Discussions 1 comment

Summary

POST Requests Fail when Developing Extensions Locally with Vue.js

Content

I'm trying to develop a console extension that implements a custom application for a customer. I've written quite a few workspace extensions, but I'm sort of inexperienced with console extensions. I've noticed that the function IContentPane.setContentUrl(...) sends a POST request rather than a GET request to its URL. This is problematic for me because I work primarily in Vue.js and I prefer to serve my extensions locally during development because it's so much more efficient.

This approach uses an init.html file that does nothing but redirect to

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!