displaying custom fields (profile) in a view - profile

I have added some custom fields to the profiles in connections. Now I would like to create an overview (a view or list) and display the values.
How should I do this?

There is a comprehensive article on the Wiki
http://www-10.lotus.com/ldd/lcwiki.nsf/dx/Customizing_IBM_Connections_4.0_Profiles
"This article has provided an end-to-end scenario illustrating the new
customization techniques in the IBM Connections 4.0 Profiles
component. The reader was able to define new extension fields to
associate with their users, so as to meet a typical business scenario,
and provide a tailored presentation of the users in the social network
to encourage use of the data."
it's for version 4.0, and should broadly apply to 5.0.
To continue the answer... you'll want to use the ext attributes in the search for profiles
http://www-10.lotus.com/ldd/appdevwiki.nsf/xpAPIViewer.xsp?lookupName=API+Reference#action=openDocument&res_title=Searching_Profiles_programmatically_ic50&content=apicontent
and call GET /profiles/atom/search.do?FIELD_EXTATTR_SCHOOL=Westford
where school is your new attribute name

Related

Social Engine Editing drop down options

I am using a 3rd party developed plugin.
Advanced Activity Feeds
On a search widget we have a drop down which has all of my profile types.
I wish for this widget to show certain profile types.
Thanks,
Rich
You need to write custom code. You can get the particular profile type by level_id.

Is there a Joomla (3.x) development API for creating and managing custom user groups?

I just started with Joomla 3.x and I'm writing a component for Joomla v3 which is supposed to create new usergroups for creating 'groups'- the design requirements being:
An organisation may set up a group to offer access to some set of services -including communication but also also other types of services - to their members
(the other services is the reason why I believe the community and forum joomla extensions are not suitable- they mostly focus at fora and social media services, not the services I will implement.)
Other persons/members of the organisation may register to this group, which allow him/her to access these services
ps: it is also possible for person to set up a personal account and get access to the set of services. This person may also join one or more groups at a later stage
How to do code the creating of new usergroups? I noticed a possible suggested solution at How to create custom User Group Programmatically in Joomla 3.x, but I struggle to understand how to use the suggested JTableUsergroup class because of the limited documentation at http://docs.joomla.org/API17:JTableUsergroup(?) Does creating an instance of JTableUsergroup results in the creation of a new customer user group?
Another question: how to add users to a customer usergroup? The only hint I found was at http://api.joomla.org/cms-3/classes/JUserHelper.html - using the method addUserToGroup of class JUserHelper.
Many of the Joomla development concepts are well document but I could not find one for managing custom user groups...
Appreciate your help;-)
First, overall, the best consistent documentation of Joomla APIs is in the docblocks for the classes. Then to be honest what I do a lot of times is to search for where in the core the API is used. There are some great pieces of narrative documentation in the wiki, but on the whole I always start with the docblocks which are very complete. However in this case it's pretty simple.
You need to do something along the lines of
$newrow = JTable::getInstance('Usergroup');
//code to add your data
$newtable->save(); // Shortcut for check, bind, store
However, if I were you I would look carefully at UsersModelGroup because there are a lot of other things that should normally happen in this process such as running the user plugins. So I might include and extend that model (which manages the table class) rather than going to the table class directly. In fact your whole component might even be able to extend almost all of the users component or it might also be possible that you could do what you want with plugins rather than reinventing the whole thing.
In terms of assigning users to groups that is trickier because of some legacy things in the code. I think the setter followed by a $user->save() ($user being a JUser instance) is probably the way to go when adding to groups. What I probably would do is to write a custom JFormField that would manage opt-in groups because the core usergroup field includes everything. You could extend that and exclude the groups that you want to have only managed by admin.

How to use multiple "Quick Create" forms per entity

CRM 2013 allows a customiser to add multiple "Quick Create" forms against an entity. In the case of our ISV product, this is potentially useful since we always avoid customising "native" forms in favour of creating our own form.
However given that:
Quick Forms cannot be deactivated
Quick Forms cannot have security roles defined against them
There is no mechanism as a user to select or change which Quick Create form to use
There is no mechanism to set a preferred Quick Create form
What is the point of multiple Quick Create forms?
My goal was to create a custom Quick Create form against the Account entity to avoid changing the native Account Quick Create form but there is seemingly no way to allow my users to use this form.
Typical - Despite earlier research, I found the answer within minutes of posting the question on SO:
Although you can define multiple quick create forms, only one quick
create form can be used by everyone. The form everyone will use is set
using the form order. Quick create forms cannot be assigned to
security roles and they do not provide the capability for the user to
switch forms.
Source: Quick Create Forms in Dynamics CRM 2013

Customize application for different customers

Based on a specific application (bakery ERP), I need to create a new branch as a general purpose ERP with basic functionality (invoices, orders, work orders, customer communications...).
This new branch must be customizable for each client: print formats, application colors and icons/images, and restricted access to some application parts...
I've read about resource files for text/icons/image customization, but I need some help or alternatives, maybe defining an Interface to provide needed resources.
I use DevExpress components, so, print formats, and forms layout can be customized storing formats and layouts in files. However, main form has to be completely redesigned, and i wonder about the best way to do this. ¿this can be done with a little project containing the main form and implementing an interface providing custom images for buttons and other customizations?
Apart from layout customization, I need to restrict access to some parts of ERP for each customer, but behavior customization will be minimal or nonexistent, so, maybe I can personalize behavior with an xml config file for each customer.
Independently of my ideas, I thank you for any idea or comment about mu purpose: interface customization for each client, and minimal behavior customization. Don't need complex solutions like Workflow Foundation or completely pug-in based development.
If it's only format of prints and screen images, just use resource files or database configurations.
If you need functionality to be changed - use interfaces and inject their implementation via some framework, like MEF, for example.
And your English is good, no need to sorry

Custom fields in Sonar

I've looked at Sonar for a way to include custom fields for grouping/filtering data on-the-fly, including at addon extension points, but haven't seen anything that meets my criteria.
For example, for a multi-team project where all teams share the same repository project, I'd like to be able to filter the standard reports for single teams (encoding the team data for instance in a custom java annotation).
Is this possible? If so, how?
According to this discussion on the mailinglist: http://thread.gmane.org/gmane.comp.java.sonar.general/10059 ... http://thread.gmane.org/gmane.comp.java.sonar.general/10073
It is not possibile to have group-specific dashboards/reports/views. The only thing supported right now are filters.
I'm not aware of any custom solution.

Resources