AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск Все разделы прочитаны

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 07.08.2018, 19:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,459 / 846 (79) +++++++
Регистрация: 28.10.2006
d365technext: Label Extension D365FO
Источник: http://d365technext.blogspot.com/201...on-d365fo.html
==============

Label Extension D365FO



As We All know Label Extension is not available in D365FO with the same way we use to create form, Table and class Extension...


You can check the below screenshot Label extension option are gray/disable in menu.


What is the resolution?

There is way to create extension of Existing label files.
Add new label file like below image... In my demo I am Creating Extension of Sys Label file.
In Extension use Prefix of Existing Label File name then Add _Extension as Postfix



In my case file name was Sys_Extension. Now click on Add button and complete the wizard.



Select the Language is in use by Parent Label file and click on next ...



You can create new Label and override the existing one, For Demo purpose I have created Two Label @SYS456 which is New Label and the second I created @SYS12 which is already Exists in SYS Label File... We Created this one to override the existing Label.





Now I have create a menu Item and assign the @SYS456 Label to Menu Items...




To handle Override case, I have created class for the verification...

class SLD_DemoClass
{



public static void main(Args _args)
{

info(SysLabel::labelId2String2(literalstr('@SYS12'), 'en-US'));
info(SysLabel::labelId2String2(literalstr('@SYS456'), 'en-US'));
}

}






Источник: http://d365technext.blogspot.com/201...on-d365fo.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
d365technext: FormHasMethod extension in D365FO Blog bot DAX Blogs 0 03.08.2018 18:11
d365technext: Card Pattern in Grid D365FO & AX 7 Blog bot DAX Blogs 0 02.08.2018 11:11
d365technext: Private, Protected and Public attribute access in Class Extension Blog bot DAX Blogs 0 30.07.2018 20:13
stoneridgesoftware: Learn to Use a Label Creator Add-in Extension in Dynamics 365 for Finance & Operations Blog bot DAX Blogs 0 04.04.2018 01:13
emeadaxsupport: How label flushing works under the hood Blog bot DAX Blogs 0 17.08.2010 16:05
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 19:13.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.