3,961 questions
1
vote
1
answer
65
views
How to fix 2sxc (v20.0.8) AppCode HotBuild compile error — AppCode.dll not generated
I'm having an issue when creating a new view in a 2sxc app (version 20.0.8).
Whenever 2sxc tries to generate the datamodels / compile the AppCode, the HotBuild process fails.
It looks like 2sxc is not ...
0
votes
1
answer
43
views
Update context.form.runFormulas() from V1 to V2 formulas
2sxc v20 deprecates form.runFormulas() as stated in this alert:
"form.runFormulas() is being deprecated and will stop working end of 2024. Use V2 formulas and return the promise. Formulas will ...
1
vote
1
answer
64
views
DNN UPGRADE from 9.7.4 to 9.13.9 fails at DnnPlugins_09.13.09_Install.zip
I made a local copy of a live remote dnn site that is version 9.7.4. I am testing an upgrade to 9.13.9 before I attempt it on the live server.
When I test running the upgrade locally I get the ...
0
votes
2
answers
130
views
Why could dependency injection of the `IServiceProvider` break in a DNN website and how to fix it?
I have a website with DNN v 9.10.2. Some time ago a custom sitemap provider that inherits DNN's DotNetNuke.Services.Sitemap.SitemapProvider class. For some crutial logic we need to use a ...
-1
votes
1
answer
31
views
Sort Items doesn't seem to pick up items within list 2sxc
I have just upgraded 2sxc to the latest version (19.3.3), and have lost the ability to reorder items within the toolbar.
See below:
Redorder list toolbar item symbol
Once clicked I am presented with ...
0
votes
1
answer
46
views
2sxc - how to use prefill in edit form
I'm trying to add an ephemeral field to pass in a prefill value and conditionally show or hide another field, as demonstrated here by Aaron Lopez
https://wolfxmachina.com/blog/category/video/hide-and-...
0
votes
0
answers
112
views
Stored procedures xp_dirtree, xp_fileexist, and xp_regread are not available on Azure SQL Server and getting server exceptions
I'm running my DNN v9.8 site on Azure Server and getting server exceptions for a few stored procedures that are not available.
The stored procedures xp_dirtree, xp_fileexist, and xp_regread are ...
0
votes
0
answers
33
views
Indexing content-in-content in 2sxc not working
We recently upgraded to 2sxc 19.3.1 and placed some apps in a accordion app.
It seems the DNN indexer picks up the title of the accordion app, but not the apps inside the accordion. Is that possible? ...
0
votes
1
answer
47
views
2sxc HotBuild Access to the path 'C:\WINDOWS\TEMP\**\*.tmp' is denied
Summary
2sxc HotBuild feature only allowing unregistered users to compile app code if an initial code compilation has been triggered by a registered user. Otherwise an error is thrown.
Description
I ...
0
votes
1
answer
43
views
2sxc v.19.3.0 VisualQuery multiple filters issue
It seems like there is an issue with Relationship Filter. Testing on DNN 09.13.04 and 2sxc 19.3.0.
There is ContentType “Publications” with 3 fields:
Title (string);
Theme (relationship to “Themes” ...
0
votes
0
answers
19
views
DNN 9.6.1.0: DotNetNuke.Security.Membership.MembershipProvider.Instance() == null
We have a service/console app that I am trying to use UserController.GetUserById(...) but it keeps failing because DotNetNuke.Security.Membership.MembershipProvider.Instance() == null. What ...
0
votes
0
answers
59
views
"Value Filter" - possible issue when QueryString parameter doesn't exist
We have a query with 2 filters: by Tags (Relationship Filter) and by "Name" (screenshot is below):
When both filters are selected or filter by "Name" is selected, then all works ...
-1
votes
3
answers
70
views
2SXC Image Format Not Updating
Problem:
I'm using the @Kit.Image.Picture() method to render an image with specific settings. My goal is to force the image to be in the WebP format. Here’s the code snippet I’m using:
@Kit.Image....
0
votes
2
answers
76
views
How to get the Razor Filename for a 2sxc View
In ICmsView, MyView provides a few things like:
MyView.Name: FCTRL - Dark Card w Tawk JS API Experiments
MyView.Path: /Portals/0/2sxc/Content/FCTRL
What is weird is that I need the template ...
1
vote
1
answer
30
views
Add custom options to field-string-dropdown
I'm using DNN 9.13 and 2sxc 17.
I'm trying to create a custom dropdown field in my Content Type that will use code to dynamically add this year and next year to the text options. So the list will ...
0
votes
1
answer
41
views
DNN edit mode fails after upgrading 2sxc to 17.9 / 18.6.1 (TypeLoadException in ToSic.Eav.Core) [closed]
I have a DNN installation (version 9.11.2). After upgrading 2sxc from 17.8 to 17.9 and later to 18.6.1, the edit mode no longer works. Instead, I immediately get an error in the logs
System....
0
votes
0
answers
49
views
Email form getting randomly submitted by some weird Cloudflare caching?
I have a bizarre situation that my team and I haven't been able to put our finger on. I have a DNN-based website. I have a custom module that acts as a simple contact form. This contact form module ...
0
votes
1
answer
64
views
Installing 2sxc on DNN downgrade from Evoq Content
As the title says, we have a DNN Evoq Content site that we downgraded to Platform. We want to rebuild the Evoq Content Visualizer in 2sxc apps. Installing 2sxc wasn't the issue. When I drop the app ...
0
votes
1
answer
55
views
DNN CK Editor Preview not loading CSS path
I'm trying to work on a way to load CSS path with in the DNN CK Editor v4.18.0 preview mode, here are some images below.
Now the using the Custom Editor Options I've been able to use a common.css ...
0
votes
2
answers
53
views
Query in 2sxc seems not to work after upgrading to 18.0.0
I recently upgraded 2sxc to 18.0.0 on an installation.
And in some apps we are using a database query (sql data block in the query designer).
For some reason when I test it, it says:
{
"Default&...
0
votes
1
answer
63
views
.js file not allowed to upload in the DNN
I've been trying to upload .js file extension in DNN v09.13.04 in the {dnnwebsite}/admin/File-Management path it shows me this error.
Now what I've tried is in the Settings > Site Setting side bar ...
0
votes
0
answers
27
views
Examples of bans 2sxc
On the 2sxc portal, I found the Swiper app that I can use to include on my website, however I would like more varieties of banners. for me to install and apply on my website. Where can I find more ...
0
votes
1
answer
36
views
How can I use queries in 2sxc typedcode
So I am trying to use the fancy new TypedCode stuff in 2sxc 18.
But I want to get some data from a query.
So where I first did something like:
var query = App.Query["EventDetailsByIds"]...
0
votes
0
answers
27
views
Error after copying template in 2sxc Coursesandevents app
When copying a template in the coursesandevents app of 2sxc. We are getting an error :
error CS0234: The type or namespace name 'Data' does not exist in the namespace 'AppCode' (are you missing an ...
0
votes
0
answers
39
views
Breakpoint of DNN source code not hitting
I've got the source code of DNN 09.13.04 now I'm trying to debug DNN and want to debug the part where HTML editor stores its text now the way I do it is Attach to process --> search(w3wp.exe) and ...
0
votes
1
answer
61
views
2sxc new content type field won't show in razor template
I'm using the 2sx App Events, Courses and Registration version 6.17.1. I'd like to extend the app by adding more fields to the Event content type. I'm running DNN 9.13.04 and 2sxc 17.09.00.
I added ...
0
votes
1
answer
79
views
Create site not working for Domain Based in DNN
I'm trying to create a site using Add New Site, in the DNN website. Whenever I create a Domain based site this page shows below.
I've tried various aliases but none work
When using Directory Based ...
0
votes
0
answers
30
views
How can I allow an anonymous user to upload a file in [2sxc]
I am running Mobius Forms Builder v6, on 2sxc 17.9.0 in dnn 9.11.2
I have a simple form with some text fields and a file upload control.
I have activated the features:
Public Upload of Files
...
0
votes
1
answer
1k
views
ag-grid-angular error: TypeError: Cannot read properties of undefined (reading 'addEventListener')
I am using Angular 18.2.0 & ag-grid-angular/ag-grid-community 32.1.0. If I run using "ng serve" the ag-grid works. But as soon as I put it on an existing page, the 1st error is "...
0
votes
1
answer
491
views
the system cannot find the path specified. (Exception from HRESULT: 0x80070003) for DNN module
Here is a screenshot below which shows I want to create a DAL2 MVC Module
But after clicking ok on blue screen it shows me this error below the system cannot find the path specified. (Exception from ...
0
votes
1
answer
37
views
2sxc new entity: retrieve new entity from modal dialog
In 2sxc app v17.x, From my view Im using js call $2sxc.cms.run('new',...) to create new contenttype item, after save and close dialog, how i can get new created entityId after modal dialog closed.
I ...
0
votes
1
answer
61
views
DNN Razor Host Module - How to use a querystring parameter as a variable to get data related to a specific UserID
I need a syntax help to write the following code to use in Host Razor module on a dnn site version 9.13.
I need to use a querystring parameter as a variable to get data related to a specific UserID.
@...
0
votes
3
answers
82
views
Accordion effect to show and hide texts - 2sxc
Is it possible to add accordion texts in the text editor below?
Accordion effect to show and hide texts
My idea is to insert several titles and in these titles I insert the contents relating to the ...
0
votes
1
answer
54
views
How can I edit 2sxc entity structure, like add property, change property type etc. programmatically via C# code?
I need to update entities programmatically via C# code. I have some code already that creates IApp object of the target 2sxc app. From there I've been reading data via appObject.Data["...
0
votes
1
answer
61
views
DNN Eventlog filling up with 2sxc errors after upgrade, what could cause this?
After upgrading to 2sxc 17.9 we see the Eventlog filling up with the following error:
AbsoluteURL:/api/2sxc/app/auto/query/System.EntityPicker/Default
DefaultDataProvider:DotNetNuke.Data....
1
vote
2
answers
89
views
2sxc - error in local installation (copy of live instance) something missing?
We have got a 'live' dnn 9.13.2 installation with 2sxc 17.9 which is working without problems. I made a copy of this installation to use as a local dev environment.
And when I try to login on this ...
0
votes
1
answer
52
views
Do I need to install C#8 to try out 2sxc Mobius Forms Builder?
I wanted to try out 2sxc Mobius Forms Builder on a test website (running DNN9.13.3).
Do I need to install the C# Roslyn complier to do this? Is this necessary any time 2sxc is installed?
After I ...
0
votes
1
answer
29
views
I get an error with when loading 2sxc 17.9 edit form?
Just installed 2sxc 17.9 on an DNN 9.11 and at first it seemed to work.
However when I try to edit, the popup won't open. When I look with F12, I get:
"
Failed to load module script: Expected a ...
1
vote
1
answer
60
views
Markup file slug in .NET
I am using Markdig nuget package right now to read my markup files and convert them to HTML
string content = File.ReadAllText(mdFilepath);
string? result = Markdown.ToHtml(content, pipeline);
But ...
0
votes
2
answers
107
views
2SXC - Inner Content Block Unique Identifier
In 2sxc, when embedding a separate app as inner content within a WYSIWYG Rich input, the rendered inner app's context returns the parent's ModuleID.
This can be demonstrated using 2sxc's Blog app when ...
0
votes
1
answer
39
views
2sxc ImageFlowModule - FATAL Exceptions
We have a site that's been running into a plethora of issues with the 2sxc module.
I am currently getting a lot of "Remote Host Closed the connection" stemming from the ToSic.Imageflow.Dnn....
0
votes
1
answer
118
views
Error with 2sxc apps on site since this morning
We've got a site running for some years, with 2sxc apps (content and other apps, like news, and some custom stuff). Since this morning we got this error saying:
"
Error: System.Exception: Data is ...
0
votes
1
answer
78
views
In 2sxc Strongly Typed, How Can I Get the Page or File ID from a Hyperlink Field as an Int?
Okay, so I am playing with the Strongly Typed stuff now. Having the whole shebang working all at once in VS Code with IntelliSense and being able to use both field names as properties as well as ....
1
vote
2
answers
67
views
In v17.3+, Is There a way to Get Typed from Outside a 2sxc App?
After making good progress adapting to Typed and recently Strongly Typed 2sxc on our in-development and production projects, I am returning to code we use a few times a year where we need access to ...
0
votes
1
answer
98
views
Gitlab CI fails because of compile warnings
I created a CI pipeline using Nuke that builds my project. On this stage the project throws some warnings that I'd like to ignore, but CI treats them as errors and fails. I want to suppress this ...
0
votes
2
answers
78
views
Totally lost with Mobius Forms v5 on DNN
I am failing to understand if:
The contents of the form are emailed out or not.
All I can get out and received via email are notifications of a submission.
What I am looking for is where to put a ...
1
vote
1
answer
39
views
Linq with strong typed data in 2sxc
This was a common use in dynamic code:
@foreach(var myData in AsList(App.Data["Data"]))
{
foreach(var x in AsList(myData.Specifications as object).Where(a => a.toApp)) { ... }
}
But ...
1
vote
0
answers
34
views
SearchBoost UrlFriendly Unwelcome Display
With our dotnetnuke site we have installed SearchBoost.
For the most part the searched results display fine except for many search queries that display the url of the result.
Bad URL displayed
https://...
0
votes
1
answer
139
views
Oqtane and Blazor-CMS on Windows using a remote PostgreSQL DB
I have downloaded the code for and launched in VS2022, the latest Oqtane 5.0.2 and in the interface of Oqtane, installed the 2SXC module trying to get to where I could run Blazor-cms.
Now, with Oqtane,...
0
votes
1
answer
52
views
DotNetNuke Journal Module - User Profile Layout Discrepancy Between English and Italian Versions
I'm encountering an issue with my DotNetNuke(Verison 9) website where the layout of the user profile differs between the English and Italian language versions. Specifically, when accessing the user ...