Questions tagged [2sxc]

Anything related to 2sxc, the content-management module & app-engine for DNN/DotNetNuke.

582 questions
7
votes
1 answer

Module not found: Error: Can't resolve './app/app.module.ngfactory'

I cannot compile my Angular 5 application using AOT (ng build --prod). What is the problem? Module not found: Error: Can't resolve './app/app.module.ngfactory' in 'C:\Projects\app-dnn-sxc-angular-dev\src' @ ./src/main.ts 3:0-66 @ multi…
Christoph Bühler
  • 2,795
  • 2
  • 28
  • 43
3
votes
1 answer

if else statement is not being treated as code inside @foreach - 2sxc v11 DNN 9.8

I'm currently learning 2sxc and am building a directory app as my initial project. I'm trying to use the following code in a list view to change the way an item is displayed based on the Boolean "UpgradedListing" @foreach(var listing in…
2
votes
1 answer

2sxc - Formulas: Get entity field names

I have an entity type with three fields: FieldA, FieldB and FieldC. FieldA and FieldB have the type "Entity". They link to another entity with two fields. FieldC is a string which I need to automatic concatenate FieldA and FieldB. I use this…
João Gomes
  • 312
  • 2
  • 12
2
votes
3 answers

DNN indexer fails with 2sxc content modules

On a recent DNN/2sxc installation, the DNN index functions fail with a GeneralException: "The given key was not present in the dictionary." The stack error is: Message:Search: Error while indexing module 458 on tab 50, portal…
2
votes
1 answer

ValueFilter does not work in 2sxc in visual query

I have a JSON result set which is like this "Default": [ { "PortalId": 0, "Price": 990000, "Featured": false, "Type": 1, "Bathrooms": 6, "Rooms": 5, "Volume": 0, "Area": 430, "CreatedDate":…
2
votes
2 answers

2scx very slow when saving content

We're having an issue with one of our sites. It's a large DNN Platform site version 8.0.4, with close to 1000 pages of content that is close to going into production. We have been using 2sxc 9.10 to manage the content on the site, unfortunately it's…
2
votes
2 answers

2sxc - Get EntityId or EntityGuid of newly created object inside custom api controller

For adding new entity inside my custom API I use code like this: var tagGroup = new Dictionary(); tagGroup.Add("Title", "Some new tagGroup name"); App.Data.Create("TagGroup", tagGroup, "WebApiUser"); This work fine if I…
Jernej Pirc
  • 504
  • 1
  • 4
  • 13
2
votes
2 answers

2sxc blog app posts and DNN search

While using the 2sxc blog app, i noticed that the DNN search results shows all the post but the link of the post title is the main Blog page and not the actual post link. Example search results show: Page title: I am a post title Link for the above…
user366123
  • 153
  • 10
2
votes
2 answers

add button is missing for Content:Toolbar

The add button that appears over the 2sxc items is missing all of a sudden. It was there a couple days agao but now when I log into any portal in my DNN instance the "+" or add button is missing here is a screen shot: As you can see, the change…
J King
  • 4,108
  • 10
  • 53
  • 103
1
vote
1 answer

How do I output the DNN Page's "Large Icon" in 2sxc?

I'm making a Hero app using 2sxc. On the DNN site I'm working on, the administrator set the "Large Icon" via the page settings to have a banner image. I would like to grab this banner image and use it within the 2sxc app. I thought I might be able…
1
vote
1 answer

How can I set the default view for an 2sxc app?

Is there a way to make a certain template for an app the “default” template? Let’s say I have an app called “Photo Gallery” and it has 3 templates: Carousel Grid Photo Album By default, when dropped on the page, “Carousel” will show because it’s…
1
vote
1 answer

How do I hide certain fields from different templates in 2sxc apps using Formulas?

I have an App called "Features" In Features, I have these fields: Heading Text Image The app has two separate razor templates. One of the templates displays an image, and the other one does not. How can I hide the "Image" field from Template B,…
1
vote
1 answer

Best, Better, or Simpler Way to Get the Label for a Content-Type's Field

I thought I was doing something easy, but it got so complicated that I feel like I am missing something. We have a Content-Type (CT) that moves through a workflow. In each phase of the workflow, the output changes which fields are visible. We want…
Jeremy Farrance
  • 740
  • 6
  • 11
1
vote
1 answer

2sxc Error: can't delete items, found entities assigned children

I have a newly deployed site running Dnn v9.10.02 and 2sxc v13.0.0. I am building a custom app that contains an Event entity and an Organization entity. One of the fields of Event is an entity type of Organization to mark which organization is…
1
vote
1 answer

In 2sxc, after an App.Data.Create(), is there a way to get the new EntityId (or Guid) or a Pointer to the new Entity?

I've run in to this need a few times in the past few years. I programmatically add a new Entity to a Content-Type using App.Data.Create() and then need to add that new Entity to the next Entity I am about to .Create (new record in a different…
Jeremy Farrance
  • 740
  • 6
  • 11
1
2 3
38 39