Questions tagged [2sxc]
Anything related to 2sxc, the content-management module & app-engine for DNN/DotNetNuke.
590
questions
0
votes
1
answer
24
views
2sxc send e-mail with the pdf file generated in the app-tutorial-pdf
I need to improve the pdf demo app to send the pdf as an attachment.
The app-tutorial-pdf generates the file with:
[AllowAnonymous]
public class PdfController : Custom.Hybrid.Api14
{
public static ...
0
votes
0
answers
25
views
Unwanted Hidden/Show status change when using content-blocks
I am using DNN 9.11 with 2sxc module version 14.07 installed.
I have created an application - a simple CMS. When I create a new article I set its status to "Hidden". Unfortunately, as soon ...
0
votes
1
answer
17
views
Get field atributes / metadata based on the field name
This is a related issue to 2sxc Get list of fields of an entity
I still have the entity entity "Cars" with two fields "Brand" and "Model".
Each field has a title, ...
0
votes
0
answers
14
views
All 2sxc Data Missing
We have a site where all of the 2sxc data just disappeared. The template files were still on the server, but all the modules showed errors and all of the data and views were simply gone.
Have you ever ...
0
votes
0
answers
16
views
2sxc. The given key was not present in the dictionary
When trying to go to the Apps List in 2sxc, or using the Visual Query Editor Run function, I am getting a 400 (Bad Request).
I am also experiencing a memory leak, but I'm not sure if this is the cause ...
0
votes
1
answer
17
views
2SXC DNN Missing assembly System.Web.Helpers
We have just installed 2sxc on a DNN distribution and cannot create basic content. Custom apps are loading without issue, this is only occurring with the content app.
Adding a content module to a ...
0
votes
0
answers
20
views
2sxc Import Error: trying to resolve guids for this relationship, but can't, because the lookupList is not available
I exported several 2sxc entities of a content type called "Series" that I wish to modify and reimport to the same system. I was able to successfully modify the data in Excel and export to a ...
0
votes
1
answer
19
views
Custom EventListener on 2sxc formulas
I have entity data type with three fields: one dropdown (A), one empty header (B) and one text (C).
Based on the dropdown value, I run a formula to a custom API and place some html into the header ...
-1
votes
1
answer
19
views
What is best way to define a style for a Accordion?
We are using a Accordion on the site https://wettkampf-software-zimmer.de/products/lsm. We want to change the color blue. What is best way to define a style for a Accordion? We don't find a tutorial. ...
0
votes
1
answer
31
views
In DNN with 2sxc v16.03+, how can I get access to the older Razor14 while converting to RazorTyped?
I have a couple of recently created Views inheriting from Custom.Hybrid.Razor14. I thought it would be fairly easy to update to .RazorTyped and then work my way through the errors. However, its become ...
1
vote
1
answer
45
views
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 ...
0
votes
1
answer
15
views
Changing Content Type Scope to Ghost Content Type and GUID
We have an instance where a portal that should have been using ghosted content types was not. Is it possible now that there is data records for these various content types to change to the ghosted ...
-2
votes
1
answer
19
views
Whats the process for downgrade an installation of 2sxc
Recently I upgraded 2sxc but some things stopped work, so i would like to start downgrading 2sxc to try.
I found this information https://azing.org/2sxc/r/6z3lel3k and says i can try to downgrade, but ...
0
votes
0
answers
27
views
DNN 2sxc | How to grant users permission to view all content items
I have a custom 2sxc app, very much like a blog, that allows DNN users with edit-level permissions (default permissions) to add and update entities of a 2sxc content type called "Article". I ...
0
votes
1
answer
18
views
How to return a text value from 2sxc events app post?
We're using the events course and registration app.
Whenever we do a registration, the formscontroller API is called so it seems.
However, we modified it, so it calls another API. This API returns a ...
0
votes
1
answer
17
views
turn-on: couldn't complete because some conditions were not met
We're using 2sxc 15.8 and on some pages the fancybox works and on other pages we get something like:
turn-on: #1 couldn't complete because some conditions were not met.
See details: [{…}] 0 : {...
0
votes
0
answers
35
views
Anyone knows how to change the date format in a 2sxc app (in the backend)
By default the date format in the 2sxc backend is MM/dd/yyyy.
However we would like to use our own format.
Does anyone know if this is possible at all?
0
votes
1
answer
24
views
Any examples of a 2sxc app with an export option
I'm looking for a way to export data to excel from a 2sxc app.
I know it has a built in function to export items to some xml file, but I would like to do this in excel. Perhaps there are some example ...
0
votes
0
answers
16
views
Upgrading 2sxc that used Ghost Content Types to the Shared Global Content Types
We have a site that has several portals we used the Ghost Content Types on but now I see this was changed and we have upgraded 2sxc but now need to migrate I guess the method Ghost Content types once ...
0
votes
0
answers
38
views
App 2sxc v16.1 throw an unexpected error in Oqtane 3.4.3
We try to install 2sxc v16.1 with Oqtane 3.4.3 in a production environment. The server is a new Windows Server 2022 with SQL Server 2022. We use the checklist https://azing.org/2sxc/r/fOG3aByY to ...
0
votes
1
answer
19
views
How should I upgrade both 2sxc and its old version Blog App?
I have an install with 2sxc 12.4 and using the Blog 4 app. I customized the template and CSS of the Blog app in the past. I'd like to upgrade 2sxc to the latest version, 16, but doing that on a test ...
0
votes
1
answer
91
views
Issue with Imageflow image resizing on Production Server using Oqtane with 2sxc
We are currently experiencing an issue with our Oqtane v3.4.3 site which utilizes 2sxc v16.00.00. Our 2sxc Image Gallery app, which relies on the ToSic.Imageflow.Oqtane v1.0.4, is encountering a ...
0
votes
1
answer
32
views
2sxc - Oqtane: Mobius Forms don't send mails
We are using Oqtane 3.4.2 and 2sxc 15.08.00. We have configured a contact form. If we send a Message we receive an error "An unexpected error occured while sending. Please try again. If it fails ...
0
votes
1
answer
26
views
We are using DNN with 2sxc installed and when we go to a URL where we would expect to see a page with content on our website, we see an error message
We are using DNN with 2sxc installed, and when we go to a URL where we would expect to see a page with content on our website, we see the following error message. Please can someone tell us what is ...
0
votes
0
answers
82
views
2SXC - DNN - Allow Page editors to view draft / hidden items
I need to allow individual users or groups to be able to add content to pages and view hidden items.
In a previous version I have configured a role "Editors" and configured permissions on ...
0
votes
0
answers
25
views
How to delete files attached to entities
Right now im using App.Data.Delete(entityId, userName) to delete entities in some cases, but files attached to that entities are not being deleted.
How I can delete files too.
0
votes
0
answers
39
views
2sxc Root ADAM to Specific Folder
As the title says, I need to configure a "Link / file reference" data type field to be rooted into a specific static folder instead of the usual ADAM folder. The intent is to have a user ...
0
votes
1
answer
72
views
Can't inject 2sxc app into DNN skin file - "error BC30451: 'this' is not declared."
DNN Version: 9.11.0
2sxc Version: 14.11.0
I'm trying to use 2sxc's IRenderService to render a 2sxc module within a DNN skin file (.ascx). I've been using the following resources for reference:
https:/...
0
votes
1
answer
49
views
2sxc - problem with editing after upgrade to DNN and 2sxc
I have recently done some DNN version upgrades which included upgrading 2sxc as part of the process. After the upgrade, the 2sxc editor has text overlaying various buttons/links instead of showing ...
0
votes
1
answer
20
views
Can't Delete Record 2sxc Error: No parent ID listed and item is Brand New
Getting this error on any piece of content we try and delete across entire site. So not isolated to a certain entity. We add even a brand new 2sxc content module, add a new item and then try and ...
0
votes
1
answer
34
views
2sxc allowing Javascript on wysiwyg editor
We want to move away from DNN html/text and replace with with 2sxc-Content.
But in some pages, it require to have javascript injected into the content.
Exp case: tracking user when clicking the Link ...
0
votes
1
answer
45
views
2sxc Content-Type Import Fails with Languages Error
I have a 2sxc App that was written about 3 years ago and was last modified using 2sxc 9.43.2 LTS on DNN v8+. I restored the old DNN site and got everything working locally. I wanted to import this app ...
0
votes
1
answer
67
views
Error when trying to inject 2sxc app into DNN template
I'm trying to inject a 2sxc app into a DNN template file - as per this great tutorial from WolfXMachina
Tutorial code:
<%@ Import Namespace="DotNetNuke.Entities.Modules" %>
<%@ ...
0
votes
2
answers
56
views
Rich text field is not showing the published (EVOQ) version of inner app
First off I would like to say your product is amazing! Has made the job of inheriting an old DNN instance a much more intuitive experience.
Apologies if this is really simple thing I'm missing but I'm ...
0
votes
1
answer
48
views
DNN 2SXC tokens how to add in editor
I'm new to 2SXC I'm trying to inject basic content in the Wysiwyg editor, using a token, but have so far been unsuccessful. This is so I can easily add inline content. Like our operating hours are [...
0
votes
1
answer
19
views
How I can user current module id in visual designer
I have a module showing items from a query. I have a field for some entities adding current ModuleId, but I need to filter those entities in visual designer using ModuleId value. How i can get current ...
0
votes
1
answer
37
views
Storage place for CSS of custom 2sxc modules
we use DNN, 2sxc and write 2sxc-modules for our needs with the help of the 2sxc Content object.
In one DNN-installation we have several portals (websites), all portals share the same 2sxc and the same ...
0
votes
1
answer
18
views
How do I fix a "block context" error in 2sxc?
I am running DNN v9.11.0 with 2sxc 13.12.1 LTS and have encountered the following error:
Block context required but not known. It was not attached.
The error comes from a custom app that I wrote that ...
0
votes
2
answers
52
views
2sxc - Access an adam file by unique identifier
I need to access an ID to an adam file setup like this:
MyDocument is the field name, where users can load an image or whatever.
In a list style view, users will click a link that activates a detail ...
0
votes
1
answer
41
views
How can I create a 2sxc app that has a listing and details that open in a modal?
I want to create a 2sxc app that has a listing of items. When a user clicks on an item, it should open the details view in a modal window.
However, I don't want to simply load all items into the page ...
0
votes
1
answer
12
views
2sxc Allow changes after formula filled a value
I'm trying to create a field that automatically fills a date (or whatever value).
The formula works but it also locks the value from any changes the user attempts.
I've tryed this:
v1(data, context) {
...
0
votes
1
answer
16
views
2sxc Run formula when a value from another field changes
I created a simple table with two types:
CarBrand, with entity data type, selecting the brands from another data.
CarModel, with the string dropdown type.
I need an API to return the models for each ...
0
votes
1
answer
28
views
How to remove an item from a list of entities programmatically?
DNN 9.10.1.0 / 2sxc 11.22.01
We're using 2sxc Content and C# Razor templates.
There are 2 content types, a "parent" and a "child" one. The parent has some general fields and a list ...
0
votes
1
answer
70
views
How to use code file that inherits `Custom.Dnn.Code12` within `Custom.Dnn.Razor12` file?
I want to write a custom view using new version of razor page in 2sxc module. My view "_MyView.cshtml" inherits Custom.Dnn.Razor12. So I've created a file "_MyView.code.cshtml" ...
0
votes
2
answers
61
views
Filter NULL value in 2SXC visual queries
I am using a tristate to express three different types of information. I a visual query I am able to filter the true and the false states, but i am not able to filter the state null.
Tried something ...
0
votes
0
answers
34
views
2sxc 403 Errors on sub-site when trying to edit
running into a weird error using 2sxc on a subsite.
I have a basic module on the page that works fine for end users but is having problems editing.
When a local(subsite) admin tries to edit they get a ...
0
votes
1
answer
23
views
Convert.FromBase64String not working after v14 Upgrade
We just upgraded our 2sxc custom API to v14, and now we're having an issue in an API controller that's used for uploading files with converting from Base64 to a byte array. Here's the code:
public ...
0
votes
1
answer
45
views
Upgrade Path for 2sxc Module
We are working on a dnn upgrade and was wondering if there is a specific upgrade path we should follow for the 2sx module.
Installed version is 8.12
Target Upgrade version is 14.07.04 (Latest)
0
votes
1
answer
19
views
WYSWIG Tools change based on user role and Inner Content Tool
Is it possible to load different options in the WYSIWIG field type. We want the ability for lower level editors to have certain options but sys admins to see more tools. You could do this with DNN ...
0
votes
1
answer
160
views
Issue Upgrading 2sxc Past 12.8.0
I'm having issues upgrading 2sxc past 12.8.0. I've tried going to 13.12 and to 14.7.4, but I have the same issue. The module installation seems to work fine, but when I go to a page with 2sxc on it ...