Configuring Preview URL in Contentful In Web App - contentful

I am new to contentful. I have set up a content type in the content model of the example project as Blogpost. As a second step, I added the content entry of type Blogpost. I noticed that there was no preview configured in the web app. I looked into the guide in order to understand how to set up the preview URL and I am quite stuck at it. Please find in the image below, how i setup my web preview URL,
After configuring, when I go back to the entry, and try to preview it, it gives the following error
Can someone please help, what am i doing wrong here.
Thanks,
Bee

Related

Implement Cookies banner for Azure app service application

I have one Azure app service,where multiple (web app)app services with different names are running.
I have to modify already implemented cookie banner which says “We are doing ....”
The banner is showing when website load. From browser, After doing “F12” I can see, where are the text written.However, when checked the source code from Visual Studio, I can’t find the text ( that is, Checked in “Index.cshtml” page from the code. ). Searched the text in entire solution as well.
Is it somewhere implemented in App services?, so that it will be visible for different applications “Index.cshtml” page load? Or am I missing something?
Note, as per my previous on prem application, it should be implemented in the code itself. Quite unsure,why am I unable to find this.
Please help.thanks.

Strange URLs when culture is enable

I am running Kentico 12.0.26 MVC.
When adding links via the inline widget editor (MediumEditor), the final URL that gets generated has a strange URL path, which is not a pretty URL for SEO.
http://localhost/cmsctx/pv/administrator/culture/en-US/wg/54e1b893-56a5-455b-9f89-37433f2f4365/readonly/0/ea/1/h/98d86f48b5376d0f10eb44df47afb782729ba12751defe6a5ce98c918950785e/-/products/Tube-Pipe-Systems/FL-WELD-P-ORB?uh=b0542cb25017b58c3ebde4855543bcea15269abf4d7458251db4ff128f2feb30&administrationdomain=http%3A%2F%2Flocalhost
Not all links have this, but when this links where added, it was using the clean relative URL of the page, I think maybe after enabeling the Kentico culture feature, they somehow got update like that, but not all links got affected. I am still not entirely sure at what point to they get updated like that.
I also notice that links that are added via the page type editor (CKEditor) are fine and don't seem to run into this issue.
Please advise, thanks

DropZone in ASP.NET MVC5 project

I try to use dropzone.js in my project. I implemented it excactly according to this example. I am totaly pissed off because after drag and drop the files are uploaded however the page is refreshed and the preview images disappear. Did anyone meet this problem?
Maybe my question deserves downwote but I hope this answer saves someone from the same struggle. After a little research I found that the problem causes new visual studio feature Browser link. For some reason after successful image uploading browser link invoked page refresh so ofcourse I lost image previews. This was unexpectable behavior.

Social sharing for specific assets

I am developing an analytical app using NodeJS and Express and I would like to give the user the option to share the currently filtered graph along with a title and a sample description. I would like to have an option to share to Facebook, Twitter and Google +. I have done some research and I have managed to find a few libraries that were supposed to suite me. One of which was social-share (https://www.npmjs.com/package/social-share). The problem with this library is that I was unable to upload images to Facebook or Twitter, as well as the missing Google+ option.
The other library I have found is twit (https://github.com/ttezel/twit) which I still have not tried but either way it is for Twitter only.
After some time of trying to find a trivial solution, I started looking into the "build my own" option. I registered my app in the Facebook Developers console. I followed all the steps there to setup the SDK and the smple share code. The problem there was that the URL I wanted to share (http://127.0.0.1:3000/ or localhost at my case) was not "in the allowed domains for the application". I have tried a number if solutions for this error but none seemed to work. I have creadet a "Test app" under the original app in Facebook Dev Console. I have also tried creating an entirely new application for purely development purposes. (Note: in both previously stated caces I have switched the app ids obviously). I also tried the settings options for "Add platform" with "localhost" as the site URL. I have tried adding it as allowed domains and other options but I could not seem to get it to work.
What I also tried was the "Add This" option to share, leveraging the meta og: tags for image. The content is dynamically generated so I figured I should update the contents of the meta tags dynamically as well (using jQuery in my case). The problem I see there is the following: Facebook scrapes the page periodically and therefore the dynamic content from the og: tags is not fetched. Also the share button always used the information scraped from the url that I tried to share.
So after all this my questions are: Is there a trivial way in which I can have simple share buttons which the user can share the currently visible content (Highcharts graph) along with a title and text (prefilled by the app)? Is this supported for Facebook, Twitter and Google +?
Thank you in advance!

how to remove OrchardLocal from Orchard URL?

I just downloaded the latest source codes of orchard. I run the solution using vs 2012. I am getting this URL in my browser.
http://localhost:30321/OrchardLocal/
Is there a way I can remove "OrchardLocal" from the URL. when I push the app to the production server. I dont want to see http://test.com/OrchardLocal/
Right click Orchard.Web and select properties then go to Web. Should be able to edit it there. However when pushing to server you shouldn't see OrchardLocal... I think ^_^

Resources