Message Boards

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Visible to the creator only
Answer
10/5/12 7:28 AM
hello everyone

i am already build a portlet using xmlportlet and it work all good,
but i need some permission about the creator only can view the data that he create.
or everytimes he open the portlet the view only showing the data he create.
and all data visible the some group users
how i can implement this ide to portlet.


thank you for your attention.

Regards
Arif Rahman


_always Learning_
Attachments: build.xml (1.5k), kepegawaian.xml (41.1k)

RE: Visible to the creator only
Answer
10/5/12 10:28 PM as a reply to Arif rahman rahman.
Watch video tutorials:

http://www.xmlportletfactory.org/video-tutorials

There you will find the answer to your questions.

RE: Visible to the creator only
Answer
10/10/12 6:09 AM as a reply to Juan G..
where am i can put
<restrictedBy>
on master and detail portlet.

RE: Visible to the creator only
Answer
10/12/12 7:21 AM as a reply to Arif rahman rahman.
Hola Arif,
 
      <restrictBy> tag is defined inside <classDef> and can have one or all of <companyId>, <groupId> and <userId>.  As of today you might want to use permissions feature to restrict access to users depending on roles.
 
    Any way if you need information on tags, all definitions are in file xmlportlet.xsd. Find attached a copy of the xml file definitions.
 
     We are working now on the next release of XMLPortletFactory, were you will be able to define calculated fields, or conect to Liferay’s social activities and Assets, please follow @xmlpf on twitter for news.  
 
Saludos, Jack.
Attachments: xmlportletfactory.xsd (11.7k)

RE: Visible to the creator only
Answer
11/28/12 8:41 AM as a reply to Jack A. Rider.
Jack A. Rider:
Hola Arif,
 
      <restrictBy> tag is defined inside <classDef> and can have one or all of <companyId>, <groupId> and <userId>.  As of today you might want to use permissions feature to restrict access to users depending on roles.
 
    Any way if you need information on tags, all definitions are in file xmlportlet.xsd. Find attached a copy of the xml file definitions.
 
     We are working now on the next release of XMLPortletFactory, were you will be able to define calculated fields, or conect to Liferay’s social activities and Assets, please follow @xmlpf on twitter for news.  
 
Saludos, Jack.
thanks you so much . yes my work are done with your creation of portlet . but i need just a more litle help emoticon
liferay has sturcktur and group somekind of organisation strucktur.
my ide just like this.
i have 4 level of orgranisation. and i can entry parent and the children and my users also can select with level are they wanted to pick up.

(just like chain and filter)

indeed the liferay has this kind of features, but i just need this in portlet becouse  90% of my work are nicely done with your xmlportletfactory.


*sory for my terible english and thanks you for your attention

RE: Visible to the creator only
Answer
11/28/12 7:07 PM as a reply to Arif rahman rahman.
 Hola Arif emoticon

        Just read your post, but I dont really understand your requirement. Maybe you can send me an email ( Jack.A.Rider at XMLPortletFactory.org ) with more information and when we solve it come back to the forum and post the solutions.

       I will be very glad to help you.

  Saludos, Jack.