Display Community Names, only when Current User is a Member of that Community

Greetings,
I have a Community Site Collection(say ABC). Within that I have many Community Sub-sites(say X,Y,Z). I want to display the Community Sub-site Names in Community Home-page for the Condition,
                  When Current User name Exists in "Community Members".
1.For that i have to access "Community Members" list from all Sub-sites(say X,Y,Z) within Community Site Collection(say ABC).
2.Display Community Sub-sites Name Queried for Current-user Name Exists in "Member" Column of "Community Members" List
Is this the Correct Solution for my Requirement? Or any Best Practice available? 
Thanks in Advance for help

Thanks for your Reply
You mean I need to use Custom Webpart and Content Editor in my Community Homepage.
1.Custom Webpart for displaying all Subsites within SiteCollection and
2.Content Editor to hide Community name(By Using JavaScript)
I can display all Subsites within SiteCollection using Spweb.getsubwebsforcurrentUser()
But it seems complex to hide non-member community names. The reason is that for a particular user itself i need to filter out "Is this Current User Member of this Community?" for all Subsites
Any better Solution? Hope it would be
Thanks,
Vinnarasi

Similar Messages

  • Display Column only when Current Year Selected

    Hi Gurus,
    1)I have a Req where in I need to Display a Column only when 2012 is selected,It shouldn't appear when i select 2010 & 2011 in the Prompt.
    2)I have to display a column only when the Last month of the Quarter is selected.
    Any help???

    Hi,
    Make it two reports, one with the column and the other report without the column. Place both the reports in two different dashboard sections and use conditional show/hide section as explained here,
    http://total-bi.com/2011/01/obiee-hide-show-sections/
    Regards,
    Dpka

  • Error in sql server with a trigger (I want to display a customize message, when the user left a blank field or null) How can I do?

    How I display a customize message(with a trigger)when a user left a blank field? I want to the stop the insert statament if the user left  the status field in blank. I create a trigger but now I can't enter a row, i used an instead trigger
    too but doesn't work. I want to display a customize message when the user left the
    status field in blank or null. 
     I have the following code:
    CREATE TRIGGER [dbo].[BLANKFIELD] 
    ON [dbo].[Status] 
    FOR INSERT 
    AS 
    BEGIN 
    IF (SELECT COUNT(*) FROM inserted WHERE Status IS NULL) =1
     PRINT 'Please Fill the Status  field is required'
    Rollback;
    END 

    I agree with other comments that you should do this with specifying that the column is NOT NULL to prevent it from being NULL and a constraint if you don't want it to be blank (spaces or the empty string - note that the empty string is not the same thing
    as NULL).
    But for completeness, the reason your trigger does not ever allow you to enter a row is the code
    IF (SELECT COUNT(*) FROM inserted WHERE Status IS NULL) =1
    PRINT 'Please Fill the Status field is required'
    Rollback;
    Since you don't have a begin/end block after IF, the only conditionally executed statement is the one immediately following the IF (that is the PRINT).  So the Rollback is always executed whether or not the IF is true and so all updates are rejected.
    So if you were to do this in a trigger you could do something like the following
    CREATE TRIGGER [dbo].[BLANKFIELD]
    ON [dbo].[Status]
    FOR INSERT
    AS
    BEGIN
    IF EXISTS(SELECT * FROM inserted WHERE Status IS NULL)
    BEGIN
    PRINT 'Please Fill the Status field is required';
    Rollback;
    END
    END
    (As José noted, there can be more than one row in the inserted pseudo table, so you don't want to test whether the COUNT = 1, instead just whether one or more rows exist where the Status  is null.  If you want to prevent Status is NULL, or all
    spaces, or the empty string, then your IF statement would be
    IF EXISTS(SELECT * FROM inserted WHERE ISNULL(Status, '') = '')
    Tom

  • HI, I recently upgraded my operating system IOS 5.0.1 on an iphone 3gs. MY question is, how do I get the text messaging preview to just pop up so that I can see the name only when the lock screen is on? The conventional ways of doing this aren't working

    HI, I recently upgraded my operating system IOS 5.0.1 on an iphone 3gs. My question is, how do I get the text messaging preview to just pop up so that I can see the name only when the lock screen is on? The conventional ways of doing this, such as using turning off the SMS preview under the "passcode lock", well that option no longer exists, or if it does, I'm somehow missing it.
    When I go to the "messages" setting under settings on my phone, I still don't see an option of turning it off.
    If I can just get the name of the person sending the message, as I had it before, I'd be happy.
    Help!

    That option still exists in Settings > Notifications > Messages > Show Prview (OFF) and View in Lock Screen (ON). Here's how to configure your Notifications and Notification Center for iOS 5: http://iphone-and-i.blogspot.com/2012/01/how-to-customize-notification-center-in .html

  • SCCM 2012 powershell only when no user is logged in

    Hi All,
    I think this is probably me, I am trying to run a powershell script which calls an MSI in the Application node, seems to work fine when the user is logged on, but I wanted to run this as, only when no user is logged on, and install for system. It seems to
    start and just exit straight away.
    Command line: that I use: powershell.exe -noprofile -executionpolicy bypass -file .\Install.ps1 is this correct to run as system?

    I'm also having a very similar issue. In my scenario, I have a PowerShell script that runs an software update tool with different parameters based on the value of a specific registry entry. I was testing the SCCM Application when logged on and just running
    for Software Center and it runs as expected, but when I changed the User Experience from "Run whether or not a user is logged on" to "Only when no users are logged on" and it fails.  In the AppEnforce.log the following lines are present:
    <![LOG[+++ Starting Install enforcement for App DT "Set New Servers - addiman" ApplicationDeliveryType - ScopeId_2E6C34BD-8633-43D8-B5B5-09A1C291D45B/DeploymentType_56ca55b4-ce9b-4dfd-a64f-db3da408013b, Revision - 5, ContentPath
    - C:\WINDOWS\ccmcache\3n, Execution Context - System]LOG]!><time="11:06:10.878+480" date="02-12-2015" component="AppEnforce" context="" type="1" thread="1628" file="appprovider.cpp:1702">
    <![LOG[The enforcement of this App DT requires all users to be logged off.  The deployment cannot specify a user collection when the deployment type requires that a user must be logged off.  Aborting enforcement.]LOG]!><time="11:06:10.879+480"
    date="02-12-2015" component="AppEnforce" context="" type="3" thread="1628" file="appprovider.cpp:1732">
    <![LOG[CommenceEnforcement failed with error 0x87d0031d.]LOG]!><time="11:06:10.880+480" date="02-12-2015" component="AppEnforce" context="" type="3" thread="1628" file="appprovider.cpp:1825">
    <![LOG[Method CommenceEnforcement failed with error code 87D0031D]LOG]!><time="11:06:10.880+480" date="02-12-2015" component="AppEnforce" context="" type="3" thread="1628" file="appprovider.cpp:2390">
    <![LOG[++++++ Failed to enforce app. Error 0x87d0031d. ++++++]LOG]!><time="11:06:10.885+480" date="02-12-2015" component="AppEnforce" context="" type="3"
    thread="1628" file="appprovider.cpp:2467">
    I've did confirm that the Deployment was not to a User Collection as is implied by the error message and I even went as far as deleting and recreating the Deployment.
    In addition, I have another Application (Java 7 Update 31) that I have set to "Only when no users to login" and it installs as expected. When run from Software Center the Status changes to "Waiting for users to log off" and it is installed
    after I log off.
    Is there some issue with this when trying to run a PowerShell script when logged off?
    Thank you in advance for any insight as to this in consistent behavior.
    Bill Hunt

  • I am having major problems with Firefox. About 3 weeks ago I started experiencing the display only when on Firefox for all web site, that the display would be shifted right about half a screen. It only happens on Firefox and happens for all web sites.

    I am having major problems with Firefox. About 3 weeks ago I started experiencing the display only when on Firefox for all web site, that the display would be shifted right about half a screen. It only happens on Firefox and happens for all web sites.

    This issue can be caused by the Babylon Toolbar 1.1.8 extension
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • How do I get my itunes to recognize my account, it seems to be stuck on my friend account even when it sent my ID in the account, only when I try to update an App, that my friend account appear.  Please advise

    How do I get my itunes to recognize my account, it seems to be stuck on my friend account even when my ID show up as sign in, only when I try to update an App, that my friend account appear.  I try to reset it on the computer and the phone itself, but no luck.  Please advise

    Many thanks lllaass,
    The Touch Copy third party software for PC's is the way to go it seems and although the demo is free, if you have over 100 songs then it costs £15 to buy the software which seems not a lot to pay for peace of mind. and restoring your iTunes library back to how it was.
    Cheers
    http://www.wideanglesoftware.com/touchcopy/index.php?gclid=CODH8dK46bsCFUbKtAod8 VcAQg

  • Displaying calculated field only when data exist

    Hello,
    Is there a way to display my calculated value only when the data entry field is being used. For instance, if I have several fields vertically aligned, I don't want to display a bunch of zeros if their data fields are not being used.
    THANK YOU!!!!

    You can check for the rawValue in the Calculate event before any script.
    Event: Calculate
    //FormCalc
       if(Field1.rawValue ne null) then
         // write your script here
       endif
    //JavaScript
    if(this.rawValue != null){
       // write your script here
    Thanks
    Srini

  • Getting the name of the current user loged in with j_security_check

    Is there any method or way of getting the username of the current user
    which is logged in via the j_security_check?
    thanks

    <p>
    <strong><font face="courier new,courier" size="2">FacesContext ctx = FacesContext.getCurrentInstance();</font></strong>
    </p>
    <p>
    <strong><font face="courier new,courier" size="2">ExternalContext ectx = ctx.getExternalContext()</font></strong>
    </p>
    <p>
    <strong><font face="courier new,courier" size="2">HttpServletRequest req =  (HttpServletRequest)ectx.getRequest()</font></strong>
    </p>
    <p>
    <strong><font face="courier new,courier" size="2">String user = (String) req.getRemoteUser();</font></strong>
    </p>
    Kuba

  • ChaRM: Mail not triggered when current user = mail receiver?

    Dearl all:
         Ive noticed that mails are not triggered when the user who is processing a document is the same who will receive it. Is there any way to deactivate this functionality?
    Thank you very much,
    Federico.

    Hi Miguel, how are you?
          I think it is a nice feature not sending a mail when the user who is changing the status in the one who would receive the mail in that next status. But Im in the testing pahse of implementing SOLMAN and I would like to know if this is a real feature or a flaw, and besides I would like to turn off this possible feature, just for the testing phase. This is not a big deal anyway.
        By the way, I also notice that if there is a partner assigned multiple times to a document, it doesnt trigger the mails as expected.
    Best regards,
    Federico.

  • SharePoint 2013 workflow 'If current user is a member of a group'

    I would like my workflow to check if the user who created the current item is a member of a group, preferably an Active Directory group but if not a SharePoint group.
    How can I do this please?
    Thanks
    Julie
    J Sykes

    Hi,
    You need to install the CodePlex solution(UsefulSPDWorkflowActivities_0.5.0.zip) from the following URL to the get custom activities in the SharePoint Designer.
    http://spdactivities.codeplex.com/
    Once you download, you will have setup instructions file, follow these instructions to install the solution (Installguide.txt).
    I would suggest you to use the SharePoint 2013 style workflow, as we need to implement latest one, may be 2010 style workflows will be removed with the latest version of SharePoint later.  And also other thing, you will not have to depend on the other
    solutions such as CodePlex
    Use the "Call Http Web Service" action and use the REST API to check whether the user is in within group.
    http://sharepoint/_api/SP.AppContextSite(@target)/web
    /getbyname('Approvers')/Users?$filter=Id eq " + CurrentItem.CreatedBy.ID + "
    ?@target='http://sharepoint'
    http://msdn.microsoft.com/en-us/library/office/dn531432(v=office.15).aspx
    http://blog.vgrem.com/2014/05/08/consuming-the-sharepoint-2013-rest-service-from-sharepoint-designer/
    Please don't forget to mark it answered, if your problem resolved or helpful.

  • [SOLVED]How to search package name only when using yaourt

    I often install a AUR package by yaourt term, but it does not only search terms in package name but also package description, since there are so much packages in AUR, it produce many pages of items, and it can not support more to page one screenful at a time, It
    become difficult to get the right choice,
    Thank you in advance!
    Last edited by netawater (2013-06-14 00:47:06)

    Hey, that's one thing I actually know how to do with regexes! All package descriptions have some spaces at their beginning, the package names themselves have not, so you can just use inverted grepping like so:
    $ pacman -Ss test | grep -v '^ '
    core/perl 5.10.1-5 (base)
    extra/fprint_demo 0.4-2 (fprint)
    extra/ghc 6.12.1-2
    extra/haskell-hunit 1.2.2.1-1
    extra/haskell-quickcheck 2.1.0.3-1
    extra/junit 4.7-1
    extra/kdesdk-kpartloader 4.4.0-1 (kde kdesdk)
    extra/libxtst 1.1.0-1
    extra/memtest86+ 4.00-1
    extra/mono-tools 2.6.1-1
    extra/openoffice-base 3.2.0-1
    extra/openoffice-base-beta 3.2.0_ooo320_m12-1
    extra/perl-test-pod 1.41-1
    extra/python-nose 0.11.1-1
    extra/qemu-kvm 0.12.2-1
    extra/testdisk 6.11.3-2
    extra/unarj 2.63a-2
    extra/xbill 2.1-6
    xyne-any/reflector 5.0-2
    community/buildbot 0.7.11p3-1
    community/cppunit 1.12.1-1
    community/cxxtest 3.10.1-3
    community/dsniff 2.4b1-15
    community/gtk-aurora-engine 1.5.1-1
    community/gtkperf 0.40-3
    community/java-jdom 1.1.1-1
    community/lib32-libxtst 1.1.0-1 (lib32)
    community/perl-test-base 0.59-1
    community/perl-test-deep 0.106-1
    community/perl-test-differences 0.500-1
    community/perl-test-exception 0.29-1
    community/perl-test-manifest 1.23-1
    community/perl-test-mockobject 1.09-1
    community/perl-test-nowarnings 1.01-1
    community/perl-test-tester 0.107-1
    community/perl-test-warn 0.21-2
    community/phoronix-test-suite 2.4.0-1
    community/pmtools 20100123-1
    community/reflector 5.0-2
    community/stress 1.0.0-2
    community/typespeed 0.6.5-2
    arch-games/mangler-snapshot 1.1.20100116-3
    arch-games/ultimatestunts 0.7.5.1-1
    This still shows the repos and the versions (nothing cut wouldn't be able to handle though). It works fine with pacman as you just saw, I can't guarantee for yaourt as I don't have it installed.
    Edit: Hm… I just realized that this still displays the results where 'test' only occured in the package description. Give me some time to figure this out.
    Edit 2: Another grep for 'test' would solve it:
    $ pacman -Ss test | grep -v '^ ' | grep test
    extra/memtest86+ 4.00-1
    extra/perl-test-pod 1.41-1
    extra/testdisk 6.11.3-2
    community/cxxtest 3.10.1-3
    community/perl-test-base 0.59-1
    community/perl-test-deep 0.106-1
    community/perl-test-differences 0.500-1
    community/perl-test-exception 0.29-1
    community/perl-test-manifest 1.23-1
    community/perl-test-mockobject 1.09-1
    community/perl-test-nowarnings 1.01-1
    community/perl-test-tester 0.107-1
    community/perl-test-warn 0.21-2
    community/phoronix-test-suite 2.4.0-1
    arch-games/ultimatestunts 0.7.5.1-1
    Still, it's not that pretty to write the same thing twice. If you really want to do it like this, I suggest you make it a function in your ~/.${SHELL}rc.
    Last edited by Runiq (2010-02-27 08:36:11)

  • Form Query button only returns current user's entries.

    Hello.
    I've built a simple form that admins will use to insert some simple information into a table with. They'll insert the names of users, passwords, company info, email, logged in data and created time/by, updated time/by info. The inserting part works fine, but when they query the form, all they get are the records that they've entered. Any records that another user has entered do not show up. A report based on the same table shows all users in the table. The only thing I'm doing that may be of any problem is inserting created by and updated by as a hidden field and defaulting that value to wwctx_api.get_user. I don't see why that should be a problem. Is this a table permissions issue? I've provided manage access to all users of the form.
    Thanks.
    Kurt

    Ton,
    Shouldn't I be able to run that api as a default value for hidden fields, without it impacting the query? I've only attached that value to the created by and updated by columns and made the first insertable only and the second updateable, insertable. I guess I understand. I thought the default value would only be used for new entries, not for all queries. I guess I need to put in a request to our data modeler to add a trigger to the table (my hands are tied for table creation). Actually, I should be able insert some pl/sql code to the portlet to do this. Something to do with the ...after the processing the form option? After inserting the new record through the form, insert created by, created date or update updated by updated date. One thing I still don't get (having only worked with Portal a few days) is how do I make sure I'm associating this insert with the proper record? Thanks.
    Kurt

  • Display Collaboration rooms only to authorized users

    Hi... The Collaboration Room iView supplied by SAP comes with three tabs "My Rooms", "Restricted Rooms" and "Public Rooms". I want to display only the rooms that the external user is authorized when he logs in. The user should not be able to see any other rooms that he is not a member of. Any ideas? Thanks.

    Hi Yashin,
    in the iView of the room list you can manage the visible tabs. If you want to see only the tab my room change the value "Pre-Selected Tab of the Roomdirectory" in the Room List iView from the value "ALL" to the value "MYROOMS". Here you can find more Information about this:
    <a href="http://help.sap.com/saphelp_nw70/helpdata/en/08/01b341800e3231e10000000a155106/content.htm">http://help.sap.com/saphelp_nw70/helpdata/en/08/01b341800e3231e10000000a155106/content.htm</a>
    Kind Regards,
    Christian

  • How to display group data only when the particular group is clicked

    Hi frnds,
    I want to design my report as follows:
    Data is grouped by country, and for each country it is showing details for that country. I need to find out a way to display all group names first.  E.g.
    Argentina
    Aruba
    Australia
    And on click of particular country name it should display its details below it
    e.g.
    -Argentina
         BBB            Mendoza          123456
    +Aruba
    +Australia
    Has anyone done that before??? Is it possible to achieve it through Crystal Report Designer (2008)?? If yes then how???
    A prompt reply would be appriciated as i need this information urgently.
    Thanx.

    Thanx Jehanzeb,
    The sample u suggested did not solve my problem since it is opening the group data in new window.
    My question is - can we show/hide group data by clicking on that particular group (under that group name).
    e.g.
    ->(initial display - only groups)
    + Australia
    + America
    + Bhutan
    ->(on clicking a group)
    + Australia
    \- America
    abc    xyx    12213213    wqe9090
    dsd    dcv     90eur90e    ifjjdioifdoi
    + Bhutan
    In short, I am looking for on-demand display of records grouped by some field and the expansion of data must be done in the same page.
    Edited by: Kuldeep Chitrakar on Aug 6, 2008 12:44 PM
    Edited by: Kuldeep Chitrakar on Aug 6, 2008 12:45 PM
    Edited by: Kuldeep Chitrakar on Aug 6, 2008 12:46 PM

Maybe you are looking for

  • Target file creation error

    Hi All, I ‘m working on XML file to-Fixed length scenario. MY target file should have following structure. I’m mapping xml file content to the target structure. Recordset     REC 1 to n     A(3)     B(5)     C(6) MY content conversion is as follows.

  • CSM not load-balancing properly

    Folks, I'm seeing that CSM is not loadbalancing properly to all the servers in the serverfarm. I simulated a failover of one of the servers TS05 and brought it back. After coming online, CSM sent no traffic to that server, as shown below: C7606-1#sho

  • Dictionary for 5800?????

    Hi people, Can anyone out here suggest me a good 3rd party dictionary app for Nokia 5800. The buil-in dictionary sucks and i don't want to use the talking dictionary. I want a light weight dictionary with most of the english words, just like the Oxwo

  • Apply the change to the table

    I want to set up a stream to capture, propagate and apply the changes on the table TB in DB1 to the table TB in DB2. Both tables are the same name and structure. If the value on column1 of DB1.TB is y, issuing the UPDATE statement update DB1.TB set c

  • Can't run disk utility on Time Capsule

    I hope someone can help. First, my time machine stoppped backing up to my time capsule about a month ago. After some research it appeared that the thing to do was use disk utility to repair it. I got a message "Disk Utility stopped repairing "Time Ma