Fragments

Introduction

What is a fragment?

Types of fragments

Pushed Fragments

Pushed fragments are not removable or editable by the user. They are "pushed" when you use pushfragment in 2.3.x and pubfragments in 2.4.

The delete button will always be disabled for pushed fragments since they will be added to a user's layout no matter what. The only way to remove from a users layout is remove that user's permission to view the fragment, make the fragment pulled or delete the fragment.

Pulled Fragments

...TODO...

Managing Fragments

Beginning with the next uPortal release pushed fragments created by the pushfragment utility can be managed by admin in the fragment manager.

You may add fragments by editing the file /properties/al/fragments.xml

Priorities

Fragments are documented in uPortal_Documentation_Chapter_2.pdf .

Query that lists fragments with their priorities:

select f.fragment_id,f.node_id,f.name,f.chan_id,f.type ,r.restriction_value from UP_FRAGMENT_RESTRICTIONS r, UP_FRAGMENTS f 
  where r.fragment_id=f.fragment_id and r.restriction_type=1 and f.node_id=r.node_id and f.node_id=1