Removing a user interface element

You can remove default user elements from all or specified views.

Note: If you modify and apply this extension, you may notice changes that you didn't expect. As an alternative, you can remove a feature for a role.

The SampleExtensionExcludeNotifications.zip sample extension removes the Notifications button from the Navigation bar. The spec.json file is shown here.

{
	"name":"Sample_Exclude_Notifications",
	"schemaVersion": "1.0",
	"extensions": [
	{
		"perspective": "home",
		"comment": "This code will apply only to the HOME perspective.",
		"features": [{
			"id": "sample.home.exclude.notifications",
			"excludeItems":["com.ibm.bi.share.notifications"],
			"comment": "Above, EXCLUDEITEMS will remove the Notifications button from the
                      Nav Bar of the HOME perspective.",
			"comment": "EXCLUDEITEMS must be applied at the individual perspective level.
                     It can not be used globally via the COMMON perspective."
		}]
	}]}