Hello,
I am trying to receive the name of a local block by using this type of code in the controller of a panel that I am building in Backoffice.
blockName = _blockService.Get(blockId)?.Fields?.GetValue<string>(SystemFieldDefinitionConstants.Name, CultureInfo.CurrentUICulture)
I only receive the name of the global blocks like this.
The difference is that the name of the local block is set in Administration.resx files and the name of the global block is set in Backoffice in a field on the template. Is that why the code it does not work?
How do I reach the name of a loca block?
Litium version: [7.6.2]