I know I can make link to a username using this format: https://kik.me/username
Is there an equivalent to linking to public groups knowing just the group name?
No, you cannot link to a group using just a name. You can give someone the "#" if it is a public group, but not a link. You can however, create an invite link for a group that will have a random string in it if you click on the share button in a group chats roster, regardless of if its public or private.
Related
How can I get all users properties like (email, address, phone and etc..)
using search filter syntax?
Can't find anything in the docs.
I tried this
(&(objectCategory=person)(objectClass=user)(cn=Erika Wynn))
but all I get is the dn details :
CN=Erika Wynn,CN=Users,DC=****,DC=local
I wish to get all user fields General (telephone, email..), Address (Street, City), Organization.
LDAP allows you to specify which attributes you want to receive. If you do not specify anything, Active Directory will return every attribute that has a value. So if it is not doing that in your case, then there must be some part of the code that has set the list of attributes to only the distinguishedName.
You will have to show your code for us to help you more. You can update your question to include your code.
I should of just provide a user name similar to AD login, as a filter and any attribute I needed to get.
I used this great article, to get all the different attributes that you can fetch from Active Directory.
https://www.manageengine.com/products/ad-manager/help/csv-import-management/active-directory-ldap-attributes.html
this is the query:
filter=(sAMAccountName=username) attributes=cn,department,company,streetAddress,L,st,co,mail
I am using Joomla3 with tinymce editor. I have created one module and adding one params in textarea
I am adding iframe code
in text area
but it's not saving. If i am save normal text string then it's saving
Please help me
I believe you need to add a filter to your xml code.
such as:
filter="RAW" or, probably more appropriately, filter="HTML"
This will keep Joomla from cleaning your code. There are a number of filters available to XML fields when creating modules. You can examine the code here: https://github.com/joomla/joomla-cms/blob/master/libraries/joomla/filter/input.php#L167 to see the exact list.
What user group is the account you are using a member of? Super Users and Administrator group types should have no filtering set by default but it sounds like you might need to edit those settings.
From the main menu:
System > Global Configuration > Text Filters (tab)
You will see all the available user groups for you website. The group your user belongs to should have a Filter Type of No Filtering. Another important note is its better to add the user account to a group with the permissions then to arbitrarily adding it to a group type typically reserved for registrants, guests or low-level editing.
For the contacts object, I have a custom checkbox which represents whether the contact owner wants the contact information (email and phone) to be visible. Most of our contacts will be completely visible to everyone. However, for a few contacts, we want them to be visible but their contact information needs to be hidden to everyone except for the owner.
Is there a way to set field-level access dependent on another variable? Could you create a workflow to redirect to another page layout if the contact information is visible? If so, can you restrict objects to certain field layouts depending on whether or not you are the record owner? And would would the contact information for "hidden contacts" still show up in reports?
Redirects, custom Visualforce view page etc hacks are all nice and shiny until you realize people will be able to pull data they want via some reports, list views, Outlook integration, mobile apps etc ;)
There's no straightforward answer because field visibility is really "all or nothing" (by Profiles & Permission Sets). Owner/Role-related stuff will help you only if you'd store data in some new related objects.
Another option - Store public part in Leads (public read only for example) and sensitive part - in Contacts (private)? Some lookup to link the 2, maybe a trigger when new Contact is created and you're good to go.
Last but not least - have a look at https://salesforce.stackexchange.com/questions/777/can-i-grant-different-field-level-security-based-on-record-ownership for some ideas.
If I understood correctly (My english...) You could create a new RecordType and a new customized page layout without this fields assigned to it, then you have to create a WFR that change the Recordtype when the cheked field becomes true.
I'm assuming that you know how you have to give permissions to this new Recordtype...etc
Hope this helps.
I have a visualforce component which I use for displaying the user's name.
Currently I am doing it using the following:
!$User.FirstName} {!$User.LastName}
Is there any way I can display the User's Account as well using this without writing SOQL.
I would not like to create a controller just to display the user's account and am hoping there is a simpler and easier way using just Visual force.
I did try !$User.Contact.Account}
But it gave me an error.
Thanks.
Here are two things you may want to try:
Reference the Account Name from the $User Visualforce global variable.
{!$User.Contact.Account.Name}
If that doesn't work, create a new formula field on the User object named Contact Account Name with this formula: Contact.Account.Name. Once you have created that formula field, you should be able to reference it in Visualforce using: {!$User.Contact_Account_Name__c}.
hi i want to create an interface like this in visualforce
where values in first column will come from apex controller
please give some idea of doing this in visualforce.Also the values which user will move to second column will be saved somewhere.I am thinking of using custom settings,what all are the options available.
Thanks
Unfortunately the only way to leverage the functionality that you're describing in VisualForce is to use an <apex:inputField> tag that binds to a multi-picklist field on an SObject. This option gives you a place to save the data, although you will need to specify the possible values beforehand in the configuration (which it doesn't sound like you want to do).
If you want to populate the values dynamically, you will need to create a list of SelectOptions in your controller and bind that list to an <apex:selectlist> tag with the multiselect attribute set (keep in mind that this won't give you the fancy left and right arrows that you showed in your screenshot, but it will allow a user to select multiple options by shift/ctrl-clicking).
VisualForce snippet:
<apex:selectList value="{!multiPicklistVal}" multiselect="true">
<apex:selectOptions value="{!multiPicklistOptions}"/>
</apex:selectList>
Apex controller snippet:
public String[] multiPicklistVal {public get; public set;}
public List<SelectOption> getMultiPicklistOptions() {
List<SelectOption> opts = new List<SelectOption>();
opts.add(new SelectOption('Red', 'Red'));
opts.add(new SelectOption('Green', 'Green'));
opts.add(new SelectOption('Blue', 'Blue'));
return opts;
}
This approach will allow you to reference multiPicklistVal in your action methods as an array of Strings, each of which have been selected by the user. From here, you could save these in a custom setting as you mentioned, or in a custom object (but if you're going to go the custom object route, you may as well just use the out-of-the-box functionality I described at the top of this post).