3,959 questions
Best practices
0
votes
4
replies
104
views
Best way to keep content types synced across multiple portals
I'm creating a 2sxc app that needs to be used across several portals. I was looking at this tutorial on how to create ghost content types, but it seems to be out of date. What's the best way to ...
Score of 0
1 answer
85 views
Validate and decrypt a JWE id_token with JwtSecurityTokenHandler ValidateToken with .NET Framework DotnetNuke
From the France Connect Plus /token endpoint for OpenID Connect, I get a JWE id_token that I must decrypt and validate, however it fails with
Microsoft.IdentityModel.Tokens....
Score of 3
1 answer
129 views
Decrypt JWE from OpenID Connect /userinfo endpoint .NET framework
I'm receiving a JWE from the /userinfo endpoint from France Connect Plus.
The JWE is encrypted with a public I send to France Connect Plus, and I use my private key to decrypt it.
var jwkJson = //...
Score of 1
1 answer
90 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 ...
Score of 0
1 answer
47 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 ...
Score of 1
1 answer
87 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 ...
Score of 0
2 answers
153 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 ...
Score of -1
1 answer
35 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 ...
Score of 0
1 answer
55 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-...
Score of 0
0 answers
138 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 ...
Score of 0
0 answers
52 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? ...
Score of 0
1 answer
53 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 ...
Score of 0
1 answer
46 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” ...
Score of -1
3 answers
79 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....
Score of 0
2 answers
82 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 ...