Constants vs Properties

Hi there,
We currently use properties files for the storage of error messages something like this: ...
EM53=Invalid account number
...This all works fine, but I was wondering about the performance issues associated with reading properties, and I wondered about the advantages of using Java constants to store these values instead (say in an interface).
String EM53 = "Invalid account number";Now the obvious issue with this, is how to get from a string containing the error code ("EM53" in the example) to the actual error message. This is where Reflection could be used. But then there are performance implications to using Reflection to get the value of a field too.
Please note that the software will only ever be used by one company in English speaking countries and it is extremely unlikely that we would require multiple versions of these messages. Also note that the current deployment method of new releases of the software, precludes the deployment of individual jars or files.
Obviously I can test the performance implications for myself easily enough, but would anyone like to comment on these alternative approaches from a design or maintenance perspective?
Thanks,
Tim

If you wanted to have variables you could access,
then something simple like this would
work:public class Messages {
public static final String EM53 = "Invalid account
nt number";Yep that was what I was suggesting. The issue is that we pass back the error code from the server to the client, so we need a way of converting from a string code into the constant name to get the string value for display. That was what I was suggesting the use of Reflection for.
uses it. So changing the value of that string would
require recompiling every class that used it, to get
the new value into those classes.True - we are aware of that. Messages change very infrequently and if we're using Reflection to read the constant then this doesn't apply anyway.
quantify them. You only read a properties file once,
when the program starts up (at least I hope that's
how your code works). After that you're just doing a
lookup in a hash table to get the error message,This is a good point. I'll have to think about this.
Thanks,
Tim

Similar Messages

  • Constants or properties file - best practice question

    Hi,
    My application has a number of values that will be used in different classes throughout my project. For example, I perform a check against the max allowed length of an ID in numerous places in my code.
    Therefore, it makes sense to set this value in a central location, and refer to it as a variable where it is required in my code.
    I see in other projects that using a public static final member in a Constants class is used to set these types of values. Is this recommended or best practice?
    The only alternative I can think of would be to use a properties file, and inject the value using Spring etc.
    What is considered best practice or the neatest way for doing this?
    Thanks

    user10340197 wrote:
    Thanks. I'm using Spring anyways, so it would provide me with the PropertyPlaceHolderConfigurer for injecting these.And the name of that class provides a clue. As Kayaman said, constants are constants. Math.PI does not and will not change, EVER. Neither will Integer.MAX_VALUE.
    Configuration parameters, on the other hand, might change. If your MAX_ID_LENGTH is ever likely to change, and could do so without causing widespread chaos, then it probably should be a property (ie, a configuration) value.
    If not, it should probably be a constant (with appropriate 60-point documentation warning people what might happen if they DO change it).
    Winston
    PS: There is nothing particularly terrible about having a Properties class (except that you'll want to call it something different) that initializes its values from configuration files; except that if there are gazillions of them, you might want to:
    (a) Split them up into "themes".
    (b) Re-think your design.
    Winston

  • Using Java constant in JSF

    Hello!
    I�m new in JSF and I want to use a constant into a jsf tag but I don�t know how to do it. I know in JSTL but not in FSF.
    This is what I want:
         <h:outputText id="test"     value="<%Constantes.DOCUMENT%>"/>     I have tried so many things to use my constant in the value element but I don�t know the way                    
    Thanks.

    first off Scriplets are bad practice in JSF and should be avoided.
    I use this workaround for constants in jsf. Create a my constant as properties on a FacesConstants class, which is defined as a Managed Bean with scope of none and having getters for each property.
    public class FacesConstants implements MyConstants{
    public String document = DOCUMENT;
    public String getDocument(){
    return document;
    <managed-bean>
         <description>used to get faces constants for refereing in EL Expresssions</description>
              <managed-bean-name>constants</managed-bean-name>
              <managed-bean-class>com.myproj.faces.util.FacesConstants</managed-bean-class>
              <managed-bean-scope>none</managed-bean-scope>
    </managed-bean>
    so in the jsf code just say #{constants.document}
    Not sure if this is best practice? in fact I'd prefer a more elegant solution
    Edited by: scottyb on Apr 8, 2008 5:10 AM
    Edited by: scottyb on Apr 8, 2008 5:12 AM

  • Office 365 Sandbox Solution EventReceiver throwing Remote Exception in ItemAdding

    Hi,
    I created a sandbox webpart for O365 with EventReceivers with ItemAdding for Document Library and while i upload a document to library in O365  sharepoint site application throws below exception:-
    System.Runtime.Remoting.RemotingException: Server encountered an internal error. For more information, turn off customErrors in the server's .config file.
    Server stack trace: 
    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at Microsoft.SharePoint.Administration.ISPUserCodeExecutionHostProxy.Execute(Type us
    Same code works perfectly on my Development machine, Please help. Below is the Code
    base.EventFiringEnabled = false;
    bool isFile = (properties.AfterProperties["vti_filesize"] != null);
    if (isFile == true)                   
    SPWeb currentWeb = properties.OpenWeb();
    // Get foldername from url like Document/EC10001/filename.txt                       
    string folderName = properties.AfterUrl.Split(new char[] { '/' })[1];
    SPList spList = currentWeb.Lists[properties.List.ID];                       
    SPQuery spQuery = new SPQuery();                       
    spQuery.Query = "<OrderBy><FieldRef Name='Modified' Ascending='FALSE'/></OrderBy>";
    //Getting the folder object from the list                       
    SPFolder folder = spList.RootFolder.SubFolders[folderName];
    //Set the Folder property                       
    spQuery.Folder = folder;
    int fileSequenceId = 0;                      
    SPListItemCollection items = spList.GetItems(spQuery);
    if (items.Count > 0)                       
    string documentID = items[0]["DocumentID"] != null ? items[0]["DocumentID"].ToString() : string.Empty;
    if (!string.IsNullOrEmpty(documentID))                           
    string splitNumber = documentID.Split(new char[] { '-' })[1];                               
    fileSequenceId = Convert.ToInt32(splitNumber) + 1;                           
    else                           
    properties.ErrorMessage = "Unable to generate Document Id";                               
    properties.Cancel = true;                           
    else                       
    fileSequenceId = 1;                       
    // Set DocumentID like EC10001-001                       
    properties.AfterProperties["DocumentID"] = folderName + "-" + fileSequenceId.ToString(ConstantsList(currentWeb, "DocumentID"));      
    // Retrive "EEC000" string from Constant List               
    properties.AfterProperties["vti_title"] = folderName + "-" + fileSequenceId.ToString(ConstantsList(currentWeb, "DocumentID"));   
    // Retrive "EEC000" string from Constant List                
    base.EventFiringEnabled = true;
    Thanks,
    Pranay Chandra Sapa

    Hi,
    According to your description, my understanding is that when you upload document in Office 365 site, the event receiver in sandbox solution throws error.
    Per my knowledge, if you want to use event receiver in Office 365 environment, you need to use remote event receiver instead the normal event receiver in an app.
    Here are some detailed articles for your reference:
    Create a remote event receiver in apps for SharePoint
    Handle events in apps for SharePoint
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to add expression property using OMB+

    Hi,
    Is it possible to set the expression property for a attribute in the CONSTANT operator through OMB+ ?
    The following commend does not work
    OMBCREATE MAPPING map_name \
    SET PROPERTIES (BUSINESS_NAME, DESCRIPTION) \
    VALUES ('map name ', 'Mapping to test constant') \
    ADD CONSTANT OPERATOR 'CONST1'\
    ADD ATTRIBUTE 'NULL_DATE' OF GROUP 'OUTGRP1' OF OPERATOR 'CONST1' \
    SET PROPERTIES (EXPRESSION) VALUES ('NULL')
    Can anybody provide an example.
    Thanks,
    Sekar,K

    Thanks mark,
    I am not sure what i did wrong yesterday , today the statement is working ? I am using version 9.2.0.4.
    Yesterday initially i tried without operator name ,
    OMBCREATE MAPPING 'M' \
    ADD CONSTANT OPERATOR \
    ADD ATTRIBUTE 'A' OF GROUP 'OUTGRP1' OF OPERATOR 'CONST'\
    SET PROPERTIES ( EXPRESSION) VALUES ('NULL')
    This statement didn't work, after that i have tried with name i was getting different error.
    I will let you know if i am able to re-create the error..
    Does version 10g supports timestamp datatype ?
    Thanks for your help
    Sekar,K

  • DropTarget check against all objects on the stage

    Hey all,
    Not sure the best way to do this.  I have a class we will call DropActivity, here is the code
    package com.activitycontrol
              import com.activitycontrol.DropCheck;
              public class DropActivity
                   // Constants:
                   // Public Properties:
                   // Private Properties:
                   private var _selectedClip:Object;
                        // Initialization:
                        public function DropActivity(/*selectedClip:Object*/)
                        // Public Methods:
                        public function set selectedClip(selectedClip:Object):void
                                  _selectedClip = selectedClip;
                        public function stopDraggingMe():void
                                       var dropCheck:DropCheck = new DropCheck();
                                       //dropCheck.checkAgainst = dropTarget.name; ///***********
                                       if (dropCheck.canBeDropped == true)
                                            _selectedClip.stopDrag();     
                        // Protected Methods:
    when the stopDraggingMe() method is called from another object (code shown below) I need to see all the objects on the stage to see what objects on the stage my currently selected movie clip is over and assign it to the dropCheck.checkAgainst method (that will be checked against an array to see if it can in fact be dropped, if so set the canBeDropped value to true and therefor run the .stopDrag() ).  I have read using root is not a good coding practice in AS 3.
    call to the stopDraggingme() mehod.
    private function setDown(event:MouseEvent):void
                             var droppedItem:DropActivity = new DropActivity();
                             droppedItem.selectedClip = this;
                             droppedItem.stopDraggingMe();

    No, I think I can use drop target, I just need to use it from the DropActivity class and not a document class. I just don't know how to use it from a non-document class.
    "and you need to loop through all displayobjects to see which have a positive hitTest with your dropped object, correct?"
    I am trying to say..... ok, what movie clip is currently under the one I have selected,  the drop activity class knows what object I have selcted as it is in the selectedClip variable.  so I need to find out what clip is under it ......... the light just came on!
    answer duh......dropCheck.checkAgainst = _selectedClip.dropTarget.parent.name;
    thanks a bunch kglad you have helped me out once again, you are the man. I might just have to buy you a beer one of these days.

  • Additional header request needed for OData4j

    To get OData4J working with Netweaver Gateway 2.0 I had to add the following in the header
    X-Requested-With: XMLHttpRequest
    Not sure why this is necessary, would be interested in hearing why, I thought i would share how its done.
    //ODataConsumer c = ODataConsumer.create(Constants.flightSVC);
    ODataConsumer c = ODataConsumer.create(Constants.flightSVC , new OClientBehavior(){
          @Override
          public void modify(ClientConfig cc) { }
             @Override
             public ODataClientRequest transform(ODataClientRequest request) {
                String userPassword = Constants.USER + ":" + Constants.PASSWORD;
                String encoded = Base64.encodeBase64String(userPassword.getBytes());
                encoded = encoded.replaceAll("\r\n?", "");
                request = request
                       .header("X-Requested-With", "XMLHttpRequest")
                       .header("Authorization", "Basic " + encoded);       
                return request;
    // Create new entity
    OEntity newBooking = c.createEntity(Constants.BookingCollection)
                .properties.....
    Hope this helps someone.
    Cheers
    John P
    PS. TCPGW tool (note 856597) is an effective way to trouble shoot HTTP API's

    Hi Genady,
    Thanks for reply.
    I am not an expert in this area but I will walk you through why I am questioning the need for this particular header value, feel free to correct me where I am wrong.
    XMLHttpRequest (XHR) is an API available to browser scripting languages like javascript.
    First off I have to put the request in the header when using a Java or .Net client, these clients have nothing to do with XHR.
    Secondly without JSON formatted feeds and forgetting about REST test clients and the like, you are left with XML calls, using XHR with XML you have to follow the Same-Origin-Policy, that is the code and the client have to reside on the same domain, not much room for Cross-Site Request Forgery unless you use a server side proxy.
    Cheers
    JSP

  • Oh Noes!.... Not a 1046!!!!  :o

    To be bluntly honest, I don't understand what I'm doing wrong. I've developed the menu system of a game, but the button objects are creating problems for me.
    In my Flash Project (CS4, Air 1.5) I have the "Game" MovieClip which basically holds my game so that I can just drag and drop it on top of the UI in the main stage once I'm done.
    I've then got the "TitleMenu" MovieClip, which brings up the opening menu of the game (in front of some scenery in the Game MovieClip)
    This menu includes 3 buttons, which are just MovieClips - AboutButton, PlayButton, and ScoresButton.
    These three buttons have their own class code files linked to their MovieClips. in fact, all of the items have their own class definition files. There are apparently no script errors, but when I debug:
    1046: Type was not found or was not a compile-time constant: AboutButton.

    Here is the code for the About Button, it's the same functions for all three functions... in fact... they have the same names... but htey're private so I didn't think that would matter...
    package {
    import flash.display.MovieClip;
    import flash.events.Event;
    import flash.events.MouseEvent;
    import flash.display.DisplayObject;
    public class AboutButton extends MovieClip {
    // Constants:
    // Public Properties:
    // Private Properties:
    // UI Elements:
    // Initialization:
    public function AboutButton() {
    this.addEventListener(MouseEvent.ROLL_OVER, onRoll);
    this.addEventListener(MouseEvent.ROLL_OUT, outRoll);
    private function onRoll() {
    this.alpha+=.5;
    if (this.alpha==1) {
    this.alpha=1;
    private function outRoll() {
    this.alpha-=.5;
    if (this.alpha==.5) {
    this.alpha=.5;

  • How to keep transform constant ratio selected and show instantly properties

      When pasting an object as layer to base image, I keep select tool Show transform Controls selected. Pasted object has rectangles as expected but select tool doesn't display it's properties ribbon next to it, until I select object corner. Only then I can set keep ratio selection. 1.When opening new image, I have to set constant ratio each time again. How to set constant ratio constantly on? 2. Even if the ribbon always visible setting would be of a great help.
    Thank you!
    CS5, XP Pro

    I don't think there's any way to get that setting to stick, unfortunately.  Note that whenever  you start Edit - Free Transform the H & W aren't locked together either.
    You could try to get in the habit of holding the shift key down when sizing, to keep H & W resizing locked together.
    -Noel

  • Provider Speicifc Properties on MultiCube and constant Selection in Query

    Hi Experts
    I are using BI 7.0, just upgraded to SP24 and having an issue with a MultiPrvider. All of this worked great before the upgrade. Here are the symptoms I am experiencing.  This MultiCube has 2 InfoObjects where "Provider-Specific Properties" are set with a constant value.
    1) If I display data on MultiCube I can only get consistent results if I chose for "Field Selection for Output" and select All SID fields. If I don't get any results if SID fields are not selected for display.
    2) Query on on MultiCube has a Res. Key Fig. using constant selection on Infoprovider plus other Infoobjects.  When I execute I get a dump with errors Brain 222 ( referencing the 2 objects that are set as constant on MultiCube, as well as Brain 635 .  I have researched both have not yet found anything helpful.  Query does execute if I take off the constant select on Infoprovider but then don't get results I want.
    I have tried to re-activate MultiCube. I got warnings on CMP error and inconsistency and messages R7I 114, R7I 127 but activation was successful.
    I would be very grateful for any suggestions.
    Thanks so much.

    Can you try log out and re-login??
    As well when you display DATA, first of all
    1. it ask you select necessary field before you go for FIELD OUTPUR FOR SELECTION
    2. Overthere in SELECTION top menu, SELECT  the second SELECTION menu, and select option "SELECT CHARACTERISTICS" which is the first one.
    3. THen enter
    4. now you go to the screen for FIELD OUTPUT FOR SELECTION, in that Select 4th option "SELECT ALL CHARACTERISTICS"
    and then execute..
    just give a try..
    not sure how far it helps..
    May i know the restriction which stops you running the query..?
    try the constant selection on only one object and try...
    Edited by: SAP BI Learner on Oct 28, 2011 5:30 AM

  • KM Task Scheduler: How to create custom/editable properties?

    Dear All,
    I created a KM Scheduler Task using the NDWS Wizard.
    The application was successfully deployed and the task runs fine. However, I would like to define some custom properties that could be edited by using the portal, like the standard ones such as Priority, CM Systems, etc.
    Is that possible?
    I already tried to add it in the portalapp.xml, and also in the auto generated files that are in data and meta folders (..co.xml), but the new properties have not appeared in the screen.
    Thanks in advance,
    Marco

    Hi Romano,
    Thanks for the input.
    Do you know in which of the .co.xml files should be added? There is one in "data" and another in "meta" folders.
    The one in "data" folder (actually in one of the subfolders of "data folder") has the following content:
    <?xml version="1.0"  encoding="UTF-8" ?>
    <Configurable configclass="domain.task">
    <property name="name" value="domain.task" />
    <property name="active" value="true" />
    <property name="description" value="Task Test" />
    </Configurable>
    I added in this file a new property but no result.
    The one in meta folder (also in a subfolder of it) has the following:
    <ConfigClass name="domain.task"  extends="SchedulerTask">
    <attribute name="class" type="class" constant="domain.task"/>
    </ConfigClass>
    In this one when I tried to add a new property the task simple does not show, maybe I am not using the correct syntax.
    Do you know in which of these files I should put the custom property and using which syntax?
    Thanks in advance,
    Marco

  • Adding an item to a List when clicking a WebPart Properties 'OK' button

    Hi all,
    I wonder if someone can help me. Im new to SharePoint Programming but learning slowly. 
    I have a superb Web Part downloaded from Codeplex which essentially is a Countdown Timer in jQuery. (spCountdown) The code itself works perfectly however I want to tweak it, in what I thought would be a relatively easy thing to do.
    In the Web Part properties of the solution, there is a textbox where you enter the Date/Time which you wish to set the countdown timer. When I click 'OK' to submit the WebPart, I would like the date value in the textbox to be added to a List as a new List
    item. I've got the code to add the List item (or what im think is the correct code) but what I cant do is get the function to execute when the WebPart 'OK' button is clicked. 
    Now, I have downloaded the source code which is available but I cant fathom how to hook the 'Update List Item' code onto the onclick event of the button (as I cant find an onclick event!). Any help to advise me what to do would be appreciated.
    My code to add the date to the new List:
    // create item in Deadline Configuration List
    using (SPSite oSiteCollection = new SPSite(SPContext.Current.Site.Url))
    using (SPWeb oWeb = oSiteCollection.OpenWeb())
    SPList oList = oWeb.Lists["DLConfig"];
    SPListItem oListItem = oList.Items.Add();
    oListItem["Title"] = "Deadline Date";
    oListItem["TaskDueDate"] = new DateTime(WebPart.TargetDate.Year, WebPart.TargetDate.Month, WebPart.TargetDate.Day);
    oWeb.AllowUnsafeUpdates = true;
    oListItem.Update();
    Original WebPart Code:
    SPCountdownWebpart.cs
    using System;
    using System.ComponentModel;
    using System.Web.UI.WebControls.WebParts;
    namespace SPCountdown.SPCountdownWebPart
    [ToolboxItemAttribute(false)]
    public class SPCountdownWebPart : WebPart
    // Visual Studio might automatically update this path when you change the Visual Web Part project item.
    private const string _ascxPath = @"~/_CONTROLTEMPLATES/SPCountdown/SPCountdownWebPart/SPCountdownWebPartUserControl.ascx";
    protected override void CreateChildControls()
    var control = Page.LoadControl(_ascxPath);
    if (control != null)
    ((SPCountdownWebPartUserControl)control).WebPart = this;
    Controls.Add(control);
    [Category("Countdown Settings"),
    Personalizable(PersonalizationScope.Shared),
    WebBrowsable(true),
    WebDisplayName("Target Date/Time"),
    WebDescription("Please enter the target date/time for countdown.")]
    public DateTime TargetDate { get; set; }
    SPCountdownWebpartUserControl.cs
    using System;
    using System.Web.UI;
    using Microsoft.SharePoint;
    namespace SPCountdown.SPCountdownWebPart
    public partial class SPCountdownWebPartUserControl : UserControl
    public SPCountdownWebPart WebPart { get; set; }
    public SPCountdownWebPartUserControl()
    PreRender += SPCountdownWebPartUserControl_PreRender;
    void SPCountdownWebPartUserControl_PreRender(object sender, EventArgs e)
    // parse date from properties
    var targetDateString = string.Format("{0},{1},{2},{3},{4},{5}",
    WebPart.TargetDate.Year,
    WebPart.TargetDate.Month - 1, //uses 0-based index
    WebPart.TargetDate.Day,
    WebPart.TargetDate.Hour,
    WebPart.TargetDate.Minute,
    WebPart.TargetDate.Second);
    // js sources
    const string jqueryScript = "<script type='text/javascript' src='/_layouts/SPCountdown/js/jquery-1.10.2.min.js'></script>";
    const string countdownScript = "<script type='text/javascript' src='/_layouts/SPCountdown/js/jquery.countdown.min.js'></script>";
    // create javascript implementing countdown
    const string jsCountdownFormat = "<script type='text/javascript'>$(function () {{var targetDate = new Date({0});$('#defaultCountdown').countdown({{until: targetDate}});}});</script>";
    var jsCountdown = string.Format(jsCountdownFormat, targetDateString);
    // register client scripts
    var cs = Page.ClientScript;
    if (!cs.IsClientScriptBlockRegistered("jQuery"))
    cs.RegisterClientScriptBlock(
    GetType(),
    "jQuery",
    jqueryScript);
    if (!cs.IsClientScriptBlockRegistered("jsCountdownScript"))
    cs.RegisterClientScriptBlock(
    GetType(),
    "jsCountdownScript",
    countdownScript);
    if (!cs.IsClientScriptBlockRegistered("jsCountdown"))
    cs.RegisterClientScriptBlock(
    GetType(),
    "jsCountdown",
    jsCountdown);
    protected void Page_Load(object sender, EventArgs e)
    Can anyone help me with where I need to implement my code to get the List Item to be created when the Web Part properties are set?
    Thanks in advance.
    Rick Lister
    -=Stylus=-

    Hi,
    Please refer below link regarding web part custom properties,
    I think you need to write code under ApplyChanges() Method.I am not sure. Just try it once.
    http://sharepointkitchen.blogspot.in/2014/10/custom-web-part-properties-approach-2.html
    Don't forget to mark it as an Answer if it resolves your problem or Vote Me if it useful.
    Mahesh

  • How to Assign a Constant Value to a Dim. Member when pulling Master Data?

    BPC Gurus:
    I am trying load Vendor and Customer Master data into BPC dimension.  My Dimesnion has memebrs: ID, EVDESCRIPTION, PARENTH1, TYPE.  I have successfully pulled the ID and the description from 0CUSTOMER and 0VENDOR.  However, I
    need to have a ttext value for 'PARENTH1' and 'TYPE'.  For Customers, I want to add a FIXED value "'CUSTOMER' for every
    Customer ID pulled in and also for "TYPE", I want a value of "CUSTOMER".  When I maintainthe Dimension, I want to see
    th followingvalues:
    ID                          EVDESCRIPTION                                   PARENTH1                         TYPE
    0000000001         WALMART                                            CUSTOMER                        CUSTOMER
    0000000002          TARGET                                               CUSTOMER                        CUSTOMER
    and so ON
    Since we have Vendor Numbers in the same Diemsnion, when I pull Vendors, I need to have similar values as:
    ID                          EVDESCRIPTION                                   PARENTH1                         TYPE
    0000005050         ABC Supply Inc.                                   VENDOR                            VENDOR
    0000005051         BASF                                                    VENDOR                            VEDOR
    and so ON
    How can assign a Fixed value to the member Propert?  Can I achieve it in Conversion file....? 
    ( My atempts failed...).
    Any suggestion recommendation would be gretaly appreciated.
    Munna.

    Hi,
    For adding fixed values to the properties, you can use the transformation file. In the mapping section, you can specify a constant value. This value will be written to properties of all the members while importing master data. However, for parenth, its a bit different. First thing is that, you need to have a member called CUSTOMER, then only you can have CUSTOMER in the parenth column. Even if you add it and use the mapping section for this purpose, then it will write CUSTOMER to parenth for all the members (even to CUSTOMER member). And this will be wrong. So, you will need to write it manually.
    Hope you got the idea.

  • I am looking for a CRM system that integrates with mail chimp or constant contact, hoot suite and forms stack

    I am looking for a CRM system that integrates with mail chimp or constant contact, hoot suite and forms stack

    Hi,
    I could resolve the issue since there were lot of issues after system copy.
    1. During distribued to Cenrtal system - system copy.
    You need to combine both DB and CI export copies in one folder during which one thing can happen.
    SOURCE.PROPERTIES - this file will be there in DB export JAVA folder and also CI export JAVA folder where
    DB SOURCE.PROPERTIES file doesn't have an entry of "src.ci.host". This will stop the SAPINST with error and after modifying the file "SOURCE.PROPERTIES" Traget System Copy finishes without any issue.
    Then after this stage I encountered an issue with bind hosts entry in config tool which was due to virtual host name usage in my HACMP setup due to whcih JAVA gives a startup problem.
    I eliminated this issue also.
    After JAVA started I faced an issue with XI related navigations.
    ecchangeProfile url still had an entry of Production System. This may be a bug.
    After changing that entry, exchangeProfile was downloaded but it had all the source system host entries which were manually changed.
    Now I can access all the XI related navigations.
    I need to also perfrom SGEN and Profiles import.
    Do I need to change any additional settings after this so that my production and DR can work without any issue?
    Do you have any additional checks which I can perfrom to ensure my DR systems consistency before I start the log shipping from Production?
    Regards,
    Rajkumar

  • Assigning a value to a Constant

    I have OWB 10..0.1.31 on XP as Client installed.
    I want to assign a value to a constant; I did the following:
    Picking the Constant from the toolbox->assigned a name to the constant ->added an attribute to the outputgroup, the name is TODAY DATE; I then did an right click on the attribute, I expected, that a window will pop-up, which shows me, among others, the Expression-button; instead of that, the Constant-Editor pops-up again, so I am not able to assign the Constant a value.
    Does anybody does have an idea, where my mistake is ?
    Regards,
    Rüdiger

    Hi Rüdiger
    When you click on the attribute in the constant operator in the mapping canvas, the Attribute Properties should be refreshed in the mapping editor (it is a dockable panel in the mapping editor). In this panel there are a bunch of properties for the attribute (representing your constant) and one of them is the Expression. Click on the right hand column of the property inspector table next to Expression and the expression editor will appear....
    Cheers
    David

Maybe you are looking for

  • Connecting Computer to my Tv

    Hi, i was wondering if i can connect my computer to my tv to watch shows (mainly wrestling) we do not have cable. I was planning on getting a HDMI cable and connecting to my tv. My question is will that work? and will i be able to use my computer whi

  • Listing executed statements for a user

    Hi All, I use Oracle 11gR2. For debugging an application I cannot modify, I need to list all statements of a given user in a time period, say last 3 minutes or from 11:23-11:26. Per session observation is not appropriate, because I don't know when an

  • Substitution for SDM

    Hi all, for development purposes we used the remote SDM API to deploy new development stuff to our J2EE instances. But with NetWeaver CE 7.1 SDM is obsolete. Is there another remote API, for example for JSPM or NWA? Thanks in advance Markus

  • Don't Know About ASIO Settings

    Ok someone recently told me to check the ASIO drivers and said I had a latency problem because my recording problem, the soundcard records or the vocals be off beat. I don't know how to check the latency or whatever I s there anything that I can chan

  • What's the best authentication model for a PRO*C process?

    We presently have a system where 5 or so PRO*C-based processes on remote nodes (HP OpenVMS) connect to a database (RH Linux) using Oracle Client and insert data. The current authentication method is for the C based program to read a connection string