what can an editor do with the "none" option for a menu item in the menu editor? - hippocms

We are exploring the new menu editor that exists now in the channel manager of hippo version 7.9.1. We found the documentation at [1]. But we still have a question. A menu item can have an internal or external link, or have destination "none". We see that a hst:sitemenuitem is created with the property hst:repobased = false. What is the purpose of this destination type?
http://www.onehippo.org/library/concepts/component-development/enable-edit-menu-button-that-opens-menu-editor.html

The property hst:repobased is 'false' by default.
Menu items of type 'none' won't have a backing link. Such items can be useful in designs where some items are only used to visually group sub-items. For example, a site menu that is rendered as dropdowns (possibly nested) that expand on hover. The top-level items could have no backing page, but only serve as area that trigger the expansion of the sub-menu items.

Related

Hide/Unhide custom menu item under standard menu item based on transactions

I have a custom menu item created under system menu in the menu bar. I want the menu item to be displayed only in case of certain transactions.
The transactions are configured for my business scenario.
I tried the following:
1) Assigning a switch to the custom menu item under system menu in menu painter would hide/unhide it across all the transactions depending on whether the switch is active or not.
Also checked whether switch can be assigned set of transactions rather than a package. No luck.
2) Checked whether the code is hitting the statement set pf status. It's just hitting the set pf status for the other menu items like Goto and Edit. So don't know how exactly the system and help menu options are being populated. If I know exactly the working that is the common logic executed here, then I can possibly populate the custom menu item by reading the configuration of transactions.
3) Transaction variants is another option. But here too we do not have access to system and help menu options. Plus if it works, it would be not a generic solution as I will have to create transaction variant for all the transactions.

why my field field does not want to appear in my link menu?

I would like to add an image type field (QR code precisely) in my edit link menu.
For this: I added and installed the module: Menu Item Extras (which allows to do that).
however, when I create my field in manage field, it does not want to be displayed.
In "manage display", it is not disabled.
what did I forget?
her my field created
manage form display

Assign value to property node

I starting using LabVIEW about 1 week ago. In a tutorial I watched this picture
I am wondering how can I assign the value "Disabled and Grayed out" to disabled property value of the button?
There are a couple of ways to create property nodes in LabVIEW. This method is the quickest and easiest and matches your picture.
Add the button to your front panel.
Right-Click and go to Create >> Property Node >> Disabled in the menus. Click on this.
LabVIEW will automatically switch to the block diagram and let you drop the property node.
By default it is a read node. Right-Click on the block where it says "Disabled" and select Change To Write in the menu (There is also Change All To Write if you have multiple properties.
Hover over the input so you get the wiring symbol. Right-Click and select Create Constant to create the correct Enum constant to write to it.
That is the basics and the way most people start out - a couple of extra tips:
The node is expandable hover at the bottom and you get the resize block, drag this down and you can set more than one property on the same node. These are set in order from top to bottom.
Left click on each property to change which property it is.
Right-Click and go to Link To... in the menu to change which button it applies to.

How to Check Context Menu Dropdown Items, VB.NET?

MY application has a context menu that appears when the user right-clicks a form. The context menu is generated on each click since the items depend on various application variables.
Each context menu contains a number of items and several DropDown sub-menus.
As the context menu is created, I can set items on the primary menu as checked as follows:
MenuItemX.Checked = True
However, I cannot find a way to make items in the Dropdown menu checked. I can create these items OK, but the line of code above does not allow me to set them as checked.
Is it possible to have items within a Dropdown sub-menu checked, and to set this property at run-time?
Can anyone provide an example of how to do this?

Assigning a custom workflow to a work item type in Rational Team Concert

I'm in the process of customizing Rational Team Concert to include a custom work item type. As part of the testing of the work item type as I created it I populated a few of the custom work items with data. As I enhanced the custom work item type and added additional attributes I was able to use the "Check attributes usages in repository" from the "Types and Attributes" to ensure that the new attributes were propagated to my test work items.
Now I've gotten to the point where I need to create a custom workflow for this work item type. I've defined the workflow and and assigned it to the work item type, but my existing test work items can't seem to use it. Clicking on the "Check workflow usages in repository" link says "There are 9 work items in the repository referencing workflow states or resolutions that are not present in the bound workflow. Do you want to show these items in the Work Items view?".
The workitem view then just says that status = 1 for the test work items.
If I select a work to open in the rich client editor all of the process elements are inactive. If I open it in the web editor, it says that the status is "1", as shown below:
Is there any way to fix this and change the workflow of existing work items? I should add that new work items work just fine, but I'm worried about what might happen if I need to update the process again in the future.
In the context of work item customization, you have to manually sync existing work item attributes with the most recent version of the PA in order to take your changes into account.
The steps are detailed here in the manual page "Defining work item types and attributes":
(bottom of the page)
To manually update existing work items with new or modified custom attributes:
Run a query so that the query results contain all the work items that you want to update.
Note: Do not select any relationships to be shown in the query results.
If relationships are shown, the Type icon is not displayed and you cannot complete these steps.
To clear all relationships shown, in the Work Items view menu, select Relationships, click Deselect all, and then click OK.
In the Work Items view, select the work items that you want to modify.
In the row of one of the selected work items, right-click the Type icon and select Synchronize attributes.
Thanks.
Eric.