How to deploy my webpage code to back4app, the code has some web end process.So I have to access my created webpage globally how to achieve that
You have two different ways to upload your webpage code:
1) Using dashboard: Sign in Back4app -> click in your app features -> cloud code -> there is an upload button
2) Using CLI: http://docs.back4app.com/docs/integrations/command-line-interface/
Static files (like html, css, js) should be placed in a folder called "public".
If you want to use Node.js/Express.js application to build a dynamic web-page, you have to create your endpoints in a file called "app.js":
http://docs.back4app.com/docs/integrations/webhosting-back4app/
Related
As i'm developing a Web API for angular application i have saved the image in my Web Api project and the project folder structure is below.
Now as i'm trying to get access for the image via browser it doesn't show the image here is a snapshot for it below.
I have tried calling the HTML page of angular like this below.
<img src="http://localhost:4000/Uploads/Profile/057f4ed8-5b52-4ba0-b3ec-ae3b4f4e9baa.jpg" class="img-fluid">
It doesn't work how can i access these images in my other project and also the Web API project is running.
To Enable Static Content go to Window Features then iis
We are trying to intercept in Xamarin Get API calls done in WebView.
The reason we do it - is we want to implement such flow:
for Example:
there is index.html that we are navigating to in newly opened WebView in Xamarin. And this index.html has let's say 2 resources: 1) abc.css and 2) def.js files. When WebView container will load index.html it will try to load this to files by making two Get API call, and we want to create interceptor on Xamarin side which will check: 1) if there is abc.css exists in Xamarin app 2) if yes stop loading it from server, but provide it to WebView instead.
Can we create such kind of interceptor in Xamarin?
I did my research and I found that Xamarin can intercept Navigating events, but this is very different to Get API calls.
I have been working on a website www.xyz.com which is hosted on some server. I have been loading forms & contents from www.abc.com using I Frame which is hosted on Azure. We have now decided not to use I Frames and to load the content from www.abc.com using Jquery AJAX. Now the abc.com is providing me the UI page fragment for my forms and contents from Azure blob storage in form of .html file or .txt file. If i try to do a normal AJAX call for the HTML or TXT file path, i can the see the content coming in the Response tab of that URL but the code does not enters the Success template and hence i am unable to modify or access the content.
Please suggest
You can use Application Request Routing (ARR) for this. This is a module you can install in IIS which also works in Windows Azure.
The following image illustrates how ARR works. An incoming request is intercepted and based on a set of rules the request is forwarded (for you this will be to xyz.com) and the response is the served back to the user. Even though this illustration explains the principle with sub directories, it can also be applied on the full site.
I am developing an addon using Firefox's Addon SDK (v. 1.11). My extension dynamically creates an iframe on each website and then loads an html file which includes other resources such as images, font files, etc. from the add on's local directory.
Problem
When loading any of such local resources (i.e.: "resource://" schema), the iframe fails to display them and a message is thrown:
Security Error: Content at http: //www.XXX may not load or link to
resource://XXX
This is a security measure introduced on Firefox 3. When developing without the Addon SDK, the way around it is declaring a directory with "contentaccessible=yes", making the directory's contents accessible to anyone, including my add on. However, I have not been able to find similar functionality using the Addon SDK. Is there a better way of using local data on an iframe that my addon creates and inserts into a page?
I don't think you can directly load an iFrame that points to a resource inside your URL. The browser complains because it's either breaking same origin policy or cross site scripting one. I can't remember which one right now.
if it is html content you want to load you can always inject it into the DOM and then send a message to the document object using the events API to display your custom html. I've done this in the past and it works.
so from main.js send a message to content script which will then inject your iframe html into the DOM and then you can send the document object a message to display it.
I hope this helps.
Not sure if this was the case when you posted the question, but it appears that "resource://" should no longer be used with the Addon SDK.
If you're using the resource inside of an HTML file in the extension, you can reference it locally, otherwise you should use data.url('whatever.jpg') and pass around that value as needed.
Full info is here: http://blog.mozilla.org/addons/2012/01/11/sdk-1-4-known-issue-with-hard-coding-resource-uris/
I am starting to use QlikView.
I need to open a web site from QlikView script, for instance something like
call ("wwww.mywebsite.com").
Is possible to call a website from QlikView Script?
Are you looking to launch a web page from a dashboard page component? If so you can use a text object with an "Open URL" action. and specify the url (or an expression that returns a url)
If you need to use a web site as a datasource (ie a web service) then you can use the Web file wizard to construct the proper connection to the web service.
Yes, you have two options. You can either use the 'Web Files' wizard, or for more complicated web service calls you can use a macro and call it in your script.
Check out the following site:
http://blog.qvapps.com/2010/09/20/using-qlikview-with-web-services/