Retrieve a transient property in a repository

How to retrieve a transient property in a repository? I have tried using Repository.getPropertyValue("propertyName"), but it is not working.

Transient properties are like normal properties in repositories only difference they are not persisted to database.
The getPropertyValue will work for transient properties if they have any value set on them for that request/session.
Are you getting any errors/exceptions?

Similar Messages

  • Using Transient Property as display-property

    Hi,
    is transient property should not be used as display-property in item descriptor? we were using it in ATG 9.2 somehow it is not working in ATG 10.2.
    if we use transient property as display property in BCC we are getting exception that
    java.lang.ClassCastException: vodafone.utils.StringConcatenatePropertyDescriptor cannot be cast to atg.adapter.gsa.GSAPropertyDescriptor
    So i have modified StringConcatenatePropertyDescriptor to extend GSAPropertyDescriptor, now getting different exception..
    In ATG 10.2 display-property must be persisted?
    java.lang.NullPointerException
    [8Cat atg.remote.assetmanager.editor.service.RepositoryAssetPropertyServiceImpl.createElementState(RepositoryAssetPropertyServiceImpl.java:1204)
    [8Cat atg.remote.assetmanager.editor.service.RepositoryAssetPropertyServiceImpl.getCollectionPropertyValues(RepositoryAssetPropertyServiceImpl.java:1424)
    [8Cat atg.remote.assetmanager.editor.service.RepositoryAssetPropertyServiceImpl.getCollectionPropertyPage(RepositoryAssetPropertyServiceImpl.java:1370)
    [8Cat atg.remote.assetmanager.editor.service.RepositoryAssetPropertyServiceImpl.createCollectionPropertyState(RepositoryAssetPropertyServiceImpl.java:868)
    [8Cat atg.remote.assetmanager.editor.service.RepositoryAssetPropertyServiceImpl.createPropertyState(RepositoryAssetPropertyServiceImpl.java:394)
    [8Cat atg.remote.assetmanager.editor.service.AssetEditorStateFactory.createAssetPropertyState(AssetEditorStateFactory.java:318)
    [8Cat atg.remote.assetmanager.editor.service.PropertyEditorAssetViewServiceImpl.createAssetViewState(PropertyEditorAssetViewServiceImpl.java:212)
    [8Cat atg.remote.assetmanager.editor.service.RepositoryAssetViewServiceImpl.createAssetViewState(RepositoryAssetViewServiceImpl.java:101)
    [8Cat atg.remote.assetmanager.editor.service.AssetEditorStateFactory.createAssetViewState(AssetEditorStateFactory.java:284)
    [8Cat atg.remote.assetmanager.editor.service.AssetEditorStateFactory.initializeViewInfo(AssetEditorStateFactory.java:182)
    [8Cat atg.remote.assetmanager.editor.service.AssetEditorStateFactory.createAssetEditorState(AssetEditorStateFactory.java:104)
    [8Cat atg.remote.assetmanager.editor.service.AssetEditorStateFactory.createAssetEditorState(AssetEditorStateFactory.java:84)
    [8Cat atg.remote.assetmanager.editor.service.AssetEditorService.getAsset(AssetEditorService.java:276)

    Hi,
    writable attribute is set to false. Exception trace is
    java.lang.ClassCastException: vodafone.utils.StringConcatenatePropertyDescriptor cannot be cast to atg.adapter.gsa.GSAPropertyDescriptor
         at atg.adapter.gsa.GSAItemDescriptor.getGSAPropertyDescriptor(GSAItemDescriptor.java:9862)
         at atg.adapter.gsa.GSAItemDescriptor.executeSingleQuery(GSAItemDescriptor.java:8962)
         at atg.adapter.version.VersionItemDescriptor.executeQueryOnLine(VersionItemDescriptor.java:1219)
         at atg.adapter.version.VersionItemDescriptor.executeSingleQuery(VersionItemDescriptor.java:1142)
         at atg.adapter.version.VersionItemDescriptor.executeQuery(VersionItemDescriptor.java:972)
         at atg.adapter.version.VersionItemDescriptor.executeQuery(VersionItemDescriptor.java:438)
         at atg.adapter.version.VersionView.executeUncachedQuery(VersionView.java:154)
         at atg.repository.query.QueryCache.executeUncachedQuery(QueryCache.java:693)
         at atg.repository.query.QueryCache.populateEntry(QueryCache.java:905)
         at atg.repository.query.QueryCache.executeCachedQuery(QueryCache.java:433)
         at atg.repository.RepositoryViewImpl.executeQuery(RepositoryViewImpl.java:344)
         at atg.adapter.gsa.GSAView.executeQuery(GSAView.java:285)
         at atg.remote.assetmanager.common.service.ServiceUtils.getMultiValuedPropertyMembers(ServiceUtils.java:1139)
         at atg.remote.assetmanager.common.service.ServiceUtils.getMultiValuedPropertyMembers(ServiceUtils.java:954)
         at atg.remote.assetmanager.common.service.PropertyMirrorList.loadFullList(PropertyMirrorList.java:297)
         at atg.remote.assetmanager.common.service.PropertyMirrorList.ensureLoaded(PropertyMirrorList.java:197)
         at atg.remote.assetmanager.common.service.PropertyMirrorList.get(PropertyMirrorList.java:543)
         at atg.remote.assetmanager.editor.service.RepositoryAssetPropertyServiceImpl.getCollectionPropertyValues(RepositoryAssetPropertyServiceImpl.java:1424)
         at atg.remote.assetmanager.editor.service.RepositoryAssetPropertyServiceImpl.getCollectionPropertyPage(RepositoryAssetPropertyServiceImpl.java:1370)
         at atg.remote.assetmanager.editor.service.RepositoryAssetPropertyServiceImpl.createCollectionPropertyState(RepositoryAssetPropertyServiceImpl.java:868)
         at atg.remote.assetmanager.editor.service.RepositoryAssetPropertyServiceImpl.createPropertyState(RepositoryAssetPropertyServiceImpl.java:394)
         at atg.remote.assetmanager.editor.service.AssetEditorStateFactory.createAssetPropertyState(AssetEditorStateFactory.java:318)
         at atg.remote.assetmanager.editor.service.PropertyEditorAssetViewServiceImpl.createAssetViewState(PropertyEditorAssetViewServiceImpl.java:212)
         at atg.remote.assetmanager.editor.service.RepositoryAssetViewServiceImpl.createAssetViewState(RepositoryAssetViewServiceImpl.java:101)
         at atg.remote.assetmanager.editor.service.AssetEditorStateFactory.createAssetViewState(AssetEditorStateFactory.java:284)
         at atg.remote.assetmanager.editor.service.AssetEditorStateFactory.initializeViewInfo(AssetEditorStateFactory.java:182)
         at atg.remote.assetmanager.editor.service.AssetEditorStateFactory.createAssetEditorState(AssetEditorStateFactory.java:104)
         at atg.remote.assetmanager.editor.service.AssetEditorStateFactory.createAssetEditorState(AssetEditorStateFactory.java:84)
         at atg.remote.assetmanager.editor.service.AssetEditorService.getAsset(AssetEditorService.java:276)
         at sun.reflect.GeneratedMethodAccessor524.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:421)
         at atg.flex.messaging.services.TransactionalJavaAdapter.invoke(TransactionalJavaAdapter.java:140)
         at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
         at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1503)
         at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:884)
         at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:121)
         at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
         at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
         at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
         at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:146)
         at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:278)
         at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:322)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         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:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at atg.servlet.pipeline.TailPipelineServlet.service(TailPipelineServlet.java:161)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
         at atg.servlet.pipeline.DispatcherPipelineServletImpl.service(DispatcherPipelineServletImpl.java:253)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
         at atg.servlet.http.CookieBufferServlet.service(CookieBufferServlet.java:97)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
         at atg.userprofiling.ExpiredPasswordServlet.service(ExpiredPasswordServlet.java:356)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
         at atg.servlet.pipeline.MimeTyperPipelineServlet.service(MimeTyperPipelineServlet.java:206)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
         at atg.droplet.DropletEventServlet.service(DropletEventServlet.java:565)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
         at atg.epub.servlet.LocaleServlet.service(LocaleServlet.java:63)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
         at atg.epub.servlet.ProjectServlet.service(ProjectServlet.java:87)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
         at atg.epub.servlet.PublishingSecurityServlet.service(PublishingSecurityServlet.java:58)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
         at atg.commerce.order.CommerceCommandServlet.service(CommerceCommandServlet.java:128)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
         at atg.commerce.promotion.PromotionServlet.service(PromotionServlet.java:191)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
         at atg.userprofiling.AccessControlServlet.service(AccessControlServlet.java:655)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
         at atg.servlet.sessionsaver.SessionSaverServlet.service(SessionSaverServlet.java:2425)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
         at atg.userprofiling.PageEventTriggerPipelineServlet.service(PageEventTriggerPipelineServlet.java:169)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
         at atg.multisite.SiteSessionEventTriggerPipelineServlet.service(SiteSessionEventTriggerPipelineServlet.java:139)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
         at atg.userprofiling.SessionEventTrigger.service(SessionEventTrigger.java:477)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
         at atg.userprofiling.ProfilePropertyServlet.service(ProfilePropertyServlet.java:208)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
         at atg.userprofiling.ProfileRequestServlet.service(ProfileRequestServlet.java:437)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
         at atg.servlet.pipeline.CachePreventionServlet.service(CachePreventionServlet.java:119)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
         at atg.servlet.pipeline.DynamoPipelineServlet.service(DynamoPipelineServlet.java:469)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
         at atg.servlet.pipeline.URLArgumentPipelineServlet.service(URLArgumentPipelineServlet.java:280)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
         at atg.servlet.pipeline.PathAuthenticationPipelineServlet.service(PathAuthenticationPipelineServlet.java:370)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
         at atg.userprofiling.sso.PassportServlet.service(PassportServlet.java:554)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
         at atg.servlet.security.ThreadUserBinderServlet.service(ThreadUserBinderServlet.java:91)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
         at atg.dtm.TransactionPipelineServlet.service(TransactionPipelineServlet.java:212)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
         at atg.multisite.SiteContextPipelineServlet.service(SiteContextPipelineServlet.java:302)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
         at atg.servlet.pipeline.HeadPipelineServlet.passRequest(HeadPipelineServlet.java:1174)
         at atg.servlet.pipeline.HeadPipelineServlet.service(HeadPipelineServlet.java:857)
         at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:250)
         at atg.filter.dspjsp.PageFilter.doFilter(PageFilter.java:263)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Thanks
    Gopi
    Edited by: gopivemula on May 21, 2012 11:58 PM
    Edited by: gopivemula on May 21, 2012 11:59 PM

  • Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

    Hi there,
    I use visual studio community 2013 to develop app for office. When I create app project using template and directly run it, it shows me this error: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
    Can anyone help? Thanks in advance.

    Hi holm0104,
    Did you add custom code into the project? Can you reproduce the issue in a new project without custom code?
    If not, did you have issue when you create a normal web application?
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • "Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information" while attempting to open UNIX/Linux monitor

    We have upgraded our System Center to 2012 R2, and we cannot open any of the UNIX/Linux LogFile monitor property or the UNIX/Linux process monitor property for those monitors created prior to the upgrade.  Error we get is below.  Any assitance
    appreciated.
    Date: 9/30/2014 10:01:46 PM
    Application: Operations Manager
    Application Version: 7.1.10226.0
    Severity: Error
    Message:
    System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
       at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection,
    Boolean suppressSecurityChecks)
       at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection,
    Boolean suppressSecurityChecks)
       at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection,
    Boolean suppressSecurityChecks)
       at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
       at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
       at System.Reflection.Assembly.Load(String assemblyString)
       at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.TypeContainer.get_ContainedType()
       at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.MomExtensionsCommon.AddTemplatePages(LaunchTemplateUIData launchData, Form form)
       at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.MomExtensionsCommon.Initialize(Object launchData, Form form)
       at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.MomExtensionsCommon.RunPrivate(Object[] userData)
       at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.MomExtensionsCommon.Run(Object[] userData)

    It's possible the upgrade did not update everything properly as it looks like a dll mismatch or a missing file. I'd open a support ticket with MS and have a support engineer look at the upgrade logs. What version of SCOM did you upgrade from?
    Regards,
    -Steve

  • SGEN: error: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

    Hi,
    I appollogize if this post is off topic. I have problem wiht publish WebApp MVC.
    I have website (MVC) with one Web reference. Build and run in VS working. But when I tried to publish to disk I get error:
    SGEN: error: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
    I have VS2013 Profesional with all updates and Windows 8.1.
    If I remove web reference then publishing working. Where can be a problem? Thanks.

    @Marek Bober,
    Thanks for sharing the solution back to here.
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Retrieve Legend Label Property

    Okay, I'm a flex newbie...this is my 3rd post to this forum
    for support (regarding other snafus since resolved) with no
    luck...hopefully I can garner some expertise here.
    I'm simply trying to retrieve the label property from a chart
    legend?
    In this app. I'm using a list box of items to dynamically
    generate a unique line series for each item upon user click.
    The problem: if a user selects the same item from the list
    multiple times the lineseries continues to be added to the chart
    and legend. I need to disable a user to do this. So, I figured I
    would grab all the legend labels and put into array. Then when a
    user clicks the list box a function is fired to compare the list
    item string with the legend label string to see if the item series
    has already been added to the chart. I just can't seem to retrieve
    the legend label property.
    Here's a tidbit of code that doesn't seem to return anything.
    var checkArray:Array = new Array();
    checkArray.push(myLegend.label);
    trace(checkArray);
    Any ideas here are greatly appreciated. Thanks!

    Implement itemClick event on <mx:Legend> tag. In the
    handler function, use event.item.label to get the label. This is
    assuming you have used ArrayCollection to populate the
    legends/chart and label is one of the properties for every array
    element.

  • ATG transient property

    Hi All,
    What is the use of transient property in  userProfile.xml????  properties out side the table inside item-descriptor.
    1) When do we create a transient property in the xyzRepository.xml files???
    2)What is the use of these transient property???
    Regards 

    Hi,
    Profile has a transient property 'securityStatus' which is used to check the security status (possible values 0-6). This is not stored in DB but is available and set as soon as a Profile item is created.
    More details about security status -> Security Status
    This is one real time example of transient property.
    Hope this helps.
    Keep posting the updates / questions.
    Thanks,
    Gopinath Ramasamy

  • How to retrieve the data/property value from portalapp.xml

    Hi I would like to retrive the some common data from the portalapp.xml file
    <application>
      <application-config>
        <property name="PrivateSharingReference" value="com.sap.portal.htmlb"/>
          </application-config>
      <components>
        <component name="DynZMMGR">
          <component-config>
            <property name="ClassName" value="DynZMMGR"/>
            <property name="SecurityZone" value="DynZMMGR/high_safety"/>
            <property name="ComponentType" value="jspnative"/>
            <property name="JSP" value="pagelet/DynJspZMMGR.jsp"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="dynpagedel">
          <component-config>
            <property name="ClassName" value="dynpagedel"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="VARIANTLIST">
          <component-config>
            <property name="ClassName" value="com.sap.ep.r3rpts.VARIANTLIST"/>
            <property name="SecurityZone" value="com.sap.ep.r3rpts.VARIANTLIST/high_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="DynZMM33">
          <component-config>
            <property name="ClassName" value="DynZMM33"/>
            <property name="SecurityZone" value="DynZMM33/high_safety"/>
            <property name="ComponentType" value="jspnative"/>
            <property name="JSP" value="pagelet/DynJspZMM33.jsp"/>
          </component-config>
          <component-profile/>
        </component>
      </components>
      <services/>
    </application>
    The above is my portalapp.xml file .
    I want to retrieve the common data across the component.
    These  datas are common across the components .
    I kmow by putting the data inside the
    component name="DynZMM33">
          <component-config>
            <property name="ClassName" value="DynZMM33"/>
            <property name="SecurityZone" value="DynZMM33/high_safety"/>
            <property name="ComponentType" value="jspnative"/>
            <property name="JSP" value="pagelet/DynJspZMM33.jsp"/>
          </component-config>
    <component-profile>
       <property name="UserID" value="userid"/>
       <property name="password" value="password"/>
    </component-profile>
    </component>
    this becoms component specific ... which I can retriev the by using
    String ClientVal = request.getComponentContext().getProfile().getProperty("Client");
    in doContent()  method ..
    But this way i have to specify these properties in all the component.. which is repetetive in nature.
    I would rather put it in common location and want to retrieve the info from the portalapp.xml...
    How to achieve this
    I am using "AbstractPortalComponent"  .
    thanks
    pkiran

    Hi Prashanth,
    see Reading another iView's profile personalized values and Validate PCD URI
    Anyhow, maybe you should implement a service which returns the values (from the service profile). This would be more clean for accessing global values.
    Hope it helps
    Detlev

  • Livecycle/Dataservices 2.6.1 [Transient] property

    Hi Guys and Girls
    I am using livecyle 2.6.1 with AIR 2.0.2 and a java backend, with the flex 3.4 SDK.
    I have a managed collection with a property that has a [Transient]  variable set which is used as a flag for products that have been  ordered.This variable is only used locally.
    This collection/dataservice connection has been set to autoSync enabled, however when I change this flag the collection is updated to the server, is there a way to have this changed to not update to the collection to the server when this flag is set.
    I thought (wrongly apparently) having a property denoted as [Transient] was to avoid this default behaviour.
            [Transient]
            public var isOrdered:Boolean=false;  
    Any help you can offer would be much appreciated.
    Cheers
    Jasen

    Dustin,
    Without the ColdFusion based data management destination defined on the LCDS server, the destination will not show up in the RMI registry.  It is only the CF adapter code that does this.  The 'stock' LCDS adapter does not support invoking via RMI the way the CF version does.
    I would recommend you run the LCDS MessageBrokerServlet inside the ColdFusion web application.  This will give you two things:
    1. You will not have the overhead of RMI between CF and LCDS as they will share the same VM (better performance!).
    2. You will be able to use the CF Data Management Gateway to pass messages to Java-based destinations.  The APIs the gateway uses should work fine with either CF or Java based Data Management destinations.
    The CF/LCDS integration doesn't support what you are trying to do when you run two seperate instances.

  • Retrieve Fullname, e-mail from CMS repository

    I have a simple challenge for anyone who has experience with querying the CMS repository.  I have been reviewing the SDK and am really confused on the factory design and instantiation of the BO Infoobject classes.
    I need to capture the Fullname and e-mail from the CMS repository and insert into a second database's table.  It will be used as a reference to users who have access to BO.   Currently we are only using CE logins (no LDAP or Windows logins.)  
    No user interface will be required, just simple database connections from the CMS repository to the history database.
    Any help?

    You will have to add CE references to your project, but here is the code.
    Imports System
    Imports System.Data
    Imports System.Math
    Imports Microsoft.SqlServer.Dts.Runtime
    Imports CrystalDecisions.Enterprise
    Imports CrystalDecisions.Enterprise.infostore
    Imports CrystalDecisions.Enterprise.Desktop
    Public Class ScriptMain
         ' The execution engine calls this method when the task executes.
         ' To access the object model, use the Dts object. Connections, variables, events,
         ' and logging features are available as static members of the Dts class.
         ' Before returning from this method, set the value of Dts.TaskResult to indicate success or failure.
         ' To open Code and Text Editor Help, press F1.
         ' To open Object Browser, press CtrlAltJ.
         Public Sub Main()
            Dim boSessionMgr As New SessionMgr
            Dim boEnterpriseSession As EnterpriseSession = boSessionMgr.Logon("ceuser", "cepassword", "server", "secEnterprise")
            Dim boInfostore As New InfoStore(boEnterpriseSession.GetService("InfoStore"))
            'Dim boInfoobjects As InfoObjects
            Dim Users As InfoObjects
            Dim UserItem As InfoObject
            Dim UserObject As User
            Dim Fullname As String
            Dim EEmail As String
            Dim cTitle As String
            Dim Counter As Integer = 1
            'This query will bring back all infoobjects that are recurring schedules
            Users = boInfostore.Query("SELECT TOP 1000000 SI_EMAIL_ADDRESS, SI_FORCE_PASSWORD_CHANGE, SI_NAME, SI_ID, SI_USERGROUPS, SI_USERFULLNAME, SI_ALIASES, SI_DESCRIPTION, SI_LASTLOGONTIME, SI_PASSWORDEXPIRE FROM CI_SYSTEMOBJECTS Where SI_KIND='User'")       
            For Each UserItem In Users
                UserObject = CType(UserItem, User)
                Fullname = UserObject.FullName
                EEmail = UserObject.EmailAddress
                cTitle = UserItem.Title
            Next UserItem
            Dts.TaskResult = Dts.Results.Success
        End Sub
    Edited by: Doug Moloney on Jul 28, 2008 10:01 PM

  • How to retrieve module table usage data from Repository?

    Hi,
    I would like to retrieve some basic data about my application system's modules, like module name, module componenet name list, base table and lookup table name of the module component, base table operations (insert, update, delete). Did some one do it by using the Designer API? I read the the docs, but it does not look as a to simply thing for me. In Designer 1.3 I could figure out the RDBMS views, but with versioning in 6i/9i it just seem too complicated for me.
    Could any one please post an example here?
    Thank you in advance.
    Regards,
    Tamas Szecsy

    begin
    jr_context.set_workarea('XXXX'); -- Workarea name
    end ;
    select cmc.*
    from ci_application_systems cas
    , ci_app_sys_modules cam
    , ci_module_components cmc
    where cas.irid = cam.application_system_reference
    and cam.module_reference = cmc.general_module_reference
    and cas.name = 'XXXX' -- APP name

  • Language Property of KM Repository Manager Node

    Hi Community,
    i developed a Custom Repository Manager based on the Tutorial form the Code Samples Section.
    I have a question regarding to the language of the TREX Search Results. Everything works fine, but the results have some strange languages. I have a german Site wich has the Langugage catalan. I think the Trex decides automatically which langugage the content has.
    How can i set the language-attribute in my Repository Manager manually? I tried to set the langugage to German by using the following in the function getProperties in the Node-Class:
    SystemPropertyFactory.createContentLanguageProperty("de").
    is that the right way?
    Greetz Marcus

    Hi,
    in order to re-read the config when it is changed you have to implement <b>IConfigListener</b> interface. See my reply in this thread:
    <a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=99794">Re: How to read a file(Propeties files) from a respository service - IConfigListener</a>
    But I'm not sure that also works effectively with repository managers.
    For more info just let me know,
    Romano

  • Life of Transient repository varibles in ATG

    How long do transient repository variables are alive in memory? Are they linked to the session?
    I read that they are not related to Cache, so any cache invalidation events would not effect their life cycle.
    Thanks
    Edited by: Soltan on Jun 27, 2012 10:09 AM - edited to transient repository variables

    Soltan wrote:
    Thanks for the answer Nitin. Per your answer, do you mean that Transient properties are available as long as the repository is up? I may be interpreting it wrong.
    If I create a transient variable say in the profile repository item, wouldn't it be lost once the user's profile object is no longer in scope (session timeout or user logs out) ? The issue I am seeing is that my transient variables are being lost if there is some sort of error (not necessarily related to the repository). Is there a way to know how long these variables are held in memory and when they are discarded.
    The transient property would be available as a state of the RepositoryItem object. On referring to a different RepositoryItem, definitely the transient's property's value would be lost or changed (depending on if you made the transient property as a user defined property to get its value from a RepositoryPropertyDescriptor). So if you add a transient property in the profile, it be would lost or changed once the underlying RepositoryItem changes when session times out or user logs out. I have not tried this but you can go through with the documentation to see if you can possibly use a PropertiesChangedListener to detect when the property value changes.
    Soltan wrote:
    I have a few in the order repository on the commerceItem, that hold information about manual discount values. If there is an error during checkout (payment >or such), I still have the order, commerce items, promotions etc but these manual discount values (which are transient properties) are disappearing. So the next >time reprice happens I am missing these discount values.I believe somewhere you must be setting the discount related values into those transient properties in the order so can't you set them again on repricing after an error?
    As an alternative, see if you can make your transient property for manual discount as a user defined property by adding property-type attribute to your repository definition XML. Something like as:
    <property name="manualDiscount" property-type="mypackage.ManualDiscountPropertyDescriptor">
      <!-- if required you can pass additional attributes and values to your RepositoryPropertyDescriptor -->
    </property>Then implement ManualDiscountPropertyDescriptor to hold your discount information and required logic as there will be one instance of ManualDiscountPropertyDescriptor class which would be used for manualDiscount property irrespective of user session as long as repository is up.
    public class ManualDiscountPropertyDescriptor extends RepositoryPropertyDescriptor {
    public Object getPropertyValue(RepositoryItemImpl item, Object value) {
    // here item parameter is the order RepositoryItem on which you are calling the property getter
    // return value based on your logic using data from order and discount info
    }For more details, you can refer to user defined property type section in ATG Repository guide which has an example also.

  • Retrieve custom property for a community

    How would you retrieve a custom property set on a Community? Is there an equilavent PT tag similar to the "pt:userInfo" tag?
    Any info would be appreciated!--jason

    We went a different route to obtain custom properties. However, when using the QueryObjects method, you have to pass it the folder id. How would go about retrieving the current folder id?
    Thank you again!--JasonFTN Financial
    Here is the code we are using:
    Dim oPortletcontext As Plumtree.Remote.Portlet.IPortletContextDim oPortletManager As Plumtree.Remote.PRC.IObjectManagerDim oExtendeddata As Plumtree.Remote.PRC.IExtendedDataDim oQuery As Plumtree.Remote.PRC.IObjectQueryDim oRow As Plumtree.Remote.PRC.IObjectQueryRow
    oPortletcontext = Plumtree.Remote.Portlet.PortletContextFactory.CreatePortletContext(Request, Response)
    oPortletManager = oPortletcontext.GetRemotePortalSession.GetObjectManager(Plumtree.Remote.PRC.ObjectClass.Community)
    oQuery = oPortletManager.QueryObjects(353)oRow = oQuery.GetRow(0)oExtendeddata = oRow.GetExtendedData
    response.write(oExtendeddata.GetValue("Reference Number"))

  • Retrieve docroot property

    This seems like it should be a simple task, but I can't find an example or glean much from the documentation. I simply want to retrieve the docroot property value from the virtual server "server" from a deployed application.
    (I'm running Sun Java System Application Server 8.0.0_01)
    Any pointers on how to do this or where to look in the documentation would be greatly appreciated.
    Thanks,
    Kurt

    Let me qualify that this is a deployed web service in which I would like to get the appserver's "server" docroot property.

Maybe you are looking for

  • Safari address field is missing

    I have a power mac g4 and upgraded to tiger I am the administrator and my daughter is another user, on my safari page there isn't an address field although when my daughter logs into safari it registers on hers hellllp!

  • Message Delivery Restrictions on Distribution Groups setting "Require that all senders are authenticated" on newly created groups

    This is new behavior.  I recently decommissioned my Exchange 2003 server.  Could this have caused this new behavior?  If so, how do I ensure "Require that all senders are authenticated" is unchecked during group creation? 

  • Can't Import iPhoto Libary

    When i try and import my iPhoto Libary i cant select the files! Its really annoying, i went to file -> import then iPhoto libary but it wont let me! Argh, sorry if this is a frequent post, Thanks in advance, Jimbo

  • What's The Point Of The Documents Switch In iCloud Preferences?

    According to the help pages on iCloud.com, OS X users must manually upload and download documents as they wish to edit them.  This is different from iOS devices as they get the latest version automatically pushed to them. What's the point of the of t

  • Standby & Listener

    Hello, I have read on the net: The stopping of the listener doesn't quit the connection between the two databases. The Listener of the Data Guard only initiates the first connection. After that it establishesh socket connection between the processes