I have developed an Eloqua AppCloud Content Service and installed it. But when ever I try to Edit Content on the service instance, I see no configuration page there.
Can someone point me to a direction on how to render the edit page?
When you edit the content instance, the browser will open the configure url for the service.
Can you share your configure URL? It needs to be reachable from your browser, it is a client side call.
Source: http://docs.oracle.com/cloud/latest/marketingcs_gs/OMCAB/index.html#Developers/AppCloud/Register/register-content.htm
EDIT from the comments:
When you click on edit the browser will call the Configure URL of the service. That URL needs to return html with the configuration page for the service.
Related
I am trying to make nextjs Link component to redirect correctly to a website that don't have a http, https in it i am storing links in database based on what user writes and some of them don't inclue http, https but for some reason the Link component appends these links to my current website url for example:
google.com will redirect to mywebsite.com/google.com
any possible way to resolve this issue
i have tried searching online with no luck
If I am on a URL such as:
http://example/
And I write a link like this:
<a href="foo" />hi</a>
Then clicking the link will go to:
http://example/foo
So if your link look like:
<a href="google.com" />hi</a>
Then the expected behavior is for that link to go to:
http://example/google.com
So this is all exactly as expected. If you have links stored in the database that were supposed to include https://, then you need to add that before writing your links.
In my local environment of a particular site, when i click on a particular link ,it redirects to the same page but in the url it shows that the page has been visited.Again when i click on the link, it will direct me to that page. Any reason as to why this happens and what could be the possible solution.
For example: My sites name is abc.com. It has pages like help, contact etc. When i am on my homepage and click on help it redirects me back to my home page but in my browser the URL is shown as abc.com/help.
When i click on help again , it redirects me to the help page(URL in browser is abc/help/Help) on the second click.
This can happen if the cache or system index has been corrupted. The best solution is to typically stop & start the application and see if it comes back.
If it is still an issue and you are on an older version of DNN, make sure that the PortalAlias table doesn't have a trailing / on your portal alias.
If this isn't the case, it is possible that a custom URL impacted this, but doubtful.
In Umbraco, why does one get this error on a new deployment or machine that is pointing to an existing umbraco database and existing content?
Page not found
No template exists to render the document at url '/'.
In addition, no template exists to render the custom 404.
This page can be replaced with a custom 404. Check the documentation
for "custom 404".
This page is intentionally left ugly ;-)
One other thing to check is that if the page is published you have a template selected for the page or you will also get a 404 error.
The reason it was doing that was because the domain name wasn't setup correctly.
I was using a custom domain to host the site, and umbraco was obviously not matching the incoming request to a site in the CMS.
By going to the Site and right clicking -> Culture and Hostnames, I could set the hostname.
As per this answer: Umbraco configured with IIS 7 having hard time with the site URL?
Did you set your hostname in Umbraco?
Right click on the site root in your solution and click "Culture and hostnames"
Fill out your hostnames and save
You could try and force a full republish and refresh of content, use http://example.com/umbraco/dialogs/republish.aspx?xml=true assuming your installation wnet well and you can see the pages in the content area. As for the 404 you need to set one your self and assing it in the umbraco config file.
I am trying to redirect to an unhosted html file in an MVC action. The page returns with corrupted content error. I am trying to redirect like this:
return Redirect("file:///C:/test/mytestfile.html");
This of course works fine if the file is on a web server:
return Redirect("http://myserver/mytestfile.html");
Is it even possible to use the file protocol when redirecting in MVC? I've also tried:
return new RedirectResult("file:///C:/test/mytestfile.html");
and
Response.Redirect("file:///C:/test/mytestfile.html");
The project I'm doing this in is a bridge solution to overcome some shortcomings in a vendor solution, so unfortunately I can't just move the target files to web server. I really need to redirect to the file on the share where it lives.
This is not supported and is not a limitation of ASP.NET MVC, it is how web browsers work. You cannot redirect to the file:/// protocol if the web application is hosted on a web server (http://). You can only redirect to file:/// if the page that is redirecting is also hosted on file:///.
More info on the subject can be found here and the rules are defined here.
You could possibly have the website do a file read on the HTML file and then output the file to the page. This might be a start. You would end up with a wrapper "page" on your site that mirrored the remote HTML file.
I need to create a few urls which for my gwt application. e.g currently login screen is
http://127.0.0.1:8888/abc.html?gwt.codesvr=127.0.0.1:9997
http://example.com/abc.html?gwt.codesvr=127.0.0.1:9997
i want to change it to
http://127.0.0.1:8888/accounts
http://example.com/accounts
so when user directly open this link
I have developed this applicatoin in gwt with jdbc
looking forward to your reply
I suggest you take a look at how GWT handles History. You can save states of your application by using History tokens(For ex: ../modulename#user1, ../modulename#user2) and by parsing these tokens you can direct your user to appropriate section of your application. Since GWT applications run on a single html page I beleive this would be the correct approach to implement your functionality. Last but not least these states are bookmarkable and supports browsers back button as well.
By the way about changing the Url, ?gwt.codesvr=127.0.0.1:9997 is added to the url in development mode and will not appear in production mode when you compile deploy your application.
Just create a subfolder named accounts and move the index.html file there. The webserver should not automatically serve the index.html file, when someone requests to see the folder.
You can create the history and add the token in them:
private static final String abc = "account";
History.newItem(abc ,true);