View Issue Details

IDProjectCategoryView StatusLast Update
0005352NoesisGUIStudiopublic2026-12-02 17:09
Reporterdstewart Assigned To 
PrioritynormalSeverityminor 
Status newResolutionopen 
Product Version4.0 
Summary0005352: Template Custom Dynamic Properties Can Be Created As Multiple Words With Spaces
Description

Currently, the back-end of our Properties have a 'no white space' policy applied, which means that under the hood, all Properties are recorded as an uninterrupted string.

However, in our support of Custom Dynamic Properties for Templates, where an end-user is able to hand-write and create their own Template Properties, we don't have a restriction on allowed characters in place.

This allows an end-user to generate a Property Name which can poison the XAML.


Repro Steps:

1) Create a Studio Project featuring a MainPage.xaml

2) Introduce a Button Element to the root Grid, and create a new Template for it.
This will open the Button's Template in the inline Template Editor.

3) With the Template open, select the Template's root, and in its Properties Panel, create a new 'Custom Property' named 'My First Property' (with spaces between each word), and set its Type to 'String'.

4) Exit the Template by clicking on the 'Home' icon in the Template Editor's Breadcrumb, returning to the Page.

5) Select the Button, and observe how a new 'My First Property' Property has appeared in its Properties Panel.

6) Fill out the button's 'My First Property' Property with a value of 'My First Value'.

Observe how an 'Invalid XAML' error appears. (See attached image)

7) Open the document in VSCode.
Observe how the Custom Property has been incorrectly parsed in the XAML.

Expected Results: Safeguards exist from the user generating invalid XAML from operations performed in Studio.
Expected Results: TBD on what that safeguard looks like: do we implement a system that allows a user to input a name with Spaces, and we handle that better...or do we restrict a user from even typing a space...

PlatformAny

Activities

dstewart

dstewart

2026-12-02 17:09

developer   ~0012958

NameError.jpg (113,237 bytes)   
NameError.jpg (113,237 bytes)   

Issue History

Date Modified Username Field Change
2026-12-02 17:09 dstewart New Issue
2026-12-02 17:09 dstewart Note Added: 0012958
2026-12-02 17:09 dstewart File Added: NameError.jpg