Submitted by carloscadu on 2020/08/07 06:44
 Hi,
 
I'd appreciate your help.
In the same grid I created an item child of multiple parents, following this thread: "Multiple parents - ways to assign" (https://infoqubeim.com/drupal5/?q=node/4063).
I couldn't find out how to reverse the process.
I mean, how to remove the item from certain parents without creating duplicates, leaving it as child of a unique parent again? 
 
Thank you,
Carlos

Comments

There are mutliple ways to do this.  All of these will remove a child under a parent without affecting other occurrences of the same item.
 
Method #1
1) Select the subitem you want to remove
2) Ctrl-E>Remove from this parent only
 
Method #2
1) Move subitem out from underneath the parent (select>ctrl left arrow)
2) When the item no longer has a parent, uncheck its field assignment to the grid.
3) Refresh view.  Item will be removed from the grid.
 
Method #3
1) Move subitem you want removed from parent #1 to parent #2 that has the same subitem you want to keep.
2) The two subitems will merge into one, removing the first occurrence and keeping the second.
 
There are other ways.  #1 is simplest but sometimes makes me nervous about the item being deleted altogether so I often use #3, which is more convoluted.
 
Any time two occurrences of the same item end up on the same level in an outline, they wiil automatically merge into one.
 
Wayne
 

carloscadu

2020/08/07 19:39

In reply to by WayneK

Hi Wayne and Pierre,
 
Many thanks for the directions!
 
I could perform all methods, but this:
 
 
 [quote=WayneK]
 
Method #1
1) Select the subitem you want to remove
2) Ctrl-E>Remove from this parent only
 
 
[/quote]
 
When I press Ctrl-E the "item editor" dialog pops-up and I couldn't identify there anything related to remove the parent.
Also I looked for a command with similar name in the "Customize>Commands" list, but nothing related as well.
 
Could you please provide further information about this method?
 
Ps. I searched the InfoQube "official" documentation and couldn't find so clear explanation as yours. Maybe I miss the point. Otherwise, I'd suggest to append this content in the documentation.
 
Cheers,
Carlos

Tom

2020/08/08 01:23

In reply to by carloscadu

Ctrl+e used be the delete-etc. shortcut. Is now Ctrl+d I think (not on pc now so cannot check).

WayneK

2020/08/08 03:10

In reply to by carloscadu

I am not using the latest update so the shortcut may have changed
 
1) To find the current shortcut for "Delete Item":
 
Tools>Keyboard shortcuts>View all shortcuts [look for command "Delete Item"]
 
2) To change the shortcut for Delete Item:
 
Tools>Keyboard Shortcuts>Customize [follow customization steps]
 
3) To access Delete Item command without using shortcuts:
 
Select item>right-click>delete item>Remove from this parent only
 
Wayne
 
 

carloscadu

2020/08/08 19:20

In reply to by WayneK

 Hi Wayne,
 
Many thanks for the clarification.
I could perform the procedure.
The current delete shortcut is Ctrl+D.
I found that the easiest way to achieve the task.
 
Cheers,
Carlos
 

Hi Carlos,
 
To Wayne's excellent reply, I'd add this one:
  • In the Properties pane, Parents section, right-click on the parent and select Delete Parent Link
 
Pierre_Admin
IQ Designer
 

[quote=carloscadu]
I mean, how to remove the item from certain parents without creating duplicates, leaving it as child of a unique parent again? 
[/quote]
 
A bit late as a reply, but FYI, the Properties pane has a command to do just that:
  • Right-click on a parent and select Delete All Other Parent Links
 
Pierre_Admin
IQ Designer