Add page button throwing error

I have a "add page" button on my form that is suppose to create a new instance of both page 3 and page 5.
I got it working in two different fashions:
FormCalc
Page3.instanceManager.addInstance(1);
Page5.instanceManager.addInstance(1);
Javascript
Page3.instanceManager.addInstance(true);
Page5.instanceManager.addInstance(true);
In both cases a new instance of page 3 & 5 are added to the form and everything functions as expected.
The problem is that right when the button is pressed I get an error message
It appears to me that it is trying to set the value of 'initial' which is a child element of 'occur' which I assume has not been initialized but I am having a heck of a time figuring out how to peroperly do it.
Thanks in advance for any help.

pguerett found the answer.
Both my pages contained tables that were set to have 18 rows each.  The problem stemmed from the first page, whose table was defined to have a min rows of 18, a max rows of 18 and an initial row count of 18.  By unchecking the initial rows and leaving just the min and max everything is working great.
Thanks pguerett

Similar Messages

  • Clicking Add Page button deletes data from initial page.

    I have an Add Page button on the first page. I enter information into my first page. When I click the Add Page button, a new page (page 2) is added but the information I have inputted into the first page disappears. I have attached the form that I am struggling with. Any help would be appreciated!

    Modified your sampel to make it work.
    1. For the Page 2 subform you should set the minsize as 0,  themaxsize to 1 and the initial count to 0. In doing this there is no addressable object to script against.
    2. In the code that adds the page you have a command:
    form1.Page2.instancemanager.addInstance()
    As there are no subforms for Page2 present you get an error about the object not existing. The Page2 object does not exist yet so you cannot call teh instanceManager method. So you must use another notation to get to the instanceManager. In this instance you vcan use the underscore (_) notation to access the instanceManager of an object that is not part of the layout yet. So your command will be:
    form1._Page2.addInstance().
    3. You may want to disable the button after they add the second page as well as position the cursor in teh 1st field on teh next page. To do this you can add this code:
    xfa.host.setFocus(Page2.Table1.Row2.Action_Step);
    this.presence = "invisible";
    Note that you must reposition the cursor before you hide the object otherwise the hide the button code will not work.
    Hope that helps
    Paul

  • Wwsbr_notification_portlet.show_approval - Approve button throws error

    <p>
    Portal Version: 9.0.4.2<br>
    RDBMS Versjion: 10gR1<br>
    OS/Vers. Where Portal is Installed:: Sun Solaris 9<br>
    Error Number(s): Internal error (WWC-00006) An unexpected error has occurred (WWS-32100)<br>
    </p>
    <p>
    I have a procedure that looks for pending items in the portal content tables, then sends emails to all users in the approval routing for each pending item. For some older pages, when I navigate to the approval form from a link in the email and click on the approve button, portal throws "Internal error (WWC-00006) An unexpected error has occurred (WWS-32100)". If I backup to the approval form again follow the link to the pending item's page in mode 25, I'm able to approve the same item without any problem.
    </p>
    <p>
    For newer test pages I create, public or private it doesn't matter, the error does not happen and approval works without a hitch. I've tried updating the approval routing on the new page to match that of the "old" page and still the new page doesn't throw this error.
    </p>
    <p>
    The URL that is used to launch the approval form is generated using the following code (domain name and some details have been removed):
    </p>
    <p>
    </p>
    <p>
    select <br>
    'https://my.domain/pls/portal/PORTAL.wwsbr_notification_portlet.show_approval?p_back_url=https%3A%2F%2Fmy.domain%2Fportal%2Fpage%3F_pageid%3D'
    || ia.site_id || '%2C' || ia.page_id || '%26_dad%3Dportal%26_schema%3DPORTAL&p_item_id='
    || ia.item_id || '&p_page_id=' || ia.page_id || '&p_title=' || t.title
    || '&p_title_link=https%3A%2F%2Fmy.domain%2Fportal%2Fpage%3F_pageid%3D' ||ia.site_id || '%2C'
    || ia.page_id || '%26_dad%3Dportal%26_schema%3DPORTAL%26_mode%3D25&p_instance_id='
    || ia.approval_instance_id ||'&p_approver_id=' || ia.approver_id ||'&p_approval_id=' || ia.approval_id || '">'
    || NVL(t.title, '[NO NAME]') || '</A>' As APPROVALFORMURL
    from wwsbr_item_approval$ ia, wwv_things t, wwpob_page$ p
    where t.id = ia.item_id
    and t.subscriber_id=ia.subscriber_id(+)
    and t.cornerid = p.id
    and t.id = approval_items_rec.id
    and rownum = 1;
    </p>
    <p>
    </p>
    <p>
    Has anyone else seen this kind of problem before?
    </p>
    <p>
    I've determined that the error that occurs after clicking on the Approve button from the pending item approval form generated by a call to PORTAL.wwsbr_notification_portlet.show_approval is caused whenever the approval routing for the item's page has a group in it and someone edits the membership of that group while there are any pending items on that page.
    </p>
    <p>
    IMHO, this is not a very good "feature" of Portal. Portal stops users from editing the approval routing list of a page that has pending items, but it doesn't stop users from editing the group membership of a group that is on that same approval routing list. If the page in question is busy with a lot of different content authors adding content pending approval at any time of any day, when is it safe for someone to edit the membership of a group that is referenced in the approval routing (or a group that is a member of a group referenced in the approval routing)? In my opinion, this needs to be fixed. Portal should lock all of the groups associated with the approval routing list either directly or by composition when it locks the approval routing itself.
    </p>
    I've been able to work around the error by navigating to the page in _mode=25 and clicking on the approval actions icon next to the pending item (approve button works when form is generated by the link that calls wwv_thinghtml.content_actions_screen. It may be that this only works because my session is as the page creator.
    <p>
    Can I use PORTAL.wwv_thinghtml.content_actions_screen instead of PORTAL.wwsbr_notification_portlet.show_approval to display the approval form, or could this cause problems with the approval routing procedure or security? I've tried it and it works with a portlet wrapper and some error checking (determine if item has already been approved/rejected).
    </p>

    hi,
    please open a service request with oracle support to analyze the problem.
    in portal 10.1.4 we offer an easy way of doing this with our new CMEF (content management event framework). you can easily check for pending items and send out an email.
    find more information here:
    http://download-uk.oracle.com/docs/cd/B14099_15/portal.1014/b14135/pdg_cm_cmef.htm
    regards,
    christian

  • Could not upload picutre in mysite profile- upload button throws error.

    hi ,
    when i click save and close in edit profile page in SharePoint 2013( in SP 2010 UI) I am getting an java script error. any ideas?
    (_layouts/EditProfile.aspx) 
    Uncaught ReferenceError: EntityEditor_UseContentEditableControl is not defined
    copyUplevelToHidden
    WebForm_OnSubmit
    onsubmit
    __doPostBack
    Sys.WebForms.PageRequestManager._doPostBack
    (anonymous function)
    Sutha Thavaratnarajah

    further to that,
    when I click edit profile picture, It throw an error
    'SelectUserImage' is undefined
    however, I can see the function in by F+12 as follows. any Ideas
    <script type="text/javascript">
    //<![CDATA[
    var MSOWebPartPageFormName = 'aspnetForm';
    var g_presenceEnabled = true;
    var g_wsaEnabled = false;
    var g_wsaQoSEnabled = false;
    var g_wsaQoSDataPoints = [];
    var g_wsaLCID = 1033;
    var g_wsaListTemplateId = null;
    var g_wsaSiteTemplateId = 'SPSMSITEHOST#0';
    var _fV4UI=true;var _spPageContextInfo = {webServerRelativeUrl: "\u002f", webAbsoluteUrl: "http:\u002f\u002fmysites.", siteAbsoluteUrl: "http:\u002f\u002fmysites.yourorganization.com.au", serverRequestPath: "\u002f_layouts\u002f15\u002fEditProfile.aspx",
    layoutsUrl: "_layouts\u002f15", webTitle: "My Site", webTemplate: "54", tenantAppVersion: "0", isAppWeb: false, webLogoUrl: "_layouts\u002f15\u002fimages\u002fsiteicon.png", webLanguage: 1033, currentLanguage:
    1033, currentUICultureName: "en-US", currentCultureName: "en-AU", clientServerTimeDelta: new Date("2015-03-09T06:54:14.5536755Z") - new Date(), siteClientTag: "4$$15.0.4667.1000", crossDomainPhotosEnabled:false, webUIVersion:15,
    webPermMasks:{High:2147483647,Low:4294967295}, pagePersonalizationScope:1,userId:441, systemUserKey:"i:0\u0029.w|s-1-5-21-2471239075-1450731433-529964105-17116", alertsEnabled:true, siteServerRelativeUrl: "\u002f", allowSilverlightPrompt:'True'};
    function _spNavigateHierarchy(nodeDiv, dataSourceId, dataPath, url, listInContext, type) {
        CoreInvoke('ProcessDefaultNavigateHierarchy', nodeDiv, dataSourceId, dataPath, url, listInContext, type, document.forms.aspnetForm, "", "\u002f_layouts\u002f15\u002fEditProfile.aspx");
    function SelectUserImageCallback(dialogResult, ret)
        if (!ret) return;
        var img = document.getElementById('ctl00_PlaceHolderMain_PictureURLImage');
        var clear = document.getElementById('ctl00_PlaceHolderMain_PictureURLClearImage');
        var pictureVal = document.getElementById('ctl00$PlaceHolderMain$ProfileEditorEditPictureURL');
        if(ret=='__RESET__')
            img.src = '\u002f_layouts\u002f15\u002fimages\u002fPersonPlaceholder.96x96x32.png';
            img.style.width = 'auto';
            pictureVal.value = '';
            clear.style.display = 'none';
        else
            img.style.width = img.style.height = ''; 
            img.src   = ret + '?rand=' + Math.random();
            pictureVal.value = ret;
            clear.style.display = '';
    function SelectUserImage() {
        var href = '\u002f_layouts\u002fSelectPicture2.aspx?Type=User\u0026accountname=yourorganization\u00255Cfirstname\u00252Elastname';
        var dialogOptions = {autoSizeStartWidth:410, autoSize:true};
        SP.UI.ModalDialog.commonModalDialogOpen(href, dialogOptions, SelectUserImageCallback, null);
    }function ProfileEditorEditAboutMe_PopulateEditableRegion() {var editableRegion = document.querySelector('[InputFieldId=ProfileEditorEditAboutMe_hiddenRTEField]');if (editableRegion) editableRegion.innerHTML = '';}_spBodyOnLoadFunctionNames.push('ProfileEditorEditAboutMe_PopulateEditableRegion');function
    ProfileEditorEditCH-MyPassions_PopulateEditableRegion() {var editableRegion = document.querySelector('[InputFieldId=ProfileEditorEditCH-MyPassions_hiddenRTEField]');if (editableRegion) editableRegion.innerHTML = '';}_spBodyOnLoadFunctionNames.push('ProfileEditorEditCH-MyPassions_PopulateEditableRegion');function
    ProfileEditorEditCH-MyContributions_PopulateEditableRegion() {var editableRegion = document.querySelector('[InputFieldId=ProfileEditorEditCH-MyContributions_hiddenRTEField]');if (editableRegion) editableRegion.innerHTML = '';}_spBodyOnLoadFunctionNames.push('ProfileEditorEditCH-MyContributions_PopulateEditableRegion');var
    MSOWebPartPageFormName = 'aspnetForm';var __SafeRunFunctionLoadedScripts = new Array();function SafeRunFunction(fnc, script, type){    if (!_spBodyOnLoadCalled)    {        __QueueFunctionForSafeRunFunction(fnc, script,
    type);        return;    }    var executed = ExecuteOrDelayUntilScriptLoaded(fnc, script);    if (executed)    {        return;    }    var loaded = false;
       for (var i = 0; i < __SafeRunFunctionLoadedScripts.length; i++)    {        if (__SafeRunFunctionLoadedScripts[i].toLowerCase() != script.toLowerCase())        {      
         continue;        }        loaded = true;        break;    }    if (loaded)    {        return;    }    __SafeRunFunctionLoadedScripts.push(script);
       SP.SOD.executeFunc(script, type, function(){});}var __SafeRunFunctionQueue = null;function __QueueFunctionForSafeRunFunction(fnc, script, type){    if (!__SafeRunFunctionQueue)    {        __SafeRunFunctionQueue
    = new Array();    }    var container = new Object();    container['Function'] = fnc;    container['Script']   = script;    container['Type']     = type;    __SafeRunFunctionQueue.push(container);}function
    __ProcessQueuedFunctions(){    if (!__SafeRunFunctionQueue ||          __SafeRunFunctionQueue.length <= 0)    {        return;    }    for (var i = 0; i < __SafeRunFunctionQueue.length;
    i++)    {        var container = __SafeRunFunctionQueue[i];        var fnc    = container['Function'];        var script = container['Script'];        var
    type   = container['Type'];        SafeRunFunction(fnc, script, type);    }    __SafeRunFunctionQueue = null;}_spBodyOnLoadFunctionNames.push('__ProcessQueuedFunctions');
    SP.SOD.executeFunc('ScriptForWebTaggingUI.js', 'Microsoft.SharePoint.Taxonomy.ScriptForWebTaggingUI', null);
                    function CallbackWrapperctl00_PlaceHolderMain_ProfileEditorEditAssistant(dialogResult, xml)
                        if(xml==null)
                            return;
                        var ctx='ctl00_PlaceHolderMain_ProfileEditorEditAssistant';
                        EntityEditorCallback(xml,ctx);
                        // run the custom script
                   RunCustomScriptSetForPickerControl(ctx);
                    function __Dialog__ctl00_PlaceHolderMain_ProfileEditorEditAssistant(defaultSearch)
                            if(defaultSearch==undefined)
                                defaultSearch='';
                            var sDialogUrl = '\u002f_layouts\u002f15\u002fPicker.aspx?MultiSelect=False\u0026CustomProperty=User\u00253B\u00253B15\u00253B\u00253B\u00253BFalse\u0026DialogTitle=Select\u002520People\u0026DialogImage=\u00252F\u00255Flayouts\u00252F15\u00252Fimages\u00252Fppeople\u00252Egif\u0026PickerDialogType=Microsoft\u00252ESharePoint\u00252EWebControls\u00252EPeoplePickerDialog\u00252C\u002520Microsoft\u00252ESharePoint\u00252C\u002520Version\u00253D15\u00252E0\u00252E0\u00252E0\u00252C\u002520Culture\u00253Dneutral\u00252C\u002520PublicKeyToken\u00253D71e9bce111e9429c\u0026ForceClaims=False\u0026DisableClaims=False\u0026EnabledClaimProviders=\u0026EntitySeparator=\u00252C';
                            sDialogUrl = sDialogUrl + '&DefaultSearch=' + escapeProperly(defaultSearch);
                        var dialogWidth = 575; 
                        var dialogHeight = 500; 
                        var options = { title: "Select People", width: dialogWidth, height: dialogHeight, resizeable: true, url: sDialogUrl, dialogReturnValueCallback: CallbackWrapperctl00_PlaceHolderMain_ProfileEditorEditAssistant
                        var rv = EnsureScriptParams("SP.UI.Dialog.js", "SP.UI.ModalDialog.showModalDialog", options); 
                        }var EntityEditor_ItemTooLong = 'Item cannot be more than 256 characters.';var L_PleaseWait_TEXT = 'Searching...';var EntityEditor_UseContentEditableControl = false;//]]>
    </script>
    Sutha Thavaratnarajah

  • List.asmx add new item throwing error

    can any one suggest.I am trying to update the list in moss 2007 using list.asmx service. where list having default title column alone.But its still throwing me below error:
    error:0x81070906The operation failed because an unexpected error occurred. (Result Code: 0x81070906)
    Below is the code i followed:
     private void InsertItem(string pictureURL,string currentlLoginID)
           /*Declare and initialize a variable for the Lists Web service.*/
                spsService.Lists listService = new spsService.Lists();
                /*Authenticate the current user by passing their default
                credentials to the Web service from the system credential cache.*/
                listService.Credentials = System.Net.CredentialCache.DefaultCredentials;
                listService.Url = "http://spsService/sites/MP/_vti_bin/Lists.asmx";
                System.Xml.XmlNode ndListView = listService.GetListAndView("Team Profiles", "");
                string listName = ndListView.ChildNodes[0].Attributes["Name"].Value;
                string viewName = ndListView.ChildNodes[1].Attributes["Name"].Value;
                 XmlDocument xmlDoc = new XmlDocument();
                /* Declare an XmlNode object and initialize it with the XML response from the GetListItems method.*/
                System.Xml.XmlNode nodeListItems = listService.GetList(listName);
                string sBatch = string.Empty;         
                //Query to insert data
                sBatch = "<Method ID=\"1\" Cmd=\"New\">";
                sBatch += "<Field Name=\"ID\">New</Field>";
                          sBatch += "</Method>";
                XmlElement batch_element = xmlDoc.CreateElement("Batch");
                batch_element.SetAttribute("OnError", "Continue");
                batch_element.InnerXml = sBatch;
                listService.UpdateListItems(listName, batch_element);
    Thanks &amp; Regards, Krishna

    Hello,
    Is user having contribute rights in list? Please verify. Your code seems to be ok.
    OR try this code.
    list.Credentials = new System.Net.NetworkCredential("username", "password", "domain");
    XmlDocument doc = new XmlDocument();
    XmlElement batch_element = doc.CreateElement("Batch");
    string item = "<Method ID=\"1\" Cmd=\"New\">" + "<Field Name=\"ID\">New</Field>" + "<Field Name=\"Title\">Test1</Field>" + "</Method>";
    batch_element.InnerXml = item;
    list.UpdateListItems("ListTest", batch_element);
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Multiple Add Page Buttons Question

    I'm working on a form that will have five seperate buttons to open five seperate templates. I've gotten the first set of buttons done and am thinking I may run into a stumbling block.
    When the user clicks Yes, a hidden template opens. When the user clicks No, the page is deleted. The user will not always need to have more than one template but may need say template one and four.
    I currently have my No button set up to delete a specific page number.
    My question is: If the user spawns template one and four and then decides they don't need template four and wants to delete it by clicking No, how would the program know to delete the template that was spawned by button four? Is there a way to say "delete this specifc template name" instead of "delete this page number"?
    My Yes button script says:
    var a = this.getTemplate ("Template"); a.spawn();
    My No button script says:
    var a = this.deletePages
    ({nStart: 1});
    I appreciate the help.

    GKaiseril -
    Yes, this is a form.
    This form will be accessed using the PDF Expert app by Readdle on an iPad, primarily. The final product, which will be a flat PDF will be viewed with Reader.
    I wonder if there is a way to designate a static character for the page number. So, instead of asking it to delete page 2, you could ask it to delete TemplateX if Template X has been generated.
    This is a grab of what I am working on. I have this duplicated five times in the form. When the user selects Yes for Submit Written Quote for Repairs, it spawns a Template. Each of the five Yes boxes generates an additional Template page.

  • Tooltip of detail navigation page is throwing error

    Hi all,
    When we right click the detail navigation in the page, we get a tooltip.
    When we click on <b>copy shortcut</b> and paste it in a new browser, it should direct us to the same page. But it is not going in my case, it redirecting some default page.
    How to rectify this problem.

    no replies

  • 500 Internal Server Error when clicked on Add/Remove Button

    Hi,
    When i Goto System Management -> Administration -> Mobile Infrastructure -> Device Maintenance -> here search for the device id or just click on the search -> scroll down to find 'Mobile Components' tab -> click on Add/Remove button
    The error iam getting is
    <b>500 Internal Server Error</b>
    java.lang.NullPointerException
        at com.sap.ip.mi.admin.wd.device.DeviceMaintenance.supplyUserList1(DeviceMaintenance.java:794)
        at com.sap.ip.mi.admin.wd.device.wdp.InternalDeviceMaintenance.supplyUserList1(InternalDeviceMaintenance.java:562)
    Any Suggestions or solutions
    Rgds,
    Kiran Joshua

    Nameeta,
    There are no short dumps in the middleware, st22.
    Sathya,
    We r trying to look at the SP level, once done will get back
    But still any suggestions are welcome
    rgds,
    Kiran Joshua

  • Automatically add page numbers to PDF

    Hi all,
    I've got a pdf document with forms which also contains a "Add Page" button which adds another matching page.
    What I would like to add to is a "Page 1 of n" type field that auto updates with the amount of pages in the document.
    I have seen something similiar in previous posts but these were dependent on pressing a button to update the page numbers or was implemented in a way I do not understand.
    Please keep in mind I have no clue about Javascript, the only reason I have gotten so far is info from these forums!
    I have access to the Adobe Creative Cloud Suite of tools so Acrobat Pro, Illustrator etc is at my disposal for the above.
    Hope ive added enough info, thanks in advance

    Hi gilad,
    Thanks for your reply.
    I added your script and it worked on the first page, but as soon as I click my add page button the first pages numbers goes from "page 1 of 1" to "page 0'11 of 2". The second page, which I added via a template, then shows "page 1 of 1".
    Any thougts on this?
    I apprediate your help so far

  • Throwing error from backing bean on button click?

    Hi Everyone,
    i have two lovs out of 2 lovs user has to select atleast one lov value and click on find button.
    On clicking on find button im getting lov values if atleast one is not selected i need to throw one error message.
    How can i throw error message?
    Thanks.

    Hi,
    i used this code:
    public String showMessage() {
    System.out.println("inside error msg");
    String messageText="Please select emp or ename";
    FacesMessage fm = new FacesMessage(messageText);
    * set the type of the message.
    * Valid types: error, fatal,info,warning
    //fm.setSeverity(FacesMessage.SEVERITY_INFO);
    fm.setSeverity(FacesMessage.SEVERITY_ERROR);
    FacesContext context = FacesContext.getCurrentInstance();
    context.addMessage(null, fm);
    System.out.println("end of error msg");
    return null;
    And called this method on clicking on find button in the method binding of the find button but it didnt show any error dialog bax rather it moved to the next page as usual.
    Code in the find backing bean:
    public String Find(){
    if(Emp.equalsIgnoreCase("ALL") && EmpNo.equalsIgnoreCase("ALL")) {
    String k=this.showMessage();
    return "Find"; // to navigate to next page
    what to do now?

  • Can I add Action button on each page of my pdf document

    I have created  many power point slides with an action button on each slide that allows the user to click to display a video clip.   I would like to create a pdf document of this and replace each of my action button in ppt with an action button that works in Acrobat.
    I noticed that action buttons can be added to forms, but I want to be able to add an Action Button on each of my ppt slides to start playing a video clip (each slide will have a different video).
    I would like to do this using any coding method (i.e. Javascript, VBA, C , etc).   I think acrobat uses Javascript.
    The reason, is that I want to display my power point slides on an IPad and they don't support hyperlink in power point.   I believe IPad does suppport the full acrobat capabilities.
    Can this be done ??  
    Any suggestions where to start ??
    Thank You,
    G

    NO problem creating the buttons and then playing this back in Acrobat. Works great.
    However, unfortunately, none of the PDF viewers for the iPad support playing movies.   So playing it there won't work :(.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Sat, 28 Jan 2012 11:00:47 -0800
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: Can I add Action button on each page of my pdf document
    Can I add Action button on each page of my pdf document
    created by gw70115<http://forums.adobe.com/people/gw70115> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/4171109#4171109

  • How to add new button in Customized page....

    Dear All,
    I need to add new button to the page button bar in the UI page.I tried like this in the controller but still i can not get output:
    OAPageButtonBarBean oapbb = (OAPageButtonBarBean)oawebbean.findIndexedChildRecursive("OrderPageButtons");
    OAButtonBean cancelButton = (OAButtonBean)createWebBean(oapagecontext, OAWebBeanConstants.BUTTON_BEAN,
    null, "cancelButton");
    cancelButton.setText("Cancel");
    oapbb.addIndexedChild(cancelButton);
    Is there anything i missedout?
    TIA

    what you are doing incorrectly is
    trying to get the handle to the OAPageButtonBarBean.
    This is a named child of the parent bean(OAPageLayoutBean), and what you are trying to do is find it as a indexed child, this should give you a nullpointer excp in this line oapbb.addIndexedChild(cancelButton);
    since the handle should be null.
    to get the handle to OAPageButtonBarBean, use some like this
    pageContext.getPageLayoutBean().getPageButtons();
    and then add buttons to it.
    Thanks
    Tapash.

  • Excel is throwing error when it click print : 'No printers are installed. To install a printer click the File tab, and then click Print. Click No Printers Installed, and then click Add Printer. Follow the instructions in the Add Printer dialog box'

    Excel is throwing error when it click print : 'No printers are installed. To install a printer click the File tab, and then click Print. Click No Printers Installed, and then click Add Printer. Follow the instructions in the Add Printer dialog box'
    Word, and powerpoint application are working fine.  
    Environment :  Windows 7 64-bit, MS Office 2013 64-bit
    Steps to recreate
    (i)  Create new user account and add to any group ( do not log on using this
     account)
      (ii)  runas /user:<new user account>  <fullpath>\excel.exe
       it will ask password so enter on command prompt
    (iii)  open any excel document  and click File->Print
      (iv)  verify result  (it is failing) it pop ups below error
     Error:`Microsoft Excel
     No printers are installed. To install a printer click the File tab, and then click
     Print. Click No Printers Installed, and then click Add Printer. Follow the
     instructions in the Add Printer dialog box.                                                                                                               

    Sorry for late reply i was not at work
    I have a default set excel is still throwing error. Interestingly winword , powerpoint and publisher are working fine. I am able to print from all office applications except Excel.
     Probably excel behaves differently from other office applications.
     Probably it is a bug in excel
    Workaround : Log on to a system once using newly created account then runas excel using this account then print works fine.
    It means something in user profile should be configure to run excel print operation. Could you please somebody help what I need to configure in user profile that makes print operation success?

  • Weird Problem with Add Row Button in Master Detail Page

    I have a page that was created with a Master Detail Wizard. When I click the Add Row button on our Production Environment, the row counter increments BUT no blank row shows on the screen.
    In our Development Environment, when I click the Add Row button, a blank row appears as expected. Thinking there was some problem with the production app, I exported the Dev version and imported into Production. Still no blank row.
    Thinking perhaps it had something to do with the data, I copied our production application data back into the development application tables. Still, the development app creates the blank row where the production version does not.
    I even used the same browser window for both environments and still get the same results. This was working fine in production then just stopped one day.
    The only clue I have is that the Add Row WILL work if the Master Record has no details or less than a page worth. It seems to happen when the detail records are more than one page worth. Also, when I click the Add Row button, it goes to the last page of the list (say three pages of 10, 10, 6) but no blank row shows up. Again, works fine in the development environment no matter how many pages.
    Any ideas or suggestions why this is happening? Could there be some environment setting that is causing this to happen?

    I have a page that was created with a Master Detail Wizard. When I click the Add Row button on our Production Environment, the row counter increments BUT no blank row shows on the screen.
    In our Development Environment, when I click the Add Row button, a blank row appears as expected. Thinking there was some problem with the production app, I exported the Dev version and imported into Production. Still no blank row.
    Thinking perhaps it had something to do with the data, I copied our production application data back into the development application tables. Still, the development app creates the blank row where the production version does not.
    I even used the same browser window for both environments and still get the same results. This was working fine in production then just stopped one day.
    The only clue I have is that the Add Row WILL work if the Master Record has no details or less than a page worth. It seems to happen when the detail records are more than one page worth. Also, when I click the Add Row button, it goes to the last page of the list (say three pages of 10, 10, 6) but no blank row shows up. Again, works fine in the development environment no matter how many pages.
    Any ideas or suggestions why this is happening? Could there be some environment setting that is causing this to happen?

  • Submit button not throwing error

    I have a Search Region and a table to show the data based on Search criteria...After search I am modifying the some fields with invalid data in Result table
    and I am clicking the Submit button, it is throwing error(I written Exception in EO level) , the same time if i click the submit button second time , it is not validating and throwing the error and record is saving to database with invalid data.
    Could you please help me and let me know what I am missing here?

    I written the following code in EntityExpert, the EntityExpert code in EO
    public boolean isItemNameValid(String ItemName)
    System.out.println("Entity Expert");
    System.out.println(ItemName);
    boolean isActive = false;
    ItemNameVVOImpl ItemNameVO = (ItemNameVVOImpl)findValidationViewObject("ItemNameVVO1");
    ItemNameVO.initQuery(ItemName);
    if (ItemNameVO.hasNext())
    isActive = true;
    System.out.println("Return ");
    System.out.println(isActive);
    return isActive;
    and I am calling the above method in EOImpl
    public void setItemName(String value)
    if ((value != null) || (!("".equals(value.trim()))))
    ItemNameEntityExpert expert = getItemNameEntityExpert(getOADBTransaction());
    if (!(expert.isItemNameValid(value)))
    throw new OAAttrValException(OAException.TYP_ENTITY_OBJECT,
    getEntityDef().getFullName(), // EO name
    getPrimaryKey(), // EO PK
    "Item Name", // Attribute Name
    value, // Attribute value
    "MSC", // Message product short name
    "UPDATE_SUPPLY_ITEMNAME"); // Message name
    setAttributeInternal(ITEMNAME, value);
    Please check.
    Thanks,
    K.Murugesan

Maybe you are looking for