Skip to content

Commit

Permalink
Moving Helpers to submodule https://github.com/rappen/Rappen.XTB.Helper
Browse files Browse the repository at this point in the history
  • Loading branch information
rappen committed Dec 13, 2020
1 parent 4f7844d commit 0f1ab6f
Show file tree
Hide file tree
Showing 8 changed files with 101 additions and 128 deletions.
25 changes: 0 additions & 25 deletions BulkDataUpdater/AppCode/EntityItem.cs

This file was deleted.

25 changes: 0 additions & 25 deletions BulkDataUpdater/AppCode/OptionsetItem.cs

This file was deleted.

20 changes: 17 additions & 3 deletions BulkDataUpdater/BDU.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 13 additions & 14 deletions BulkDataUpdater/BDU.cs
Original file line number Diff line number Diff line change
Expand Up @@ -889,20 +889,7 @@ private void btnLookupValue_Click(object sender, EventArgs e)

private void btnCalcHelp_Click(object sender, EventArgs e)
{
MessageBox.Show(@"You must make sure attribute type work with the calculation you are composing.
Value from other attribute:
{{logicalname}}
May also lookup related information from M:1 relationships:
{{lookupfield.parentattribute}}
Enumeration:
#:n:format
Where n is start number of the sequence, and format standard C# formatting.
Start number and format may be omitted.
Plain text, value from other attribute, and enumeration may be combined.", "Value calulation help", MessageBoxButtons.OK, MessageBoxIcon.Information);
Process.Start("https://jonasr.app/bdu/#calc");
}

public void EndSection()
Expand All @@ -924,5 +911,17 @@ public void StartSection(string name = null)
{
LogInfo($"----> {name}");
}

private void btnCalcPreview_Click(object sender, EventArgs e)
{
var record = crmGridView1.SelectedCellRecords.FirstOrDefault();
if (record == null)
{
MessageBox.Show("Please select a record to the left to see preview of calculation.", "Calculation Preview", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
return;
}
var preview = record.Populate(bag, txtValueCalc.Text);
MessageBox.Show($"Preview of calculation:\n{preview}", "Calculation Preview", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
}
}
}
104 changes: 52 additions & 52 deletions BulkDataUpdater/BDU.resx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
AAEAA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Fw5aySbCh3OavMhb7GycN9X74hrJzyR54rDNrJruEstViakm
Ygiz5PEe3aNJ042sIFyfEoTjCVbUe5qcC0T2M0PqqCphPLX4EypplmiRdG5y4likBy0xYSMvwwpezyTn
lBHemDKG6LycPJaIlLwicnGbpv29nJcV574ifongPhJPqKuvo+zUX2/OhDTK3Dta5I27lqhTqktG9YIP
ca9MCTWgxhMrCDamlBOZRAjRU/urb5TCEQRHlzLCEKJusH5EJ3lH9CHUrmGE+g9iMOFNqOe9hSJRo2EA
oRrLfPdZlxD5H0TvzmkKQX4wAAAAAElFTkSuQmCC
</value>
</data>
<data name="tsbOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAX7SURBVEhLlVULTJNXFAYZ6xwMt+E04nxkgylLnDxihghi
UDEZuIjOCNOAjKlMZC0CRhnbn+CMgAMrCp1KEIQAQgdkvF8Feb+hWpB3W8qr5Sl1OrfZs3MuM4vZNHqS
L397/nu/8/ru/fWeZ5cuFfKiosrjzp0rvsNxv0gWLzY1QzeP3oWEZDn6+yeG29t7kO91hD75X8kiI6ss
UlPbYG7uEeTkSMHdXRCNbvPg4EyrsDDxjFjcDnx+8rira7AX+pcgFtG+lzHKRj8sLHddWlobTE39BqOj
88BxJb8HBqZLg4MzJpqbh6GvbxoDd4KrqyAN19sjjGjzcy02ttM5IqK2MTy8OJrPT/o8NDTn2q1b7aDR
PICRkfswPj4PSuUsEk9BT48GZDINJCbWwsaNO5NxuwfCFMGSQzxrQmHN6sjIUo1Go4WOjhHIyuqE2toh
mJl5BHfuTEBFhRwqK+VQVUXPIXynhLt31ZCS0gAuLvwqOzuPiAMHokSensKsNWs+XYuUNKt/A3Fc4RfF
xV2g1T6G6emHDGq1FsrKBqCzcxwUihkY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34yB74cSJZNT8rxhgHMlVLIhAUA7r1rnmI40rgoj/e6Oam9uudHQMbjx58ibrpb39N81mZg5ZW7cG
asrLx5gEBYIyumt0jo4haien4FmxeAhv3l6WDAYoQprDiGWM8H/MwNBw2Sc2Nl+mLl++/mf8n4AIs7E5
lH3jRivTt4/PFdiwYZ8E/el8vvFFKysvub9/MlhZ+U4bG69KRP8LA1BZixEWiN2IHQjzTZt8fggNzYTT
p0WACsFrYwUpJBhhx+cb7ly7dptQX/+NePxPg3VAGCFeaHSP0zeWFr62erX9B1u2fNtvaekzYGHhUoo+
IiOFGP+zhhLajtiIeAfx0t/mp0YBP0aQrunw0F3/PoKIqGoDBAV69iv2Cva0dXQ70smkHhPpS5ie3t/3
zv6FarYJrAAAAABJRU5ErkJggg==
</value>
</data>
<data name="tslAbout.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
Expand Down
3 changes: 1 addition & 2 deletions BulkDataUpdater/BulkDataUpdater.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,6 @@
<Compile Include="AppCode\BDUAssign.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="AppCode\EntityItem.cs" />
<Compile Include="AppCode\OptionsetItem.cs" />
<Compile Include="AppCode\ViewItem.cs" />
<Compile Include="AppCode\BulkActionItem.cs" />
<Compile Include="AppCode\BDUDelete.cs">
Expand Down Expand Up @@ -236,6 +234,7 @@
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="Settings.cs" />
<Compile Include="XrmToolBoxToolIds.cs" />
</ItemGroup>
<ItemGroup>
<None Include="app.config">
Expand Down
9 changes: 2 additions & 7 deletions BulkDataUpdater/PluginDescription.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,8 @@
ExportMetadata("SecondaryFontColor", "#0000FF")]
public class BulkDataUpdaterTool : PluginBase
{
#region Public Methods
public override IXrmToolBoxPluginControl GetControl() => new BulkDataUpdater();

public override IXrmToolBoxPluginControl GetControl()
{
return new BulkDataUpdater();
}

#endregion Public Methods
//public override Guid GetId() => XrmToolBoxToolIds.BulkDataUpdater;
}
}
16 changes: 16 additions & 0 deletions BulkDataUpdater/XrmToolBoxToolIds.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using System;

namespace XrmToolBox.Constants
{
// Guids of tools, to be used when referencing tool A from tool B in integration scenarios.
// Feel free to submit your own tool ids here, to help grow integration possibilities!
//
// Original file found at: https://gist.github.com/rappen/eeb2a9633de39fe5a0bfcf74643d777d

public static class XrmToolBoxToolIds
{
public static Guid FetchXMLBuilder = Guid.Parse("46657463-6858-4D4C-2042-75696C646572");
public static Guid BulkDataUpdater = Guid.Parse("42756C6B-2044-6174-6120-557064617465");
public static Guid PluginTraceViewer = Guid.Parse("506C7567-696E-2054-7261-636520566965");
}
}

0 comments on commit 0f1ab6f

Please sign in to comment.