Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Indicate the "App Name" and "Publisher" in the field list. #37

Merged
merged 1 commit into from
Feb 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions Source/Pages/Pag81005.DETSelectFields.al
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@ page 81005 "DET Select Fields"
Caption = 'Name';
ToolTip = 'Specifies the names of the available Windows languages.';
}
field("App Name"; Rec."App Name")
{
ToolTip = 'Specifies the name of the Extension that this field belongs to.';
}
field("App Publisher"; Rec."App Publisher")
{
ToolTip = 'Specifies the publisher of the Extension that this field belongs to.';
}
}
}
}
Expand Down Expand Up @@ -121,6 +129,7 @@ page 81005 "DET Select Fields"
Rec.IsPartOfPrimaryKey := FieldRec.IsPartOfPrimaryKey;
Rec.Included := FieldRec.IsPartOfPrimaryKey or not FieldRec2.IsEmpty();
Rec.Name := FieldRec."Field Caption";
Rec."App Package ID" := FieldRec."App Package ID";
Rec.Insert();
until FieldRec.Next() = 0;

Expand Down
19 changes: 19 additions & 0 deletions Source/Tables/Tab81001.DETField.al
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,25 @@ table 81001 "DET Field"
Caption = 'IsPartOfPrimaryKey';
DataClassification = CustomerContent;
}
field(60; "App Package ID"; Guid)
{
Caption = 'App Package ID';
}

field(1000; "App Name"; Text[250])
{
Caption = 'App Name';
CalcFormula = lookup("NAV App Installed App".Name where("Package ID" = field("App Package ID")));
FieldClass = FlowField;
Editable = false;
}
field(1001; "App Publisher"; Text[250])
{
Caption = 'Publisher';
CalcFormula = lookup("NAV App Installed App".Publisher where("Package ID" = field("App Package ID")));
FieldClass = FlowField;
Editable = false;
}
}
keys
{
Expand Down
25 changes: 25 additions & 0 deletions Source/Translations/Data Editor Tool.g.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -2148,6 +2148,21 @@
<note from="Developer" annotates="general" priority="2"></note>
<note from="Xliff Generator" annotates="general" priority="3">Table DET Field - Property Caption</note>
</trans-unit>
<trans-unit id="Table 1032987457 - Field 1256520770 - Property 2879900210" size-unit="char" translate="yes" xml:space="preserve">
<source>App Name</source>
<note from="Developer" annotates="general" priority="2"></note>
<note from="Xliff Generator" annotates="general" priority="3">Table DET Field - Field App Name - Property Caption</note>
</trans-unit>
<trans-unit id="Table 1032987457 - Field 1367742458 - Property 2879900210" size-unit="char" translate="yes" xml:space="preserve">
<source>App Package ID</source>
<note from="Developer" annotates="general" priority="2"></note>
<note from="Xliff Generator" annotates="general" priority="3">Table DET Field - Field App Package ID - Property Caption</note>
</trans-unit>
<trans-unit id="Table 1032987457 - Field 1606374689 - Property 2879900210" size-unit="char" translate="yes" xml:space="preserve">
<source>Publisher</source>
<note from="Developer" annotates="general" priority="2"></note>
<note from="Xliff Generator" annotates="general" priority="3">Table DET Field - Field App Publisher - Property Caption</note>
</trans-unit>
<trans-unit id="Table 1032987457 - Field 4095765489 - Property 2879900210" size-unit="char" translate="yes" xml:space="preserve">
<source>Field Id</source>
<note from="Developer" annotates="general" priority="2"></note>
Expand Down Expand Up @@ -5043,6 +5058,16 @@
<note from="Developer" annotates="general" priority="2"></note>
<note from="Xliff Generator" annotates="general" priority="3">Page DET Select Fields - Property Caption</note>
</trans-unit>
<trans-unit id="Page 971391312 - Control 1256520770 - Property 1295455071" size-unit="char" translate="yes" xml:space="preserve">
<source>Specifies the name of the Extension that this field belongs to.</source>
<note from="Developer" annotates="general" priority="2"></note>
<note from="Xliff Generator" annotates="general" priority="3">Page DET Select Fields - Control App Name - Property ToolTip</note>
</trans-unit>
<trans-unit id="Page 971391312 - Control 1606374689 - Property 1295455071" size-unit="char" translate="yes" xml:space="preserve">
<source>Specifies the publisher of the Extension that this field belongs to.</source>
<note from="Developer" annotates="general" priority="2"></note>
<note from="Xliff Generator" annotates="general" priority="3">Page DET Select Fields - Control App Publisher - Property ToolTip</note>
</trans-unit>
<trans-unit id="Page 971391312 - Control 4095765489 - Property 1295455071" size-unit="char" translate="yes" xml:space="preserve">
<source>Specifies the value of the Field Id field.</source>
<note from="Developer" annotates="general" priority="2"></note>
Expand Down
Loading