Skip to content

txt2al - File naming suggestion (type subfolder, strip spaces and object id) #167

@fvet

Description

@fvet

When exporting a page object (51002 - My Page Card) and using the txt2al converter, an .al file with name 'Page 51002 - My Page Card' is created. When building my project, errors are shown in the output console, with the possibility to 'Ctrl+Click to follow link'. However, since the file name contains spaces, the hyperlink does not seem to work

s:\Documents\user\New Dev Environment\Samples\Project\Page 51002 - My Page Card.al(342,39): error AL0196: .......

Would it be possible to delete spaces when building the file names?

Looking at the 'GetAddressService' sample, it might be even a better idea to use the 'Object Type' as subfolder (Codeunits, Pages, Tables, ...), save the object in the related subfolder, strip spaces from object name and no longer include the object ID...

So s:\Documents\user\New Dev Environment\Samples\Project\Page 51002 - My Page Card.al could have been saved as s:\Documents\user\New Dev Environment\Samples\Project\Pages\MyPageCard.al

Metadata

Metadata

Assignees

Labels

enhancementThis is an enhancement suggestion to existing functionalityexternalThis issue depends on an external component or system

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions