@@ -378,7 +378,9 @@ private void Routine_ExistingSolution()
378378 {
379379 if ( chkUseExistingSolution . Checked )
380380 {
381- txtSolutionName . Visible = false ;
381+ txtSolutionFriendlyName . Visible = false ;
382+ //txtSolutionName.Visible = false;
383+ txtPublisherFriendlyName . Enabled = false ;
382384 txtPublisherUniqueName . Enabled = false ;
383385 txtPublisherPrefix . Enabled = false ;
384386 cboxSolutions . Visible = true ;
@@ -387,7 +389,9 @@ private void Routine_ExistingSolution()
387389 }
388390 else
389391 {
390- txtSolutionName . Visible = true ;
392+ txtSolutionFriendlyName . Visible = true ;
393+ //txtSolutionName.Visible = true;
394+ txtPublisherFriendlyName . Enabled = true ;
391395 txtPublisherUniqueName . Enabled = true ;
392396 txtPublisherPrefix . Enabled = true ;
393397 cboxSolutions . Visible = false ;
@@ -1422,7 +1426,7 @@ private void LoadSolutions()
14221426 {
14231427 var start = DateTime . Now ;
14241428
1425- args . Result = CDSHelper . RetrieveSolutions ( Service ) ;
1429+ args . Result = DataverseHelper . RetrieveSolutions ( Service ) ;
14261430
14271431 var end = DateTime . Now ;
14281432 var duration = end - start ;
@@ -1472,7 +1476,7 @@ private void ExportAndUnpackSolutions(string solutionName, string exportToPath)
14721476 {
14731477 var start = DateTime . Now ;
14741478
1475- args . Result = CDSHelper . ExportSolution ( Service , solutionName ) ;
1479+ args . Result = DataverseHelper . ExportSolution ( Service , solutionName ) ;
14761480
14771481 var end = DateTime . Now ;
14781482 var duration = end - start ;
@@ -2313,10 +2317,12 @@ private void cboxSolutions_SelectedIndexChanged(object sender, EventArgs e)
23132317 {
23142318 SealedClasses . SolutionDetails selectedSolution = ( SealedClasses . SolutionDetails ) cboxSolutions . SelectedItem ;
23152319
2320+ txtSolutionName . Text = selectedSolution . MetaData . GetAttributeValue < string > ( "uniquename" ) ;
2321+ txtSolutionFriendlyName . Text = selectedSolution . MetaData . GetAttributeValue < string > ( "friendlyname" ) ;
2322+ txtPublisherUniqueName . Text = ( selectedSolution . MetaData . GetAttributeValue < AliasedValue > ( "pub.uniquename" ) ) . Value . ToString ( ) ;
2323+ txtPublisherFriendlyName . Text = ( selectedSolution . MetaData . GetAttributeValue < AliasedValue > ( "pub.friendlyname" ) ) . Value . ToString ( ) ;
23162324 txtPublisherPrefix . Text = ( selectedSolution . MetaData . GetAttributeValue < AliasedValue > ( "pub.customizationprefix" ) ) . Value . ToString ( ) ;
2317- txtPublisherUniqueName . Text = selectedSolution . MetaData . GetAttributeValue < EntityReference > ( "publisherid" ) . Name ;
23182325 txtSolutionVersion . Text = selectedSolution . MetaData . GetAttributeValue < string > ( "version" ) ;
2319- txtSolutionName . Text = selectedSolution . MetaData . GetAttributeValue < string > ( "uniquename" ) ;
23202326 }
23212327
23222328 private void MainPluginControl_OnCloseTool ( object sender , EventArgs e )
0 commit comments