Adding Items to a ListBox in outlook form

Hi,
I'm trying to build a custom form in outlook. I have a dropdown for Projects and a TextBox for the hours. I also have a CommandButton.
What I need to do is when user press CommandButton I want the project Name and number of hours be added in a List Box.
But when I reference my listbox in CommandButton_Click event it says that Object Required. It does not recognize my listbox.
Here is my Code :
Function CommandButton1_Click()
lst.AddItem "g", 0 
End Function
Any suggestions ?

That code won't work unless you have the "lst" control declared globally in the header of your script.  Try adding this right before lst.AddItem:
Set lst = Item.GetInspector.ModifiedFormPages("P.2").Controls("lst")
Update the control and page name ("P.2" and "lst") as required.
Eric Legault (MVP: Outlook)
Co-author, Microsoft Office 2013 Professional Step-By-Step
Try Outlook Touch!

Similar Messages

  • Pre-populating a date/time column with the value entered in the last added item

    I have a list with a column called "expected finish date". Whenever the user adds the very first item in a list, he/she should have to enter a value for this column.
    I want to make all new item entries to pre-poplate this field with the value entered in the previously added item. This way, he/she wont have to re-enter the date every time (which rarely changes). How can this be done?

    could create a second list ("state") with column ("default finish date")...
    create a workflow on main list... if column is blank/empty, pull from second list... otherwise, update second list with the value that was entered.
    Or, customize the form (InfoPath or JavaScript)
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • Link in each item of a listbox control

    Hello,
    I have a "select one listbox" in my form. Inside this I have a "selectItems" object, pointing to a bean. This way, my listbox will be populated.
    My question is: how can I have each item in the list has a URL, to open a window that will navigate to that url?
    Please note that, on the listbox I want to see a name, but a link must be somehow there to be used when the user clicks on an item.
    thank you
    fwu

    hi please have it like a valuechangelistener
    <af:selectOneListbox id="companysol" value="#{allresultbean.selcompany}" autoSubmit="true" valuechangelistener="#{allresultbean.valueChange}">
    <f:selectItems id="sicompany" value="#{allresultbean.companylist}"/>
    </af:selectOneListbox>and in the valuechangelistener navigate to a new window
    valuechange(){
    ExternalContext ectx = FacesContext.getCurrentInstance().getExternalContext();
    HttpServletResponse response = (HttpServletResponse)ectx.getResponse();
    HttpServletRequest req = (HttpServletRequest)ectx.getRequest();
    String scheme = req.getScheme();
    String serverName = req.getServerName();
    int serverPort = req.getServerPort();
    StringBuffer url = new StringBuffer();
    url.append(scheme).append("://").append(serverName).append(":").append(serverPort).append("/BPAL").append("/faces/Login.jspx");
    response.sendRedirect(url.toString());
    FacesContext.getCurrentInstance().responseComplete();
    }

  • Blank value added to dropdown list in Adobe Interactive forms

    Hi,
    I see blank value being added to the value list by default to dropdown lists in adobe interactive forms. The real issue is it's being added sometimes as the first value or last value in the drop down list of values which is inconsistent and resulting in Errors sometimes.
    Is there a way by which we can control the position of the blank value added by default(SAP or Adobe) to the drop down lists in adobe interactive forms .? Secondly , Is this a SAP or Adobe upgrade issue since we observed this issue only after recent upgrades ...?
    I am using HCM processes and forms and I am not adding blank value (space) explicitly in my coding of dropdown list values .
    Thanks for your time .
    Sankeerth
    Edited by: SANKEERTH D on Aug 22, 2011 1:46 PM

    Hi Sankeerth,
    The Web Dynpro framework generates a blank entry to the value set of the dropdown listbox if the Context attribute bound to the dropdown listbox is "nullable" (see properties of the Context attribute).
    The dropdown listboxes of interactive forms will be populated with exactly the same data (value sets) as the "native" Web Dynpro dropdown lisboxes.
    For SAP NetWeaver 7 EhP2, there's a Web Dynpro test application (WDR_TEST_ADOBE_ZCI) available, which demonstrates this: Start it and see the dropdown listboxes labeled "Datatype" and "Datatype (nullable)": Both are bound to Context attributes which are of type DATATYPE_D. The only difference is that one of the attributes is "nullable". The dropdown listbox bound to the nullable attribute contains the additional blank entry.
    Watch the native Web Dynpro dropdown listboxes below the interactive form: They are bound to the same Context attributes and contain the same value sets as the dropdown listboxes of the interactive form!
    Regards,
    Ralf

  • Downloading Outlook Forms email using EWS

    Hi,
    I am trying to download the Outlook Forms emails as it is using EWS however the same is not happening. The Outlook Clas Property that I managed to identify by writing some logs is as below.
    05/09/2014 06:05:01.875 - Login SuccessFull in Mail Box:shEBSFinanceEs ----------------- Mail Count is : 2
    05/09/2014 06:05:02.406 - Mails Item Class Property Is :IPM.Note.Unclaimed Property Request
    05/09/2014 06:05:02.593 - Login SuccessFull in Mail Box:shEBSFinanceEs ----------------- Mail Count is : 2
    05/09/2014 06:05:02.624 - Mails Item Class Property Is :IPM.Note.Unclaimed Property Request
    Appreciate the help!
    Regards,
    Roshan Rajan

    >> I am trying to download the Outlook Forms emails as it is using EWS
    Okay you need to post a code sample of what your trying to do to enable someone to comment on it. If you get an error what is the error ? if your having a particular issue what is the particular issue.
    Cheers
    Glen

  • How to set by code items selected in  listbox

    I have a listbox in which user can make multiple selections.And I have a button which make a specific action but it is clicked I want that the selected Items in the listbox remain selected.
    Due to the fact that the page is reloaded after the click on the button the listbox is populated without having any selected item.
    How can I do this please.
    Thanks in advance.

    I'm not positive I understand your question completely but I am going to take a guess that your asking how to make a command button do its action while not affecting your listbox.
    This is really a tricky problem because i'm assuming these two components are sharing the same form.
    The easiest solution would be to create two separate forms for each. The solution for a single form would be to capture the state that the listbox is in which is a little more difficult.

  • ComboBox very slow adding items when in userControl

    I have 4000 items or so, to add in a ComboBox. When I add ComboBox directly to the form, populating it takes around 20ms, (witch is fine). But I need to add this ComboBox to several forms so i created user control that has only ComboBox in it. Code for adding items remains identical but somehow performance droped significantely to 5sec (witch is unacceptable).
    Anyone has any ideas?

    DataRow[] rows;
    .code for filling rows
    foreach (DataRow row in rows)
    comboBox1.Items.Add(row["Name"].ToString());
    this is what i been doing now.
    can you please give example how to do it with AddRange().
    And im calling this part of the code after Load event of the parent control  (parent of the my user control)

  • Adding data to multiple tables using one form in Access 2010?

    Hi All,
    I have a access database with two tables and I want to create a single form to enter data into that tables.
    How to adding data to multiple tables using one form in Access 2010?
    I don't have to much knowledge of access database?
    Please help me
    Thanks
    Balaji

    You really don't enter identical data into 2 tables.  You enter dat into one single table, and then you have an unique identifier that maps to another table (you have a unique relationship between two tables). 
    Maybe you need to read this.
    http://office.microsoft.com/en-001/access-help/database-design-basics-HA001224247.aspx
    Think about it this way...  What is you update data in 2 tables, and then the data in one of those tables changes, but the data in the other table does NOT change.  WHOOPS!!  Now, you've got a BIG problem.  For instance, you have a customer
    named Bill Gates.  In one Table you update Bill's address to 1835 73rd Ave NE, Medina, WA 98039 and in the other table you accidentally update Bill's address to 183 73rd Ave NE, Medina, WA 98039.  Now you have 2 addresses for Bill.  Why would
    you want that???  Which is right?  No one knows.  If you have one address, you just have to update one address and if there is a mistake, you just have to update one address, but you don't have to waste time trying to figure out which is right
    and which is wong...and then update the one that is wrong.
    Post back with specific questions.
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

  • SSRS 2008 Work order Report , when added item descriotion , somehow costgroup id is not working , donot know why, ( need help)

    SSRS 2008 Production orders created report, when I added item description some how cost group id is not working ,
    my costgroup id did not break into labor , only Mat Cost showed in the total,
    my query is as below,  did I link the wrong field,   I want to show Labor total also
    can some one suggest what I did wrong .
    any advise will be great
    SELECT        PRODTABLE.PRODID, PRODCALCTRANS.COSTGROUPID, PRODTABLE.QTYCALC, PRODTABLE.PRODSTATUS, PRODCALCTRANS.COSTAMOUNT,
                             PRODCALCTRANS.COSTMARKUP, PRODCALCTRANS.REALCOSTAMOUNT, PRODCALCTRANS.CALCTYPE, PRODTABLE.DATAAREAID, PRODCALCTRANS.KEY3,
                             PRODCALCTRANS.CONSUMPVARIABLE, PRODCALCTRANS.REALCONSUMP, PRODTABLE.ITEMID, PRODTABLE.SCHEDDATE, PRODTABLE.FINISHEDDATE,
                             PRODCALCTRANS.KEY1, PRODCALCTRANS.TRANSDATE, PRODCALCTRANS.QTY, PRODCALCTRANS.KEY2, PRODCALCTRANS.COLLECTREFLEVEL,
                             PRODCALCTRANS.LINENUM, INVENTTABLE.ITEMNAME, INVENTTABLE.ITEMID AS Expr1, PRODTABLE.INVENTTRANSID
    FROM            PRODTABLE INNER JOIN
                             PRODCALCTRANS ON PRODTABLE.PRODID = PRODCALCTRANS.PRODID AND PRODTABLE.DATAAREAID = PRODCALCTRANS.DATAAREAID INNER
    JOIN
                             INVENTTABLE ON PRODCALCTRANS.DATAAREAID = INVENTTABLE.DATAAREAID AND PRODCALCTRANS.KEY1 = INVENTTABLE.ITEMID
    WHERE        (PRODTABLE.PRODSTATUS = 7) AND (PRODTABLE.DATAAREAID = N'AR1') AND (PRODTABLE.ITEMID = @itemid) AND
                             (PRODTABLE.FINISHEDDATE >= @Paramfromdate) AND (PRODTABLE.FINISHEDDATE <= @Paramtodate) AND (PRODCALCTRANS.COLLECTREFLEVEL
    = 1) AND
                             (PRODCALCTRANS.CALCTYPE >= 0)

    Hi Bitia,
    As per my understanding, after you add Item field to the report, it does not calculate total of matl group, right? If that is the case, please refer to the following steps to troubleshoot the problem:
    Modify the dataset used to retrieve data, delete the fields will not be used in the report.
    Run the query in SQL Server Management Studio (SSMS) to make sure that there is data for matl cost group.
    Make sure that row group and totals are correctly added.
    In addition, do you want to add Finished date to page header? If that is the case, we can use ReportItem to achieve the goal. Please refer to the following steps:
    In design surface, right-click the report and click Insert, then click Page Header.
    Drag Text Box from Toolbox to page header.
    Right-click inside of Text Box, then click Expression.
    In the expression text box, type the code like below:
    =ReportItems!FinishedDate.Value
    If the problem remain unresolved, please provide the screenshot of the report in design view, the following screenshot is for your reference:
    Reference:
    ReportItems Collection References
    Adding Grouping and Totals
    Thanks,
    Wendy Fu

  • Can you select a specific item from a listbox via scripting?

    This seems like it should be easy, but I've spent quite a few hours trying to figure this out, to no avail.  I'm trying to create a button that would automatically select a specific item on a listbox.  I though "selectedIndex" would do the trick, but this seems to only work if the user actually selects a specific item on a listbox.  I'm looking for the opposite effect, where a person will push a button where a specific item on the listbox gets selected.
    Any help would be much appreciated...thanks!

    You can use the setItemState method for this purpose.
    To select the third item use:
    ListBox.setItemState(2, 1);

  • Error Message while adding Item in Item Master Data- [Microsoft][SQL Server Native Client 10.0][SQL Server]Conversion failed when converting the nvarchar value 's008 01' to data type int. (CINF)

    Dear Experts
    I am getting the following error message while adding item in Item Master data. I have modified the following SBO_SP_transactionNotification in SQL server after that could not able to add the item
    ALTER proc [dbo].[SBO_SP_TransactionNotification]
    @object_type nvarchar(20),                      -- SBO Object Type
    @transaction_type nchar(1),               -- [A]dd, [U]pdate, [D]elete, [C]ancel, C[L]ose
    @num_of_cols_in_key int,
    @list_of_key_cols_tab_del nvarchar(255),
    @list_of_cols_val_tab_del nvarchar(255)
    AS
    begin
    -- Return values
    declare @error  int                       -- Result (0 for no error)
    declare @error_message nvarchar (200)           -- Error string to be displayed
    select @error = 0
    select @error_message = N'Ok'
    --    IF @OBJECT_TYPE = '59' AND (@TRANSACTION_TYPE = 'A' or @TRANSACTION_TYPE = 'U')
      BEGIN
       IF EXISTS(
        SELECT T0.Price FROM IGN1 T0
        where  IsNull(T0.Price, '0') = '0' and T0.DocEntry = @list_of_cols_val_tab_del)
       BEGIN
        SELECT @ERROR=1,@ERROR_MESSAGE='Please insert the price !'
      END
    end
    -- Select the return values
    select @error, @error_message
    end

    Hi Rathna,
    Just put the SP like this, without the -- before the IF. A -- marks the line as a command therefore you need to uncomment and it will work.
    IF @OBJECT_TYPE = '59' AND (@TRANSACTION_TYPE = 'A' or @TRANSACTION_TYPE = 'U')
      BEGIN
       IF EXISTS(
        SELECT T0.Price FROM IGN1 T0
        where  IsNull(T0.Price, '0') = '0' and T0.DocEntry = @list_of_cols_val_tab_del)
       BEGIN
        SELECT @ERROR=1,@ERROR_MESSAGE='Please insert the price !'
      END
    end
    Hope it helps

  • Error : while adding Items to Cart and while going to Checkout

    Hi All
    When I add Items to cart and when I click on checkout button below Error is coming
    atg.commerce.pricing.PricingException: Failed to get an adjuster for pricing model Item Discount - Percent Off:200131
            at atg.commerce.pricing.DiscountCalculatorService.getAdjuster(DiscountCalculatorService.java:361)
            at atg.commerce.pricing.ItemDiscountCalculator.priceQualifyingItems(ItemDiscountCalculator.java:561)
            at atg.commerce.pricing.ItemDiscountCalculator.priceItems(ItemDiscountCalculator.java:312)
            at atg.commerce.pricing.ItemPricingEngineImpl.applyCalculator(ItemPricingEngineImpl.java:844)
            at atg.commerce.pricing.ItemPricingEngineImpl.applyPromotions(ItemPricingEngineImpl.java:673)
            at atg.commerce.pricing.ItemPricingEngineImpl.priceItems(ItemPricingEngineImpl.java:557)
            at atg.commerce.pricing.PricingTools.priceItemsForOrderTotal(PricingTools.java:2448)
            at atg.commerce.pricing.PricingTools.priceOrderSubtotalShipping(PricingTools.java:1795)
            at atg.commerce.pricing.PricingTools.priceOrderSubtotalShipping(PricingTools.java:1737)
            at atg.commerce.pricing.PricingTools.performPricingOperation(PricingTools.java:3064)
            at atg.commerce.pricing.processor.PriceOrderTotal.runProcess(PriceOrderTotal.java:138)
            at atg.service.pipeline.PipelineLink.runProcess(PipelineLink.java:233)
            at atg.service.pipeline.PipelineChain.runProcess(PipelineChain.java:343)
            at atg.service.pipeline.PipelineChainContext.runProcess(PipelineChainContext.java:185)
            at atg.service.pipeline.PipelineManager.runProcess(PipelineManager.java:453)
            at atg.commerce.pipeline.CommercePipelineManager.runProcess(CommercePipelineManager.java:101)
            at atg.commerce.order.purchase.PurchaseProcessHelper.runProcess(PurchaseProcessHelper.java:452)
            at atg.commerce.order.purchase.PurchaseProcessHelper.runRepricingProcess(PurchaseProcessHelper.java:358)
            at atg.commerce.order.purchase.PurchaseProcessHelper.runProcessRepriceOrder(PurchaseProcessHelper.java:317)
            at atg.commerce.order.purchase.PurchaseProcessHelper.addItemsToOrder(PurchaseProcessHelper.java:890)
            at atg.commerce.order.purchase.CartModifierFormHandler.doAddItemsToOrder(CartModifierFormHandler.java:3245)
            at atg.commerce.order.purchase.CartModifierFormHandler.addItemToOrder(CartModifierFormHandler.java:2870)
            at atg.projects.store.order.purchase.StoreCartFormHandler.addItemToOrder(StoreCartFormHandler.java:1299)
            at atg.projects.store.order.purchase.StoreCartFormHandler.handleAddItemToOrder(StoreCartFormHandler.java:1516)
            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 atg.droplet.EventSender.sendEvent(EventSender.java:582)
            at atg.droplet.FormTag.doSendEvents(FormTag.java:800)
            at atg.droplet.FormTag.sendEvents(FormTag.java:649)
            at atg.droplet.DropletEventServlet.sendEvents(DropletEventServlet.java:523)
            at atg.droplet.DropletEventServlet.service(DropletEventServlet.java:550)
            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.projects.store.servlet.pipeline.ProtocolSwitchServlet.service(ProtocolSwitchServlet.java:287)
            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:383)
            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 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
            at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
            at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
            at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:1
            at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
            at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
            at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
            at java.lang.Thread.run(Thread.java:662)
    22:29:13,662 ERROR [CartFormHandler]
    CAUGHT AT:
    CONTAINER:atg.commerce.CommerceException: An unknown error occurred while adding an item to the Order with id [o400001].; S
            at atg.commerce.order.purchase.PurchaseProcessHelper.addItemsToOrder(PurchaseProcessHelper.java:942)
            at atg.commerce.order.purchase.CartModifierFormHandler.doAddItemsToOrder(CartModifierFormHandler.java:3245)
            at atg.commerce.order.purchase.CartModifierFormHandler.addItemToOrder(CartModifierFormHandler.java:2870)
            at atg.projects.store.order.purchase.StoreCartFormHandler.addItemToOrder(StoreCartFormHandler.java:1299)
            at atg.projects.store.order.purchase.StoreCartFormHandler.handleAddItemToOrder(StoreCartFormHandler.java:1516)
            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 atg.droplet.EventSender.sendEvent(EventSender.java:582)
            at atg.droplet.FormTag.doSendEvents(FormTag.java:800)
            at atg.droplet.FormTag.sendEvents(FormTag.java:649)
            at atg.droplet.DropletEventServlet.sendEvents(DropletEventServlet.java:523)
            at atg.droplet.DropletEventServlet.service(DropletEventServlet.java:550)
            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.projects.store.servlet.pipeline.ProtocolSwitchServlet.service(ProtocolSwitchServlet.java:287)
            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:383)
            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 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
            at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
            at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
            at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:1
            at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
            at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
            at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
            at java.lang.Thread.run(Thread.java:662)
    Caused by: atg.commerce.CommerceException: An error occurred when running the pricing order chain after adding items to ord
            at atg.commerce.order.purchase.PurchaseProcessHelper.addItemsToOrder(PurchaseProcessHelper.java:901)
            ... 72 more
    SOURCE EXCEPTION:
    atg.commerce.CommerceException: An error occurred when running the pricing order chain after adding items to order [o400001
            at atg.commerce.order.purchase.PurchaseProcessHelper.addItemsToOrder(PurchaseProcessHelper.java:901)
            at atg.commerce.order.purchase.CartModifierFormHandler.doAddItemsToOrder(CartModifierFormHandler.java:3245)
            at atg.commerce.order.purchase.CartModifierFormHandler.addItemToOrder(CartModifierFormHandler.java:2870)
            at atg.projects.store.order.purchase.StoreCartFormHandler.addItemToOrder(StoreCartFormHandler.java:1299)
            at atg.projects.store.order.purchase.StoreCartFormHandler.handleAddItemToOrder(StoreCartFormHandler.java:1516)
            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 atg.droplet.EventSender.sendEvent(EventSender.java:582)
            at atg.droplet.FormTag.doSendEvents(FormTag.java:800)
            at atg.droplet.FormTag.sendEvents(FormTag.java:649)
            at atg.droplet.DropletEventServlet.sendEvents(DropletEventServlet.java:523)
            at atg.droplet.DropletEventServlet.service(DropletEventServlet.java:550)
            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.projects.store.servlet.pipeline.ProtocolSwitchServlet.service(ProtocolSwitchServlet.java:287)
            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:383)
            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 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
            at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
            at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
            at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:1
            at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
            at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
            at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
            at java.lang.Thread.run(Thread.java:662)
    Anybody could provide the solution or rootCause to this issue(I know this error is throwing by pricing pipe line but why its throwing I am not getting) Please any body tell me ASAP, I am gated with this issue.
    ThanksInAdvance

    I don't know much about promotions, But it looks like that there is some problem while applying some promotions for the added item.
    Check for this id:200131
    atg.commerce.pricing.PricingException: Failed to get an adjuster for pricing model Item Discount - Percent Off:200131
            at atg.commerce.pricing.DiscountCalculatorService.getAdjuster(DiscountCalculatorService.java:361)
    Try adding some other item.
    FYI - if it's promotion issue and promotion for all order, issue will come for other item too
    Thanks,
    Nitin.

  • Sharepoint throw a javascript error while adding items to sharepoint list

    sharepoint throw javascript error when adding item to list
    error called:  this._registeredValidators[validatorIdx].Validate is not a function
    any help please

    Hi,
    If you want to validatelist column, there is out of the box way to accomplish this with SharePoint
    There's a great blog that covers how to validate Strict Text Formats:
    http://sharepointsolutions.com/sharepoint-help/blog/2011/12/how-to-validate-strict-text-formats-in-sharepoint-2010/
    In addition, we can use JavaScript to validate column. Please make sure you use the code correctly.
    More information:
    http://chrisstahl.wordpress.com/2011/02/06/validate-a-sharepoint-list-column-with-regular-expression/
    http://blog.tallan.com/2013/09/16/how-to-add-custom-validation-logic-to-validate-a-phone-field-in-sharepoint/
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Display in PDF Browser - Item failed to convert in Outlook

    Display in PDF Browser - Item failed to convert in Outlook
    ben soules - 09:26pm Aug 22, 2007 Pacific
    Hi Experts,
    This is a bit of a pain I have to distrubte
    Adobe Acrobat Pro 8.1 to about 3000+ users and I am having a problem,
    In Prefs in "Adobe Acrobat Pro 8.1"
    When I tick then untick, "display in PDF Browser" from the Preferences, My Outlook will fail to convert to PDF. I get an "Item failed to convert" message and a log file. Also Word 2003 will not post a .PDF to an email.
    If I restart "Outlook 2003" it will create a "pdf" when I click the icon the first time, the second time I click it will fail.
    Please help.
    ===================================================
    Requested: 1,
    Converted to PDF: 0,
    Skipped [Already in PDF]: 0,
    Skipped [PDFMaker failed to convert]: 1
    Details of Email to PDF conversion:
    Failed to Convert:
    From: WS XXXX XX XXXXXXX, Subject: FW: testing, Date: 8/08/2007, Status: Item failed to convert

    We also deployed 8.12 to over 1000 users with the "Disable PDF in browser" option checked using the customization wizard. Now we're finding some users need it to view certain PDFs in a web-based application.
    We would like to add the option, but removing the registry key doesn't actually install the option when you check it. It seems you might have to create a new mst then redeploy. We'd really like to not have to do that, if at all possible.
    In the Reader archives, one guy suggested running this:
    msiexec /i Adobe_Reader_8.1_MUI.msi ADDLOCAL=ReaderBrowserIntegration
    I haven't tried that yet. Any feedback or other suggestions?
    E Long
    Austin, TX

  • How to get the Clicked Item of a ListBox?

    I need to get the clicked item of a listbox.
    The item can be at first selected, when I click it again, it
    automatically gets de-selected, but I want to get that item
    whenever I click it. Any idea how to do this?
    This line does not work, because it gets the selected item.
    var pattern:String = event.currentTarget.selectedItem.myname;
    This one must work,but something is missing.
    Anyone can help me with this?
    marks is my ArrayCollection;
    var pattern:String =marks.getItemAt[??].myname;

    Here is my code. Am using this function in the itemclick
    event of the ListBox.
    My ListBox is a multi-select listbox. So am selecting several
    items by pressing "Ctrl" key and selecting each item using click.
    Say I have selected 4 items, when I press "Ctrl" and
    de-select one of the items, I want to get the itemname of the
    deselected item.
    public function createMarksList(event:ListEvent):void{
    // Alert.show(new
    String(event.currentTarget.selectedItem.myname));
    // var pattern:String =
    event.currentTarget.selectedItem.myname;
    // pattern = pattern += "," + pattern;
    // text1.text = pattern;
    <mx:List x="9" y="46" width="121" height="121"
    id="lstMarks" allowMultipleSelection="true"
    itemClick="createMarksList(event)"></mx:List>
    So, your help is required here buddy.
    I sitll can't figure out.
    Thx

Maybe you are looking for

  • Video chat error 8

    Hello, My computer is hooked up to my school ethernet system. I just bought a new computer with leopard and the built-in camera, which works fine. I've been trying to chat with my friend who has comcast high-speed internet service (with a netgear wir

  • Creating next lines in html

    My php contact form is working properly but whenever my client receives an email from the form, the email looks very disorganized because all of the contact information that the user has submittted, comes in one line. Here is my php code             

  • Itunes music downloaded to iPad 2 but doesn't show up under "music" app

    We have a lot of music in iTunes on the Mac, most of which is from CDs we own. We synced to new iPad 2 and it shows they all went in, but can't get any of the music to show. the "music" button says nothing is there. the "Itunes" button only takes us

  • T60 Wireless drops out randomly

    Hi, We have several Lenovo T60 Thinkpads in our company. Every now and then the wireless disconnects and users are limited to work locally. As we have all our documents on a server that is very annoying to our users. As far as I could investigate the

  • App Store says I downloaded an app but it never fully downloaded?

    So I was downloading an app (keynote) but it never fully downloaded. Like it froze mid download. So I refreshed the iPad and when I checked, it was nowhere in my apps.  So I went back to the App Store to re-download it, but when I found the app, the