Questions tagged [umbraco8]

Umbraco 8 is an open source content management system (CMS) platform for publishing content on the World Wide Web and intranets. It is written in C# and deployed on Microsoft based infrastructure.

Umbraco 8 is the eighth stable release of Umbraco - an open source content management system (CMS) platform for publishing content on the World Wide Web and intranets. It is written in C# and deployed on Microsoft based infrastructure. The open source backend is released under an MIT License while the UI is released under the Umbraco license.

Resources

https://our.umbraco.com/documentation/v8documentation

170 questions
5
votes
3 answers

Unable to use SaveAndPublish from ContentService

I'm trying to save my IContent called child, but on this line(contentService.SaveAndPublish(child);) I get the following error: Object reference not set to an instance of an object. if (child.HasProperty("navn")) { child.SetValue("navn",…
Carsten Løvbo Andersen
  • 26,637
  • 10
  • 47
  • 77
4
votes
6 answers

How to get html generated by razor into a string?

I created a workflow using umbraco and what I am trying to do is: create a workflow that get the html created by a razor template (umbraco.forms). Here is the locations where is the templates of umbraco.forms Views\Partials\Forms\Emails This…
Amadeu Antunes
  • 678
  • 1
  • 8
  • 28
4
votes
1 answer

Umbraco 8 and IoC

I installed Umbraco 8.1.3 and i'm trying to configure dependecy injection following this post, but not work. My code is: CONTROLLER: public class ContactController : UmbracoApiController { private readonly IContactService contactService; …
4
votes
1 answer

How do I add an WebApiConfig to my UmbracoApiController?

I'm trying to create a APIcontroller for my Umbraco V8 package. The API is working fine but I only want my backoffice AngularControllers to have access to the API. I wish to create a attribute like described in this answer…
Bart
  • 75
  • 6
3
votes
1 answer

Implementing SSO in Umbraco 8

I have been tasked with implementing SSO in an Umbraco v 8 application with the following set-up: The 3rd party application will initiate a call to the Umbraco site so that it's users can use the Umbraco content without logging in. The 3rd party…
DarkW1nter
  • 2,933
  • 11
  • 67
  • 120
3
votes
3 answers

Umbraco 8 shows install screen after deploying on GoDaddy server

I have developed site using Umbraco 8 and uSkinned theme. I am able to run in my local development environment as well as local IIS. but when I deploy it to GoDaddy it shows me install screen. I followed below are the steps. Visual Studio Publish…
Arjun Vachhani
  • 1,761
  • 3
  • 21
  • 44
3
votes
1 answer

Umbraco 8: Get reference to DocumentType definition in WebAPI class

Q) How do I get a reference to a DocumentType definition in my UmbracoAPIController class, so that I can do LINQ queries on the properties? Background: I've got a WebAPI endpoint I call from JS, that fetches Book items from my DB. I want to filter…
Dave
  • 5,283
  • 7
  • 44
  • 66
3
votes
2 answers

Umbraco 8: Get all content of specific type in WebAPI class

Q) How do I access my website content, e.g. books collection in my WebAPI class? In an Umbraco 8 website project, I am using the following in my razor view to get content, which works fine, allowing me to then iterate over the collection and build…
Dave
  • 5,283
  • 7
  • 44
  • 66
3
votes
1 answer

Add a field to the Umbraco 8 Members Index

I have extended the Umbraco 8 Member type by adding some custom fields. I need to be able to search Members by one of these fields, 'organisationName' (that's it's alias), so when looking at Examine, I tried to add this to the members index like…
DarkW1nter
  • 2,933
  • 11
  • 67
  • 120
3
votes
3 answers

The type or namespace name 'IPublishedContent' could not be found in Umbraco 8

I've media picker in Umbraco 8 and I want to display image in my cshtml page. @inherits Umbraco.Web.Mvc.UmbracoViewPage @{ Layout = "~/Views/Shared/_Layout.cshtml"; }
Ubiquitous Developers
  • 3,637
  • 6
  • 33
  • 78
3
votes
1 answer

How to get content from specific culture in Umbraco

I have biligngual website with German language set as default language and I am trying to get English content nodes from my SurfaceController like this: Umbraco.Content(ID); And i have tried to change curent culture like…
Josip Pavlović
  • 167
  • 1
  • 12
3
votes
3 answers

Convert IContent To IPublishedContent Umbraco 8

Is it possible to cast/convert an IContent to IPublishedContent or a Model's builder model inside a ContentService's hook? More specifically, I am using the Saving hook as you can see below. Reference for the hook:…
Antonios Tsimourtos
  • 1,676
  • 1
  • 14
  • 37
3
votes
0 answers

Umbraco 8 - Checkbox (TrueFalse) Always returning False

I'm trying to use the Checkbox/TrueFalse to toggle on/off certain parts of content, however it seems that no matter what setting I put the checkbox on, the Value (even parsed as Bool) always returns false. I'm wondering if theres a property I'm…
James Lalor
  • 1,236
  • 9
  • 22
2
votes
1 answer

Extend Umbraco back office search to search custom proerties not just title

What I would like to do is be able to type an custom property within the back office search. e.g. put the ISBN into the search field and have the results shown currently it always returns "no items found" as the search will only show results for the…
TheAlbear
  • 5,507
  • 8
  • 51
  • 84
2
votes
0 answers

Umbraco 8: Fetch image from URL in javascript and assign result to FileUpload control in form

Background: In my DocumentType I have added a FileUpload. I am requesting JSON from an API, which returns some meta data, including the url of an image. I would like then fetch that image (I know how to do that already) and set it as the content…
Dave
  • 5,283
  • 7
  • 44
  • 66
1
2 3
11 12