S11 add content to a locall repo

I would like to create a local repository that includes just a couple of packages ie FireFox, Gzip ... etc.
I think I have figured out how to create the local repo, but how do I add specific pkgs to this.
Thanks,
M

Did you see this section?
Customizing Your Local Repository
http://docs.oracle.com/cd/E23824_01/html/E21803/customizerepo.html
You can create a repository that is a subset of the source repository. The following command copies all versions of the group/feature/amp package and all dependencies of those versions to the amprepo repository. The amprepo repository was previously created using the pkgrepo create command.
# pkgrecv -s http://pkg.oracle.com/solaris/release/ -d /export/amprepo -m all-versions -r group/feature/amp
So you could do something like:
# pkgrecv -s http://pkg.oracle.com/solaris/release/ -d /my/repo pkg1 pkg2 pkg3
See also the pkgrecv.1 man page
http://docs.oracle.com/cd/E23824_01/html/E21796/pkgrecv-1.html
which starts:
pkgrecv allows the user to retrieve packages from a pkg(5) repository or package archive. pkgrecv can also optionally republish the retrieved packages to a different package repository
See examples 4 and 5

Similar Messages

  • Add content to report (locals variable by example)

    I would like to add some extra information in my TestStand V4.1 report.
    Is it possible to add some text strings, values of local variable etc... ??

    This doc lists several ways to go about it.  Pick your poison.
    http://zone.ni.com/devzone/cda/tut/p/id/8289
    The best for 4.1 is to use the section titled Using Additional Results in TestStand 4.1 and Later. 
    Regards,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • Local-repo ~ a local repository manager with AUR support

    Hey people,
    i want to announce the release of local-repo 1.6.2. I made it to easily build and manage my own repos with fancy features like:
    caching & logging
    config file support
    AUR support - add & upgrade packages from the AUR
    an ABS like PKGBUILD store
    a buildlog store
    package and database signing
    localization
    Maybe this is something for you, too.
    Visit the projects website [1], if you want to know more about it.
    The PKGBUILD is available in the AUR [2].
    Much fun, ushi
    [1] http://ushi.wurstcase.net/local-repo/
    [2] https://aur.archlinux.org/packages.php?ID=56876
    Edit:
    The first run should be something like this:
    $ mkdir testrepo && local-repo testrepo -A vim-html5-git
    This will create a new repo in the directory testrepo and add vim-html5-git from the AUR.
    Last edited by ushi (2012-03-31 12:04:40)

    Awesome! Looks like what I need, let's see if I can get it to work.

  • Add Content renders blank pop list

    I have created a Webcenter application.
    The edit button changes the mode to editable. Upon hitting the Add Content button, a blank pop list is rendered with the following exception:
    Mar 12, 2010 5:28:35 AM oracle.adfinternal.rc.model.service.CatalogService getCatalogContext()
    SEVERE:
    oracle.adf.rc.model.exception.InvalidCatalogException: cannot initialize the catalog context with catalog [default-catalog]
         at oracle.adfinternal.rc.model.service.CatalogService.getCatalogContext(CatalogService.java:1720)
         at oracle.adfinternal.rc.model.service.CatalogService.retrieveItems(CatalogService.java:1412)
         at oracle.adfinternal.rc.model.service.CatalogService.getItems(CatalogService.java:499)
         at oracle.adf.rc.model.dc.ResourceCatalog.getItems(ResourceCatalog.java:303)
         at oracle.adf.rc.model.dc.ResourceCatalog.getItems(ResourceCatalog.java:490)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:567)
         at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:2113)
         at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:3020)
         at oracle.adf.model.bean.DCBeanDataControl.invokeMethod(DCBeanDataControl.java:439)
         at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:257)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1625)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2120)
         at oracle.adf.model.bean.DCBeanDataControl.invokeOperation(DCBeanDataControl.java:467)
         at oracle.adf.model.adapter.AdapterDCService.invokeOperation(AdapterDCService.java:307)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:730)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.invokeMethodAction(JUMethodIteratorDef.java:173)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.initSourceRSI(JUMethodIteratorDef.java:656)
         at oracle.adf.model.binding.DCIteratorBinding.callInitSourceRSI(DCIteratorBinding.java:1655)
         at oracle.adf.model.binding.DCIteratorBinding.internalGetRowSetIterator(DCIteratorBinding.java:1631)
         at oracle.adf.model.binding.DCIteratorBinding.setRangeSize(DCIteratorBinding.java:3307)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3115)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2791)
         at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:166)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3084)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2791)
         at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:166)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3084)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2791)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:546)
         at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareRender(FacesPageLifecycle.java:78)
         at oracle.adf.controller.v2.lifecycle.Lifecycle$9.execute(Lifecycle.java:222)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:190)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$1000(ADFPhaseListener.java:19)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$5.before(ADFPhaseListener.java:393)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:58)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:42)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:246)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:193)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:189)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.bea.content.manager.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:178)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:230)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3593)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2203)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2109)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1427)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: oracle.adf.rc.exception.DefinitionNotFoundException: cannot find resource catalog [default-catalog] using MDS path=[oracle/adf/rc/metadata/default-catalog.xml] Root Cause=[MDS-00013: no metadata found for metadata object "/oracle/adf/rc/metadata/default-catalog.xml"] [Root exception is oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/oracle/adf/rc/metadata/default-catalog.xml"]
         at oracle.adfinternal.rc.catalog.CatalogImpl.openCatalog(CatalogImpl.java:150)
         at oracle.adfinternal.rc.catalog.CatalogImpl.openCatalog(CatalogImpl.java:108)
         at oracle.adfinternal.rc.core.RCSessionImpl.getCatalog(RCSessionImpl.java:339)
         at oracle.adfinternal.rc.core.RCSessionImpl.getCatalog(RCSessionImpl.java:323)
         at oracle.adfinternal.rc.model.service.CatalogService.getCatalogContext(CatalogService.java:1708)
         ... 73 more
    The jspx page:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:pe="http://xmlns.oracle.com/adf/pageeditor"
    xmlns:cust="http://xmlns.oracle.com/adf/faces/customizable">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view locale="#{applCorePrefs.locale}">
    <af:document id="d1">
    <af:form id="f1">
    <af:panelSplitter orientation="vertical" splitterPosition="50" id="ps1">
    <f:facet name="first">
    <af:panelStretchLayout id="psl1" startWidth="400px"
    endWidth="300px" topHeight="0px"
    bottomHeight="0px">
    <f:facet name="bottom"/>
    <f:facet name="center"/>
    <f:facet name="start"/>
    <f:facet name="end">
    <af:panelGroupLayout id="pgl1" layout="scroll">
    <pe:changeModeButton id="cmb1"/>
    </af:panelGroupLayout>
    </f:facet>
    <f:facet name="top"/>
    </af:panelStretchLayout>
    </f:facet>
    <f:facet name="second">
    <!-- id="af_one_column_header_stretched_with_splitter" -->
    <pe:pageCustomizable id="pageCustomizable1">
    <f:facet name="editor">
    <pe:pageEditorPanel id="pep1"/>
    </f:facet>
    <pe:layoutCustomizable id="layoutCustomizable1">
    <cust:panelCustomizable id="panelCustomizable1"/>
    <f:facet name="contentA">
    <cust:panelCustomizable id="panelCustomizable2"/>
    </f:facet>
    <f:facet name="contentB">
    <cust:panelCustomizable id="panelCustomizable3"
    layout="horizontal">
    <cust:showDetailFrame text="Custom Show Detail Header Text" id="sdf1"/>
    <af:inputText label="First Label" id="it1"/>
    </cust:panelCustomizable>
    </f:facet>
    </pe:layoutCustomizable>
    </pe:pageCustomizable>
    </f:facet>
    </af:panelSplitter>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    What is wrong with the page here? Or is there any jar that I have missed out.

    I have the same exceptions thrown at me. Unfortunately, I do have the default-catalog.xml created for me. But for some reason it is not found it seems. I have tried creating a custom catalog, but that is not found either. How does one specify in which directory the framework should look for this catalog? Is there anything else to influence the frameworks ability to find a file that clearly exists!
    best regards
    Lucas

  • How to create a text file or XML file  and add content through  code into it...

    Hi Everyone,
    How to create a text file and add content through the code to the text file eform javascript ......orelse can we create a text file in life cycle designer...
    Else say how to create a new XML file through the code and how some content like Example "Hello World".

    You can create a text file as a file attachment (data object) using the doc.createDataObject and doc.setDataObjectContents:
    http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.450.html
    http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.528.html
    You can then export the file with the doc.exportDataObject method:
    http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.463.html
    This won't work with Reader if it hasn't been given the file attachment usage right with LiveCycle Reader Extensions.

  • How to append contents of a local object to dynamic internal table ?

    Dear ABAP-Specialists,
    i am trying to append contents of a local object to a dynamic table. The most relevant lines are the ones written in bold
    I guess the append is the problem due to the reason that a unknown format has to be assigned to a fixed format somehow.
    +METHOD wddomodifyview .+
      +DATA lo_ui_root                TYPE REF TO  if_wd_view_element.+
      +DATA lo_container              TYPE REF TO  cl_wd_uielement_container.+
      +DATA lo_table                  TYPE REF TO  cl_wd_table.+
      +DATA lo_table_column           TYPE REF TO  cl_wd_table_column.+
      +DATA lv_tabname                TYPE         tabname.+
      +DATA lt_output                 TYPE TABLE OF sychar512.+
      +DATA lo_data TYPE REF TO data.+
      +DATA:+
        +lo_node_output_data                    TYPE REF TO if_wd_context_node,+
        +lo_node_table_list                     TYPE REF TO if_wd_context_node,+
        +lo_node_differences                    TYPE REF TO if_wd_context_node,+
        +lo_node_output                         TYPE REF TO if_wd_context_node,+
        +lt_all_elem_differences                TYPE        wdr_context_element_set,+
        +lo_elem_table_list                     TYPE REF TO if_wd_context_element,+
        +lo_elem_differences                    TYPE REF TO if_wd_context_element,+
        +ls_differences                         TYPE        if_table_differences=>element_differences,+
        +lt_differences                         TYPE STANDARD TABLE OF if_table_differences=>element_differences.+
      +FIELD-SYMBOLS:+
                     +<ls_output> TYPE ANY,+
                     +<lt_output> TYPE ANY TABLE.+
    +     ....+
        +*CREATE DATA lo_data TYPE TABLE OF (lv_tabname).*+
        +*ASSIGN lo_data->* TO <lt_output>.*+
        +*LOOP AT lt_differences INTO ls_differences.*+
    +**      APPEND ls_differences-ct_line TO lo_data->*.*+
        +*ENDLOOP.*     ....+
    +ENDMETHOD.+
    Thanks a lot in advance for your Ideas.
    Best regards
    Carsten Klatt
    Please post in the correct forum and use code tags to format your code
    Edited by: Rob Burbank on Oct 1, 2010 1:27 PM

    This might help - you should not reference the data reference directly:
    DATA: lt_t001 TYPE TABLE OF t001,
          ls_t001 TYPE t001.
    DATA: lr_dref    TYPE REF TO data.
    DATA: lv_tabname TYPE tabname.
    FIELD-SYMBOLS: <lfs>      TYPE table,
                   <lfs_line> TYPE ANY.
    lv_tabname = 'T001'.
    TRY.
        CREATE DATA lr_dref TYPE TABLE OF (lv_tabname).
        ASSIGN lr_dref->* TO <lfs>.
      CATCH cx_sy_create_data_error.
    *     Do something
    ENDTRY.
    SELECT * FROM t001 INTO TABLE lt_t001.
    LOOP AT lt_t001 INTO ls_t001.
      ASSIGN ls_t001 TO <lfs_line>.
      APPEND <lfs_line> TO <lfs>.
    ENDLOOP.

  • How do I add content to my iphone using itunes?

    I have watched the tutorial, and I know that once my iphone is plugged in, it shows up in itunes, I should be able to click on that, and then choose "add to" and simply drag and drop items onto my iphone.  However, the "add to" button just will not show up.  I cannot seem to figure out why.
    I thought maybe it had to do with selecting "manually manage music and videos" in the summary info of my iphone in itunes, so I selected that, but when I try and apply that a warning screen comes up saying that my iphone is synced with another itunes library on another computer (it is/was... I have another computer that used to be my primary computer) and it asks me if I want to erase this iphone and sync with this itunes libary... which I don't!! I don't want to erase what is already on my iphone, I just want to be able to add content to it?  Why is itunes so bloody difficult all the time?  Anyway, with this warning screen, I only have the option to either erase and sync, or cancel the change in my settings. 
    Anyway, help!
    Am I missing something?
    Thanks

    Don't hesitate to spend some time with the Manual
    http://help.apple.com/imovie/mac/10.0/#
    which will teach you the basic steps, as the elaborated ones …

  • How to add content source in office 365 ?

    How to add content source in office 365 , where I can add find Manage Content Sources page to click on New Content Source LInk

    You can't. Only sources available is what is already set up...which is SharePoint/OneDrive4B and Exchange via eDiscovery.
    Thanks,
    Mikael Svenson - Search Enthusiast
    SharePoint MVP/MCPD/P-TSP - If you find an answer useful, please up-vote it.
    http://techmikael.blogspot.com/
    Author of
    SharePoint Search Queries Explained and
    Working with FAST Search Server 2010 for SharePoint

  • How do you enable 'Create Content' button on 'Add Content' page?

    How do you enable ‘Create Content’ button on ‘Add Content’ page?
    There is new functionality to a ‘Layout’ type personalization page like ‘Sales Dashboard’.
    Bug 4503123 INCONSISTENT WAY OF ADDING USER-DEFINED REGIONS ON WYSIWYG PAGE:
    There’s no way to add custom content to a configurable page.
    Add a “Create Content” button and let the user create a piece of content that extends to a region he creates.
    It says: Fixed->11.5.10.3CU
    In Oracle® Application Framework Personalization Guide Release 11i Part No. B25439-02 it says:
    p 4-5
    If you personalize a non-configurable page (a page that does not have the necessary metadata to personalize its layout) or when you run your application in Accessibility mode (profile option Self Service Accessibility Features (ICX_ACCESSIBILITY_FEATURES) is set to Standard Accessibility), you will not see the Page Layout Personalization page, as shown below. Instead, you will see the Page Hierarchy Personalization page, page 4-12, where you can perform the same personalization functions, using a descriptive tabular user interface.
    It tried this and can’t get it to display.
    Has anyone run accross this before?

    user587952,
    Can you describe your issue in detail forgetting those references for the time being. What exactly are you trying to do?
    Check this from the dev guide:
    In order to be able to take full advantage of page layout personalization capabilities, it is important when you create your configurable page, to use flexibleLayout and flexibleContent regions at all levels when you create the page hierarchy structure under your page layout region. In Oracle Applications, this is required, as it is the coding standard.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • I would like to add content that changes on a calendar basis, such as 'thought for the day". It can then display a different text or image on a nominated day. Can this be done? Robert.

    I would like to add content that changes on a calendar basis, such as 'thought for the day". It can then display a different text or image on a nominated day. Can this be done? Robert.

    OK Thanks Brad.
    I could use Tockify of course, but wanted to create the same things on an existing site.
    I do not know how to copy the code and get it onto Muse, but that’s OK for now. I will work something else out.
    Robert

  • How to download the Solaris 11.2 latest SRU in order to update the local repo offline

    Hello,
    I am not able to find the SRU patchset to download in order to update the local repo offline. Any idea.

    These are actually in zipped archive format rather than ISO. You will probably want the install guide patch that includes the script that will help apply the incremental SRU repo on top of an existing local repository:
    https://updates.oracle.com/Orion/PatchDetails/process_form?patch_num=20845983
    All the SRUs are documented in this MOS page, along with the SRU READMEs:
    Oracle Solaris 11.2 Support Repository Updates (SRU) Index
    https://support.oracle.com/epmos/faces/DocumentDisplay?id=1672221.1
    -- Alan

  • How to add Content workflow to Webcenter spaces/ custom application

    I would like to add Content work-flows ( Add - review - publish of content) to Webcenter spaces.so that users of Spaces/ application can work with add- publish-review cycle. I want to know if any thing like portlet or something available that can be added.
    I have a webcenter 11g associated with OCS 10.1.3. Does the suites Content Portlet Suite/Content Integration Suite contain these workflows? Please help me in this regard thanks.
    Thanks,
    indra.

    Yes. it is the same way. once the Portletsuite is integrated you can create a workflow in Oracle conent server using Workflow Manager Applet. Extenal Identity store needs to be configured.
    But I have some problem with webcenter spaces users on external Ldap server. In contribution checkout step ,I am not getting the checkout link. i am getting exception like "not suffient privilage".
    But the workflow seems to work fine in idc application.
    Unable to get schema fields. User 'auser' does not have sufficient privileges
    * !csUserEventMessage,auser,CIS!$!csSchErrorGettingFields!csUserInsufficientAccess,auser
    intradoc.common.ServiceException: !csSchErrorGettingFields!csUserInsufficientAccess,auser
         at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor*
    I created Users in webspaces using Own Registration feature. User gets created on Ldap server. And I am able to log on to the content server. If anybody happend to know more on this ,please reply.
    Edited by: indra_owc on Dec 21, 2009 7:03 PM

  • How to Add Content Editor WebPart in PageLayout

    Hi
    I have copied the Content Editor webpart snippet and pasted it in my Page layout.
    But nothing is showing in page edit mode. 
    Can anyone tell me how to add this if the following is not correct?
    <div style="width:100%">
                    <div data-name="WebPartZone">
                        <!--CS: Start Content Editor Snippet--><!--SPM:<%@Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint,
    Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>--><!--MS:<WebPartPages:ContentEditorWebPart xmlns:WebPartPages="namespace" runat="server" webpart="true">--><!--PS: Start of READ-ONLY
    PREVIEW (do not modify)--><div class="ms-webpart-chrome ms-webpart-chrome-fullWidth "><div class="ms-webpart-chrome-title" id="WebPart_ChromeTitle"><span title="$Resources:core,ContentEditorWebPartTitle;
    - $Resources:core,ContentEditorWebPartDescription;" id="WebPartTitle" class="js-webpart-titleCell"><h2 style="text-align:justify;" class="ms-webpart-titleText"><nobr><span>$Resources:core,ContentEditorWebPartTitle;</span><span
    id="WebPartCaption"></span></nobr></h2></span></div><div WebPartID="00000000-0000-0000-0000-000000000000" HasPers="true" id="WebPart" width="100%" class="ms-WPBody ms-WPBorder
    noindex ms-wpContentDivSpace " OnlyForMePart="true" allowDelete="false" style=""><div class="ms-rtestate-field"></div><div class="ms-clear"></div></div></div><!--PE:
    End of READ-ONLY PREVIEW--><!--MS:<WebPart xmlns="http://schemas.microsoft.com/WebPart/v2">--><!--MS:<Title>--><!--SPM:$Resources:core,ContentEditorWebPartTitle;--><!--ME:</Title>--><!--MS:<Description>--><!--SPM:$Resources:core,ContentEditorWebPartDescription;--><!--ME:</Description>--><!--MS:<PartImageLarge>--><!--SPM:/_layouts/15/images/mscontl.gif--><!--ME:</PartImageLarge>--><!--MS:<ID>--><!--SPM:g_4998626c_cd3f_4f31_962c_51e943923c4f--><!--ME:</ID>--><!--ME:</WebPart>--><!--ME:</WebPartPages:ContentEditorWebPart>--><!--CE:
    End Content Editor Snippet-->
                    </div>
                </div>
    S H A J A N

    Hi  ,
    For adding the Content Editor Web Part to a SharePoint Layout , you can add the  code between the <Zonetemplate> tags:
    <!-- CEWP -->
    <WebPartPages:ContentEditorWebPart ID="ContentEditorWebPart1" runat="server" __MarkupType="xmlmarkup" WebPart="true" __WebPartId="{F40E10C3-ED3A-473D-8538-996344EE795C}" >
    <WebPart xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/WebPart/v2">
    <Title>Content Editor Web Part</Title>
    <FrameType>TitleBarOnly</FrameType>
    <Description>Use for formatted text, tables, and images.</Description>
    <IsIncluded>true</IsIncluded>
    <PartOrder>2</PartOrder>
    <FrameState>Normal</FrameState>
    <Height />
    <Width />
    <AllowRemove>true</AllowRemove>
    <AllowZoneChange>true</AllowZoneChange>
    <AllowMinimize>true</AllowMinimize>
    <AllowConnect>true</AllowConnect>
    <AllowEdit>true</AllowEdit>
    <AllowHide>true</AllowHide>
    <IsVisible>true</IsVisible>
    <DetailLink />
    <HelpLink />
    <HelpMode>Modeless</HelpMode>
    <Dir>Default</Dir>
    <PartImageSmall />
    <MissingAssembly>Cannot import this Web Part.</MissingAssembly>
    <PartImageLarge>/_layouts/images/mscontl.gif</PartImageLarge>
    <IsIncludedFilter />
    <ExportControlledProperties>true</ExportControlledProperties>
    <ConnectionID>00000000-0000-0000-0000-000000000000</ConnectionID>
    <ID>g_f40e10c3_ed3a_473d_8538_996344ee795c</ID>
    <ContentLink xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor" />
    <Content xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor"><![CDATA[Edit this text.]]></Content>
    <PartStorage xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor" />
    </WebPart>
    </WebPartPages:ContentEditorWebPart>
    For more information, you can refer to the thread:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/1ba645f2-2481-4560-a4c3-3be9f9e878bc/adding-the-content-editor-web-part-to-a-sharepoint-layout-aspx-page?forum=sharepointcustomizationlegacy
    http://hiren-j-patel.blogspot.com/2012/07/hello-all-today-we-will-add-content.html
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Add Content button not rendered inside Portlets on edit mode

    Hi,
    I have a requirement where administrators will add some external content(Add content) either from taskflow or portlet and that external content (along with taskflow output) will be shown to the users based on some logic performed inside the taskflow/portlet bean code.
    This PanelCustomziable should render AddContent button inside the portlet when pressing ctrl shiftE, but its no doing so? Where as the same PanelCustomizable renders AddContent button inside the taskflow on edit page? Any settings or changes needs to be done to make it work in porlet when consumed in portal?
    a)taskflow cannot be selected for this purpose, as there will be only a single instance of the taskflow across the portal and it cannot retain runtime MDS changes to a specific instance (Unless we design the ADF taskflow with MDS customization layer). By default, any runtime change in one taskflow instance will be propagated to all the other taskflow instances of the portal.
    (For eg.. Admin drops this taskflow onto a page1 and adds a image(external content) using the button AddContent inside the taskflow because of PanelCustomizable and close the page. He drops the same taskflow from RC only to find that the changes he done on page1 is being retained here ..its not resuable because of no MDS per instance)
    So we selected Portlet for this purpose, as it has the inbuilt personalization framework. Admin can personalize each portlet instance and drops on the the same page and diff page again. But with portlets, Add Content is not rendered.
    Its not just external content, the taskflow / porltet has some logic to perform and displays some output based on the ruleId which is the input parameter.
    Taskflow or jsff code
    ==================
    <cust:panelCustomizable id="pc1">
    <cust:showDetailFrame text="rules content" id="sdf1"
    shortDesc="rules content">
    <af:panelGroupLayout id="pg1" >
    <af:outputText label="RuleId" id="ot1" clientComponent="true"/>
    </af:panelGroupLayout>
    </cust:showDetailFrame>
    </cust:panelCustomizable>

    Can you please post this question to weblogic.developer.interest.portal
    newsgroup.
    Thanks
    "Lodewijk Spijker" <[email protected]> wrote in message
    news:3f165945$[email protected]..
    Hi,
    i am using Workshop 8.1 (GA release july) and i have discovered a bug (ora
    feature) with respect to the beta version.
    i have created a simple portlet with a view mode and an edit mode. When i
    place the portlet on the very first page of a one book portal, it works
    perfectly. However, i have a book with three pages and placed the portleton
    the second page. Now when i put the portlet in edit mode, by clicking the
    edit button, i am directed to the first page of the portal and the portlet
    will not show.
    Inspection learned that the URL generated for the edit button, didn't
    contain the _pagelabel parameter. When i added the parameter manually it
    works fine.
    A final remark is that the buttons in the titlebar have no icons thebrowser
    can load.
    hope someone can help me out,
    Lodewijk

  • Using SPmanagementshell to create library ,version enable & Add content type

    Hi Folks,
     How to create library document,enable version, add content type in every site using SPmanagementshell.
    Now i am doing user interface,it is  taking more time to do this task.
    Please give solution using SPmanagementshell to do this task.
    I would be great if someone help.

    Hi,
    Please try code given below:
    $spWeb = Get-SPWeb -Identity http://SPServer
    $listTemplate = [Microsoft.SharePoint.SPListTemplateType]::DocumentLibrary
    $spWeb.Lists.Add("My Documents","My Doc Library",$listTemplate)
    $spDocumentLibrary = $spWeb.GetList("My Documents")
    $spDocumentLibrary.EnableVersioning = $true
    $spDocumentLibrary.ContentTypesEnabled = $true
    $spDocumentLibrary.Update()
    #Add site content types to the list
    $ctToAdd = $site.RootWeb.ContentTypes["<NAME OF ContentType>"]
    $ct = $spDocumentLibrary.ContentTypes.Add($ctToAdd)
    $spDocumentLibrary.Update()
    Hope it helps!
    Thanks,
    Avni Bhatt
    If this helped you resolve your issue, please mark it Answered

Maybe you are looking for

  • Extraction of Open Activities from CRM (CRM t-code S_AE2_89000019)

    Hi Experts, we are to extract data from CRM, in detail the data is about open activities. However it is not pretty clear to me if there does exist SAP content for this requirement (DataSource, InfoSource, DSO, InfoCube etc). The t-code we can use to

  • AS3 and 508 Compliance?

    Hi, When setting up Flash content to be 508 compliant, has anyone encountered any issues in tabbing through the buttons? It seems that the buttons' descriptions aren't being picked up by the screen reader. Thanks, Dan

  • X86 Patch 124939-03 recommended for Solaris 10 SPARC

    Patch 124939-03 (SunOS 5.10_x86: JDMK 5.1 patch) was recommended today by Sun Update Manager on my Solaris 10 u3 SPARC machine. Is this normal? Doesn't look like it. Should I try to install it?

  • Time machine cannot make a backup

    I use Mountain Lion 10.8.4. Recently my Time Machine started to behave wierdly: when backup is going, expected backup size is always by few GB larger than completed part. So that at one point of time it's 70 of 74 GB's done, after that it's 71 of 75

  • STO with Delivery Third party

    Hi all, I have this flow to manage: Company A create an STO against Company B Company B create a PO against an external vendor that delivers the goods to Company A. Can be managed this flow on SAP? The IC third party can be easily managed from a sale