Adaptive tag for current community

Is there a adaptive tag to get the current community data.

You can display the current community name with the  tag:
<pt:standard.realmname>
The community ID is a little bit trickier. It can be extracted from the current community page URLs with the
<pt:ptdata.currcommunitypagesdata pt:id=&#034;pages&#034;>
tag. It returns a list with community page urls with the community id as the objid parameter. Something like this:
<pt:logic.foreach pt:data=&#034;pages&#034; pt:var=&#034;curr&#034;>
  <pt:logic.variable pt:key=&#034;currcommid&#034; pt:value=&#034;$curr.objid&#034;/>
</pt:logic.foreach>
<pt:logic.value pt:value=&#034;$currcommid&#034;/>

Similar Messages

  • Adaptive tag for date value - output in milliseconds?

    I'm trying to add code to my presentation template, so when a page has multiple content items, I grab the most recent value of all 'last modified dates' for the content items on the page, so this would essentially display the page's last modified date. The approach I'm trying involves outputting the modified date for each content item into a format I can sort in a javascript function, then retrieve the most recent value to display at the bottom of the page's content. In this case, I figured the best manner to sort the items easily would be to display the date in milliseconds, then sort, and finally convert the most recent modified date into mmmm dd, yyyy hh:mm AM/PM format.
    I see there is a method to obtain this date in millseconds (since January 1, 1970) format in javascript, however, is there a way to do this using the adaptive tag <pcs:value expr="modified" format="____________">?
    If not, is there a better way to obtain dates for sorting in a javascript function, so can obtain the entire date, hours, and minutes? I did find one method that grabs the month, day, and year, but not the hours and minutes.
    Thanks!

    Hi Suman/Jeedesh,
    As per Pco notification, it will trigger whenever any of the tag value changes in Agent instance subscription items.
    For above issue, My suggestion
    1. Create DB table name TAGLIST with 200 tags as rows in columns (Tagname, TagValue)
    2. Based on notification trigger, create a transaction and update values w.r.t TagNames in above table
    3. Next time, when notification trigger with fresh value for any of the tag, cross check with existing TagName with Value and update in DB table.
    4. And in the mean time, send those Tag details vie mail trigger or as per requirement
    Instead of creating 200 notification, above is a just alternate way suggestion to achieve dynamic tag value change notification.
    Hope it might solve your problem
    Regards,
    Praveen Reddy

  • Custom adaptive tags for 6.5 / 10gR3

    I'm going through an upgrade, and it seems that while some of the custom adaptive tags developed for 6.1 work in 10gR3, there are some that do not. Before I go about doing the work, I felt that I should ask..has anyone done this yet? I didn't see any .NET dll's in the alui toolbox...
    In particular, the tag that I need right now is the pt:standard.openerlink with the ability to display extra parameter(s).

    This is actually easier than I expected. I don't know why i was scared of creating new tags all these years. A few things that I found...
    With friendly urls, when the link is created (using standard.openerlink), the portal needs to look up the object to ensure that its valid (makes sense, otherwise, how would it put the name in the friendly url). I would imagine that this would have performance implications, right?

  • BC tag for current year?

    Does BC have a tag (ie {tag_year} ) that inserts the current year that can be used in a copyright footer added to pages via a content holder? I've searched through the tag reference docs and cannot find anything.  Thanks!

    Use JS. "var year = new Date().getFullYear()" will return a current year 2013

  • Communication channel not working -- No Adapter Registered for this channel

    Hi Experts,
    I see the status of one of my Communication Channels (In RWB Communication Channel Monitoring) as
    "No Adapter Registered for this channel".
    I saw one of the threads related to this but could not fins a suitable reason for it as our issue seems to be different here.
    We have recently deployed the SFTP adapter and PI team is testing this communication channel and they got this error.
    I checked and found that SFTP adapter (in the JAVA EE applications) was not working and when I tried to start ,its giving error
    failed to start.
    additional status message as
    Status Details: Cannot load class "com.advantco.pi.af.adapter.sftp.SPIManagedConnectionFactory". Possible reasons: 1) class file cannot be found in the JARs located in the RAR file,
    2) class file cannot be found in referenced loaders,
    3) failed to initialize some static block(due to unhandled exception),
    4) failed to load or there is incompatibility with some native parts, or
    5) cannot load a class related to it, due to some reasons above.
    Could you guys suggest from where exactly is it trying to pick up the files.
    is it u201Cu2026/j2ee/cluster/apps/xxxxxxx/SFTP Adapteru201D  ????
    Can anyone suggest the possible reasons and the root cause of it
    Regards,
    Yogi

    Hi Yogi,
    i am glad you solved the problem.
    If you have any issue with the Advantco SFTP adapter, best is to send an email to "support at advantco.com" directly.
    Peter Ha * SAP NetWeaver PI Architect * Advantco International LLC
    www.advantco.com

  • How I get the community Folder of community using adaptive tag?

    Hi,
    How I will get the community Folder of community using adaptive tag.

    Hi,
    Andrew Caldwell wrote:
    Is there a way to invoke these without the script opening each one?
    You must use the bundle identifier instead of the name
    Here a example :
    set theApps to {"com.microsoft.excel", "com.adobe.Acrobat.Pro", "com.barebones.textwrangler", "com.roxio.Toast", "com.fetchsoftworks.Fetch"}
    repeat with anApp in theApps
           tell application "Finder" to tell (application file id anApp)
                  set vers to version
                  set parentFolder to name of its container
           end tell
           if parentFolder is in {"Applications", "Utilities"} then set parentFolder to ""
           display alert anApp & ": Version: " & vers & " " & parentFolder
    end repeat

  • What is the port for FTPS communication in File Adapter

    Hi All,
             For FTP communication the port is 21, whats the port for FTPS communication.
    XIer

    Hi Xler
    u can check on this:
    Basic FTP Setup Instructions
    refer this thread also
    FTPS
    Thanks !!!

  • Adapter for Avaya communication manager

    Hi Everyone,
    Can anyone help me with the connector for Avaya communication manager?
    I am confused which jar to use for Avaya communication manager and how to create the configuration file(XML) file for that,i mean fields that are required in XML file?
    I have worked on the configuration of Sun java directory server with OIM.
    Thanks in advance.
    Satbir.

    Did you add Avaya Session Manager as a PSTN gateway in Lync Topology?
    Did you create dial plan and related normalization rule for extension in Avaya telephone system.
    Which guide did you use to integrate Avaya Aura Session Manager with Lync Server?
    You can check the following deployment guide:
    http://www.microsoft.com/en-hk/download/details.aspx?id=41152
    Lisa Zheng
    TechNet Community Support

  • Include In Head adaptive Tag and Webcenter Default CSS questions

    Hello I'm fairly new to Webcenter
    I`m currently working on a project that`s requiring us to do a lot of customizing of Templates and Stylesheets changes, I have a couple of questions I was hoping someone might be able to help me with.
    1) I want to inject some code into the page header of all webcenter pages. I understand that there is an adaptive tag "includeinhead", documented here:
    http://download.oracle.com/docs/cd/E13174_01/alui/devdoc/docs60/Portlets/Adaptive_Portlets/Using_Adaptive_Tags/plumtreedevdoc_integration_portlets_adaptive_namespacetoken.htm
    This works, for the most part. However, for IE I would like to include the 'ie shim' which fixes behaviours for IE (adding things like border radius), etc...this code goes as follows:
    <!--[if lt IE 9]>
    <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    As you can see, there are 'comment' tags that are not really comments, but directives to IE to process the script. This unfortunately gets parsed out by webcenter because (I assume) it just sees the whole block as a comment...So I am wondering what can be done about this.
    2) I am wondering where the 'default' stylesheet that webcenter uses resides. By default, I am referring to the styles that get applied in the cases where tags are not defined in the skin file. I am having some difficulties around this because often Webcenter injects inline CSS into the controls where I don't really want it to... For example, in the "panel header" control, webcenter injects code for the title field and automatically sets the width of the cell. I would like to override this and control it completely.
    Thanks.

    Is that really a big deal or is it ok .... ? I'm always thinking .... oh god how heavy that is , anytime you call up the page the browser has to go through all that first ... is it actually ok or are there any tricks or tips ?
    It's always a good idea to worry about how heavy the LINKED files are since they contribute to the overall weight of the page.  The contribution of the links themselves, though, is negligable.  There is also benefit in managing the order in which those links appear.  Put CSS links first and follow them with javascript links (since the CSS will affect the page rendering, while the javascript most likely will not), so the browser can begin to render the page even while it's waiting for the js files to be fetched.
    2 - Templates are great but If a spry is only needed on some pages,how do we handle that ? By setting up another template ? Or is there a better way ?
    If you are applying Spry effects to a Template child page, DW is smart enough to drop those links into the editable region in the head of the page (which is what it should do).  Just make sure that the editable region falls BETWEEN your CSS links and your JS links to allow you to arrange things as mentioned above.  There is never a real need to have more than one Template per site.
    3 - is it better to have 1 single compressed css file with ALL styles in it or various css files ?
    There is a small performance hit everytime you have to go back to the server for another file.  So two pages of the same overall weight, one with 1 externally linked file, and the other with 10 externally linked files will show a difference in their download time.  How significant that difference is will depend on many variables, but it will be a real difference.  That being the case, it's always better to opt for a single file than multiple files.  Practically speaking, the difference will usually be small, especially when you consider how small these 'incremental' css files usually are....

  • Is there any substring adaptive TAG in Tag Libraries?

    I need to change the only community title not community url using adaptive tag.
    how i will use substring function in the following line.
    <pt:logic.value pt:value="$subcommpg.title"/>

    hi:
    There are many tag-libraries to do what u want ,, for example here is a nice one :
    http://displaytag.sourceforge.net/11/
    this is for presenting data in tables useing display-tag-library
    also u can use Jmaki ,, it is AJAX tags with many enhancements
    https://ajax.dev.java.net/
    But ,, the best solution is to use any IDE ,, the best is Sun Java Studio Creator 2 .
    http://developers.sun.com/jscreator/downloads/
    it is a great IDE with amazing capabilites and component.

  • PDF PO Release - XML Tags for the Header and Line Attachments

    Hi,
    I request you to please help me in finding out the XML tags for the PDF PO Release Header and Line Attachments? I tried to get the XML data by running the 'PO Output for Communication' program with the parameter as 'Debug' but its completing normally without giving me the XML data in the log file.
    Please help me in finding the XML tags for the PDF PO Release for the Header and Line Attachments.
    Thanks,
    Kunal

    Hi Kunal,
    Following syntax will get you the header and line level short and long text attachments.
    --Header short text attachments
    <?for-each:HEADER_SHORT_TEXT_ROW?>
         <?SHORT_TEXT?>
    <?end for-each?>
    --Header long text attachments
    <?for-each:/PO_DATA/HEADER_ATTACHMENTS/LONG_TEXT?>
         <?.?>
    <?end for-each?>
    --Line short text attachments
    <?for-each:LINE_SHORT_TEXT_ROW?>
         <?SHORT_TEXT?>
    <?end for-each?>
    --Line long text attachments
    <?variable@incontext:PoLnID;'PO_LINE_ID'?><?for-each:/PO_DATA/LINE_ATTACHMENTS/ID[. =$PoLnID]?>
         <?current()[$PoLnID]/preceding-sibling::TEXT[1]?>
    <?end for-each?>
    Also note that, while running the program in Debug mode for a particular PO/Release the status should be INCOMPLETE, otherwise you won't be able to see the XML tags.
    Thanks,
    PS.
    Edited by: PS on Sep 25, 2012 6:16 AM

  • How can I transfer photos from an IPhone 5 to an IPad 2 using a cable.  I have tried using the lightning to firewire adapter with my current lead but this only seems to allow a download from the Ipad to the Iphone and not the other way around.

    How can I transfer photos from an IPhone 5 to an IPad 2 using a cable.  I have tried using the lightning to firewire adapter with my current lead but this only seems to allow a download from the IPad to the IPhone and not the other way around.

    The devices are not designed for transfer of that kind.  Use Photo Stream as suggested by another poster, or transfer photos to your computer (a good idea anyway since they will be lost if your device needs to be reset), then use iTunes to sync them to the other devices.

  • ID3 tags for non-purchased TV shows

    I think Apple's approach to ID3 tags for purchased TV shows is perfect. You can browse by the show name, select the one you want (ie. Lost vs Desperate Housewives), then the specific episode names appear on the next iPod screen.
    However, all of the ID3 tags used for purchased shows are not available for shows downloaded through bittorrent or recorded with EyeTV. This means we can't use tags for "Season", "Episode #" and "Show". I think they would work if only we could declare the "Video Kind: TV Show", but this option is grayed out in the file's "Get Info" options tab.
    This severely impacts browsing for videos on the iPod. Currently I have to name my videos something like this "CSI: Season 6: Episode 1: Bodies in Motion" in order to browse effectively for the file on my iPod. I'd love to name it simply "Bodies in Motion" -- WITHIN the "Season 6" folder -- WITHIN the "CSI" folder. [I'm not using "folder" literally -- I'm just trying to imply a hierarchical structure.] Without these tags, this "foldered" browsing isn't possible.
    Anybody figured out how to get around this obstacle?

    I downloaded a TV Show and three music videos and the music videos are on my Ipod but the TV show is not and there is no category for TV only for movies and suggestions

  • List of users who has access to current community

    Hi,
    Is there an API which provides list of users who have access to current community in ALUI? Will there be huge performance impact in retrieving the list of all users who have access to current communty?
    Thanks
    Sampath

    Sorry,
    I am not quite following you..
    Users can only view a community if the permissions exist for that specific community. I dont understand what do you meant by
    "I need to let user type a name and show his/her user ID from the list of users who have access to the current community".
    Are you trying to look at user permissions based on a list of communities existing in the portal? The user can't even get to that community if he doesn't have permissions.

  • "Tag for status change alerts" - how to find out if someone has tagged you

    Dear all,
    On the "Tag for status change alerts" functionality, I was wondering if there is a way to find out if someone has tagged you for change alerts. Please let me know if I can find this out directly or by using an available tool / plugin. I am an user
    and do not have access to the lync server.
    Thanks in advance

    Doulouz is right. It is not possible to check that.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

Maybe you are looking for

  • SSL and BEA-090482 (BAD Certificate)

    Hi All, I am trying to get self-signed certificates to work with the keytool and I have followed just about every instruction to get everything to work. But no matter what I try I keep getting the BAD CERTIFICATE error. My Setup is the following: - I

  • The PDF file I just got from my PDF Pack subscription is not right -- why?

    I use Word on the Mac. When I save my document as PDF I get a file bloated file almost 1 Gig long. I subscribed to PDF Pack in the hope of getting a cleaner, shorter file. And it is  --  2.1MB  --  ta-dah? NO!! It does not have the formatting that I

  • SAP query reports

    why  reports naming contains ==== in sap query reports????

  • OBIEE Analytics URL with fully qualified machine name

    Hi All, I have issue with analytics URL, Analytics URL works fine if it is in this form: [<machine-name>:9704/analytics], but for EBS integration purpose, i need to give fully qualified name like: [<machine-name>.<domain-name>.<com>:9704/analytics].

  • ONLY One user can't sign into outlook

    So we have Exchange 2013 and Server 2012 R2 Remote collections setup. A user logs into the remote collection and can open outlook. If it's the first time they get the usual detecting account and everything works fine. But for one user, it just doesn'