Skip to content

ISHCMCUILResourceGroup does not do what it needs to do #5

@snijderr

Description

@snijderr

When executing the code block specific below from within ISHDeploy 12.0.0 the expected behavior is not performed.

#region register extensions
$extensionRelativePaths=@(
    "PDMIntegration\Extensions\PDMIntegration.js"
)

Set-ISHCMCUILResourceGroup -ISHDeployment $deploymentName -Path $extensionRelativePaths
#endregion

The documentation of both the cmdlet as well as the tutorial to extend the webclient with specific buttons state that the command should register the extensions. However after having executed this command, the expected (at least documented file "~\Author\ASP\UI\Extensions_config.xml") is not updated. Instead my environment had a new subfolder in the UI location called "Extensions" and this new folder contains a file called "_config.xml".

[...] Documentation snippet from the cmdlet documentation

The Set-ISHCMCUILResourceGroup cmdlet sets resource group in "~\Author\ASP\UI\Extensions_config.xml"

[...] End of documentation snippet

Manually correcting the incorrect filename and location does not help in resolving the issue that the new button which I added using the code block below, does not trigger the javascript function.

#region Add button to the Language buttonbar for library objects 
$hash=@{
    Name="PDMIntegration"
    Icon="Custom/PDMIntegration/Images/import_library_topics_16_colors.png"
    JSFunction="RequestContentFromServiceBus"
    ISHType="ISHLibrary"	
}

Set-ISHUIButtonBarItem -ISHDeployment $deploymentName @hash -Language
#endregion

Could you please verify and provide feedback on what I did incorrect or whether the issue is resolved in a future update.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions