Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Browsing all 2540 articles
Browse latest View live

New Post: Installing Static Data Types with Dependencies via Package

In your assembly that contains the static types, make sure you've created the data types (on the startup). Something like that:using Composite.Core.Application; using Composite.Data.DynamicTypes;...

View Article


New Post: Installing Static Data Types with Dependencies via Package

@wysocki how does that help in regards to removing the types again when you uninstall the package?

View Article


New Post: Installing Static Data Types with Dependencies via Package

burningice wrote: @wysocki how does that help in regards to removing the types again when you uninstall the package? To install the types as suggested originally, one needs to also specify the assembly...

View Article

New Post: Installing Static Data Types with Dependencies via Package

@wysocki i know that... my question is that how do you uninstall your types again if you're not installing them using an PackageFragmentInstaller but simply creating them in code on first startup....

View Article

New Post: Installing Static Data Types with Dependencies via Package

Hi @burningice For uninstalling you can use the following code: var typeDescriptor = DynamicTypeManager.GetDataTypeDescriptor(typeof(....)) DynamicTypeManager.DropStore(typeDescriptor) you can use it...

View Article


New Post: Installing Static Data Types with Dependencies via Package

@napernik which FragmentInstaller would that be, can you provide the xml-markup for this? I know i can write everything by hand if i want, my point is that the OP wants to use...

View Article

New Post: Installing Static Data Types with Dependencies via Package

@wysocki You nailed it. I failed to include the Assembly name in my ForeignKey attribute. I feel so ignorant for not catching something that simple. @everyone I wanted to personally thank everyone for...

View Article

New Post: Installing Static Data Types with Dependencies via Package

@TeamUnicorn Even better, you should reference the ForeignKey like this to always make sure you're referencing the right type[ForeignKey(typeof(Builders.Data.IClient), "Id", AllowCascadeDeletes=true,...

View Article


New Post: Installing Static Data Types with Dependencies via Package

@burningice You're right. I used a string reference instead of using typeof. @wysocki I looked on the docs.composite.net site and confirmed you do have an example for using the ForeignKey attribute and...

View Article


Reviewed: Composite C1 5.0 (Mar 31, 2016)

Rated 5 Stars (out of 5) - I have dabbled with .NET based CMS solutions in the past and have found the learning curve on most of them to be too steep or the solutions overkill for my needs. I found...

View Article

New Post: CPU 100% w3wp after C1 run for a while, what's rootcause?

Hi, @mawtex Thanks for replay, it's not happen for a couple of days but now it's go wrong again, not out of memory although always being up to 80% cpu usage. Where can I get the log to check? Thanks.

View Article

New Post: CPU 100% w3wp after C1 run for a while, what's rootcause?

@mawtex, I can see the following log repeated in App_data/Composite/20160401: 20160401 06:56:08.9547 2 48 Warning /Renderers/Page.aspx  Failed to format output xhtml. Url: /help/souhupai 20160401...

View Article

New Post: CPU 100% w3wp after C1 run for a while, what's rootcause?

Perhaps you are indirectly hit by this one; https://github.com/Orckestra/C1-CMS/issues/33 - at least let's try to see if it fixes your issue also. The original issue is fixed in 5.0, but you can...

View Article


New Post: How to query form xml data using odata

I would guess you would do this (basically include your namespace and replace IPage with program - I also renamed the controller class here:using System.Linq; using System.Web.Http; using...

View Article

New Post: Problem Editing an Installation of Composite C1 on Azure from the...

Hi @Proks A small update. As it turns out, the function preview on Web Apps works partially, the images and markup are rendered, but the text isn't. We added a config setting to disable function...

View Article


New Post: Problem Editing an Installation of Composite C1 on Azure from the...

Hi @napernik Thanks for digging deeper into this. I'm not sure I understand what you mean when you say "the images and markup are rendered, but the text isn't." I am seeing everthing for some functions...

View Article

New Post: Problem Editing an Installation of Composite C1 on Azure from the...

Thanks for digging deeper into this. I'm not sure I understand what you mean when you say "the images and markup are rendered, but the text isn't." I am seeing everthing for some functions but not for...

View Article


New Post: Problem Editing an Installation of Composite C1 on Azure from the...

Did some extra testing. The good news - the texts/fonts are shown correctly, the bad news, some of the preview renderings fail randmly, seemingly because of usage of some svg fonts :( Failed to build...

View Article

New Post: Move DataType to another installation.

Hi All, I need to move a default xml based dataype (with all the redords), to another installation of Composite C1 in another server. There are any easy guide to do this? Thank in advance. Eugenio

View Article

New Post: Move DataType to another installation.

Install Composite.tools.PackageCreator (if not installed yet).Create a new package from the Package Creator perspective.From the Data perspective, add a) the data type; b) the data of its typeDonwload...

View Article
Browsing all 2540 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>