Application object for users to request remote assistance

Hi
I want to lock down my users' desktops by changing the Windows shell to Application Explorer but still want my users to be able to request a Remote Assistance session with the list of pre-defined operators.
I have my policy setup and my users' can go to the Remote Management section of the Adaptive Agent and from there, request a remote assistance session.
How can I do this without my users' having to go to the properties of the Adaptive Agent?
Thanks
rdc

rgdacosta,
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Visit http://support.novell.com and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.novell.com)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.novell.com/faq.php
If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://support.novell.com/forums/

Similar Messages

  • Creating Activity object for a Service Request object...

    <b>[This thread was migrated from the On Demand Developer Forum in the old Siebel Community] </b>
    drangineni
    New Contributor
    Ho do we use Activity object of a Service Request object. I am trying to
    create an Activity object for a existing Service Request object.
    I am looking for some sample code.
    I greatly appreciate your help.
    Product: CRM OnDemand
    11-26-2006 12:40 PM
    Re: Creating Activity object for a Service Request object...
    BigSlick
    Valued Contributor
    drangineni, What programming language are you using?
    BS
    12-04-2006 10:56 AM
    Re: Creating Activity object for a Service Request object...
    drangineni
    New Contributor
    Hi, I am using C# .
    12-04-2006 07:40 PM
    Re: Creating Activity object for a Service Request object...
    BigSlick
    Valued Contributor
    drangineni, assuming you know the service requestid or externalId of the
    Sr you are dealin gwith you would first set that value.
    ServiceRequest1[] objSRList =new ServiceRequest1[1];
    objSRList[0] = new ServiceRequest1();
    objSRList[0].ServiceRequestId = <YourSRId>;
    Then you create an array of activities and initialize the first one:
    objSRList[0].ListOfActivity = new Activity[1];
    objSRList[0].ListOfActivity[0] = new Activity();
    Now set the data fields
    objSRList[0].ListOfActivity[0].Subject ="My Subject";
    objSRList[0].ListOfActivity[0].Description ="My Description";
    objSRList[0].ListOfActivity[0].Display = "Task"; //valid values are either
    "Task" or "Appointment"
    Then call the ServiceREquestInsertOrUpdate method on the ServiceRequest
    WebService and pass in the above variable.
    BS
    12-06-2006 12:36 PM
    Re: Creating Activity object for a Service Request object...
    drangineni
    New Contributor
    Thank you BigSlick.
    The following error is thrown when I use the
    ServiceRequestInsertOrUpdate(objInput)
    "No user key can be used for the Integration Component instance 'Service <br/>
    Request_Action'.(SBL-EAI-04397)"
    When I use the prxySrvcRequest.ServiceRequestInsert(objInput), no error is
    thrown and the Activity gets added, but a new Service Request object is
    created, but the Activity gets added to an existing Service Request
    object. I greatly appreciate your help.
    The following is the code:
    int ActivityLength = 0;
    WSOD_ServiceRequest.ServiceRequest1[] ServiceRequest = new
    WSOD_ServiceRequest.ServiceRequest1[1];
    ServiceRequest[0] = new WSOD_ServiceRequest.ServiceRequest1();
    ServiceRequest[0].ServiceRequestId = this.Request.QueryString["id"];
    ServiceRequest[0].ListOfActivity = new
    WebSelfService.WSOD_ServiceRequest.Activity[ActivityLength + 1];
    ServiceRequest[0].ListOfActivity[0] = new WSOD_ServiceRequest.Activity();
    ServiceRequest[0].ListOfActivity[ActivityLength].Description =
    this.txtDescription.Text;
    ServiceRequest[0].ListOfActivity[ActivityLength].Display = "Task";
    ServiceRequest[0].ListOfActivity[ActivityLength].Subject = "My Subject";
    WSOD_ServiceRequest.ServiceRequest prxySrvcRequest = new
    WebSelfService.WSOD_ServiceRequest.ServiceRequest();
    WSOD_ServiceRequest.ServiceRequestWS_ServiceRequestInsertOrUpdate_Input
    objInput = new
    WebSelfService.WSOD_ServiceRequest.ServiceRequestWS_ServiceRequestInsertOrUpdate_Input();
    WSOD_ServiceRequest.ServiceRequestWS_ServiceRequestInsertOrUpdate_Output
    objOutput = new
    WebSelfService.WSOD_ServiceRequest.ServiceRequestWS_ServiceRequestInsertOrUpdate_Output();
    objInput.ListOfServiceRequest = ServiceRequest;
    Session objSession;
    objSession = (Session) Application["Session"];
    prxySrvcRequest.Url = objSession.GetURL();
    try
    objOutput = prxySrvcRequest.ServiceRequestInsertOrUpdate(objInput);
    catch(Exception e)
    12-09-2006 09:53 AM
    Re: Creating Activity object for a Service Request object...
    drangineni
    New Contributor
    Thank you BigSlick.
    The following error is thrown when I use the
    ServiceRequestInsertOrUpdate(objInput)
    "No user key can be used for the Integration Component instance 'Service <br/>
    Request_Action'.(SBL-EAI-04397)"
    When I use the prxySrvcRequest.ServiceRequestInsert(objInput), no error is
    thrown and the Activity gets added, but a new Service Request object is
    created, but the Activity gets added to an existing Service Request
    object. I greatly appreciate your help.
    The following is the code:
    int ActivityLength = 0;
    WSOD_ServiceRequest.ServiceRequest1[] ServiceRequest = new
    WSOD_ServiceRequest.ServiceRequest1[1];
    ServiceRequest[0] = new WSOD_ServiceRequest.ServiceRequest1();
    ServiceRequest[0].ServiceRequestId = this.Request.QueryString["id"];
    ServiceRequest[0].ListOfActivity = new
    WebSelfService.WSOD_ServiceRequest.Activity[ActivityLength + 1];
    ServiceRequest[0].ListOfActivity[0] = new WSOD_ServiceRequest.Activity();
    ServiceRequest[0].ListOfActivity[ActivityLength].Description =
    this.txtDescription.Text;
    ServiceRequest[0].ListOfActivity[ActivityLength].Display = "Task";
    ServiceRequest[0].ListOfActivity[ActivityLength].Subject = "My Subject";
    WSOD_ServiceRequest.ServiceRequest prxySrvcRequest = new
    WebSelfService.WSOD_ServiceRequest.ServiceRequest();
    WSOD_ServiceRequest.ServiceRequestWS_ServiceRequestInsertOrUpdate_Input
    objInput = new
    WebSelfService.WSOD_ServiceRequest.ServiceRequestWS_ServiceRequestInsertOrUpdate_Input();
    WSOD_ServiceRequest.ServiceRequestWS_ServiceRequestInsertOrUpdate_Output
    objOutput = new
    WebSelfService.WSOD_ServiceRequest.ServiceRequestWS_ServiceRequestInsertOrUpdate_Output();
    objInput.ListOfServiceRequest = ServiceRequest;
    Session objSession;
    objSession = (Session) Application["Session"];
    prxySrvcRequest.Url = objSession.GetURL();
    try
    objOutput = prxySrvcRequest.ServiceRequestInsertOrUpdate(objInput);
    catch(Exception e)
    12-10-2006 08:49 AM
    Re: Creating Activity object for a Service Request object...
    BigSlick
    Valued Contributor
    Ah yes, I forgot you also need to specify a unquie Id for the activity.
    It's kinda strange.
    Try adding this:
    ServiceRequest[0].ListOfActivity[ActivityLength].ActivityId = "DummyId";
    //OD will overwrite this with a real Id
    Or if you have a unquie ID for your Activities you can use:
    ServiceRequest[0].ListOfActivity[ActivityLength].ExternalSystemId = <Your
    Unique Value>;
    Hope that helps,
    BS
    12-11-2006 10:52 AM
    Re: Creating Activity object for a Service Request object...
    surgientweb
    New Contributor
    Hi all,
    I have a similar problem, but mine is returning a message that field
    "Display" is required. Looking at this post and the documentation it is
    obvious that Display is a required field, but my WSDL did not include a
    field called "Display", so my proxy did not generate one.
    I tried adding a field called Display to the WSDL and the proxy class, but
    I get a different error... I figure I maybe cannot add it manually like
    that - but I think the bigger problem is it is not part of the WSDL that
    Siebel OD generates for me in my admin account.
    On top of that Display is not shown in the list of fields for Activity
    through the admin interface.. is it possible my account is bugged? Am I
    missing something simple here? BigSlick, I see you mention a .Display in
    your code sample so I thought you might understand what is wrong. Here is
    my code (I am trying to add a activity to a lead).
    Thanks for any insight into this!
    private void InsertLeadActivity(Session session, NameValueCollection data,
    string leadID)
    try
    if (blnDebug)
    Response.Write("Setting up Activity<br>";
    // instantiate the proxy service
    Activity_Service.Activity activityProxy = new Activity_Service.Activity();
    // set up the target URL
    activityProxy.Url = session.GetURL();
    activityProxy.CookieContainer = session.GetCookieContainer();
    // set up input argument
    ActivityNWS_Activity_Insert_Input input = new
    ActivityNWS_Activity_Insert_Input();
    input.ListOfActivity = new Activity1[1];
    input.ListOfActivity[0] = new Activity1();
    if (blnDebug)
    Response.Write("Getting Data<br>";
    // dg note: name value
    // input.ListOfActivity[0].MrMrs = data["MrMrs"];
    input.ListOfActivity[0].LeadId = leadID.ToString();
    input.ListOfActivity[0].Description = DataToString(data);
    input.ListOfActivity[0].Subject = "Website Submission Activity";
    input.ListOfActivity[0].Priority = "3-Low";
    //input.ListOfActivity[0].DueDate =
    DateTime.Now.AddDays(7).ToShortDateString();
    input.ListOfActivity[0].Owner = this.defaultLeadOwner;
    input.ListOfActivity[0].Type = "Call";
    //input.ListOfActivity[0].Display = "Task";
    input.ListOfActivity[0].ActivityId = "DummyId";
    input.ListOfActivity[0].ExternalSystemId = "web";
    activityProxy.Activity_Insert(input);
    catch (Exception exInsertActivity1)
    if (blnDebug)
    Response.Write("<br>Error inserting activity.<br><br>" +
    exInsertActivity1.ToString() + "<br>";
    01-06-2007 05:05 PM
    Re: Creating Activity object for a Service Request object...
    surgientweb
    New Contributor
    Figured it out.. the field "Display" is also known as "Activity"........
    Here are some notes for other people.. good luck and feel free to write me
    at raskawa-at-gmail-com if you want a code sample.
    Some unpublished nice to knows for Siebel On Demand Activities....
    In summary:
    - .Activity is also known as Display in documentation and on the error
    messages coming back from the WS. Also, it appears based on these boards
    some people actually have a .Display field. Maybe different accounts
    generate different WSDL's.... buggy.
    - If a error message is thrown saying "Description is required" it really
    means "Subject is required" (make sure .Subject has a value)
    - If a error message is thrown complaining that ActionType is not right..
    that is really .Type.. make sure it's lookup value is valid for the
    dropdown values in your CRM OD system.
    My code/values that worked..
    input.ListOfActivity[0].LeadId = leadID.ToString();
    input.ListOfActivity[0].Description = DataToString(data);
    input.ListOfActivity[0].Subject = "Website Submission Activity";
    input.ListOfActivity[0].Priority = "3-Low";
    //input.ListOfActivity[0].DueDate =
    DateTime.Now.AddDays(7).ToShortDateString();
    input.ListOfActivity[0].Owner = this.defaultLeadOwner;
    input.ListOfActivity[0].Type = "Call";
    input.ListOfActivity[0].ActivityId = "DummyId";
    input.ListOfActivity[0].ExternalSystemId = "web";
    //input.ListOfActivity[0].Display = "Task"; //doesn't work
    input.ListOfActivity[0].Activity = "Task"; //does work.
    01-06-2007 05:17 PM
    Re: Creating Activity object for a Service Request object...
    raskawa
    First Time Contributor
    Hi,
    This is surgientweb (under my own login now..)
    Anyway, I wanted to add that I figured out that there are two ways to add
    a Activity to a Lead. Via the Lead object (by getting a ListOfActivities)
    OR by creating a Activity directly and just adding your "LeadID" to it (or
    you can also add a "ContactID" to relate the activity to a Contact.)
    Feel free to email me for a code example (raskawa....at....gmail)
    -David
    01-09-2007 02:58 PM

    Hi Stephane,
    You can definitely read the categories using Tables in CRM. The logic is a bit complicated though.
    Use the following steps to retrieve Categories using Std. CRM Tables:
    1. Pass transaction GUID in field GUID of table CRMV_REPORT_SUBJ and get KATALOGART, CODEGRUPPE and CODE field values in lv_catalog, lv_codegrp and lv_code.
    2. Now you need to concatenate these 3 fields values carefully like this:
    CONCATENATE lv_catelog lv_codegrp '    ' lv_code into lv_category1.
    Remember there are 4 spaces between lv_codegrp and lv_code.
    3. Now pass this lv_category1 in field OBJEXT in table CRMC_ERMS_CAT_OK and get OBJGUID in field lv_objguid.
    4. Pass this lv_objguid in field OBJ_GUID and LNK_TYPE = 'IS_CODE' in table CRMC_ERMS_CAT_LN and get value of CAT_GUID in lv_cat_guid.
    5. Pass this lv_cat_guid in field CAT_GUID in table CRMC_ERMS_CAT_CA and get value of CAT_ID in field lv_cat_text.
    Remember this lv_cat_text is the text value of your last level of category of transaction.
    6. To get its upper cateogry level value, simply use table CRMC_ERMS_CAT_HI and get parent guid value and pass this as CAT_GUID again in table CRMC_ERMS_CAT_CA to get its text.
    Alternatively, you can also use class method cl_crm_ml_category_util=>get_parse_all to get all levels of categories.
    Hope this helps.
    Thanks
    Vishal

  • Business object for user master in SAP

    Is there a standard business object for User Master in SAP?
    Somehow I just could not find it.
    Thanks.

    Hi Jeff,
    I think the BOR - USER should do your purpose.
    Regards
    <i><b>Raja Sekhar</b></i>

  • Failed to reconcile provision object for User

    Hi,
    I am doing RACF reconciliation for users.
    But reconcilaition events are in Event Received state.
    If I try to reapply th recon matching rule.
    Exception is Failed to reconcile provision object for User.
    any pointer?

    Once Verify reconsilation Data, specially which are mandatory for User.

  • Request Remote Assistance Shortcut

    I am trying to create a shortcut, script, or batch file that will allow users to create a remote assistance request and email it to a specific email address.  It sounds easy enough, but I cannot get it to work.
    I used msra /email but I can't pipe an email address into the command.  I tried a batch file that ran msra /saveasfile then ran "C:\Program Files (x86)\Microsoft Office\Office12\OUTLOOK.EXE" /c ipm.note /m emailaddress /a incident.msrcincident, but that gave me other issues.
    I am actually trying to do this as a simple integration with BMC Remedy since I already customized it to create tickets via incoming email.
    Anyone have anything in place that does this?  Or possibly a better solution?
    - Bob

    Here is a script I have developed that addresses the email problems.  I use a ping to get a minor pause in the script.
    This script is designed to be placed in the folder 'c:\Scripts'.  I have used the computer name as the filename to allow the recipient to distinguish which machine support is being requested for.
    Once I created this in a cmd file.  I placed a shortcut on the public desktop to launch it.
    The user does not need to relay the password, as it is always the same (in this example 'PASSWORDTEXT'). 
    BTW, this was performed on the original Surface RT, with the 8.1 upgrade
    if exist c:\Scripts\%COMPUTERNAME%.msrcincident del c:\Scripts\%COMPUTERNAME%.msrcincident
    start "Remote Assistance" msra /saveasfile c:\Scripts\%COMPUTERNAME% PASSWORDTEXT
    ping 4.2.2.1
    "C:\Program FIles\Microsoft Office\Office15\Outlook.exe" /c ipm.note /m
    [email protected] /a c:\Scripts\%COMPUTERNAME%.msrcincident

  • How to disable Office 2010 Upgrade Policy prompts for users in a Remote Desktop environment

    I have deployed Office 2010 to our Terminal Server.
    When users login to their Remote Desktops and start Office apps they are greeted with making choices for Upgrade Policies:
    Recommended
    Only Updates
    Don't Make Any Changes
    How can I centrally manage this policy and disable this prompt for users?

    Hi,
    From the description, what you mentioned is the Opt-in or First things first prompt when you launch Office program for the first time.
    If you want to disable the prompt, we can use Office Customization Tool or Group Policy to achieve this goal. For more information, please refer to the following blog:
    https://blogs.technet.com/b/odsupport/archive/2012/11/13/how-to-manage-the-opt_2d00_in-or-first-things-first-prompt-when-microsoft-office-2013-applications-are-first-launched.aspx
    Hope this helps.
    Regards,
    Steve Fan
    TechNet Community Support

  • Can not find business object for Down payment request

    Hi,
    I want to make one workflow regarding down payment . For that i need business object of down payment request . But i cannot able to find it . Any budy have idea about that please tell me .
    Regards,
    Gurprit Bhatia,.

    Hi
    you have to do all steps in LSMW
    1.Maintain Object Attributes
    2.Maintain Source Structures
    3 Maintain Source Fields
    4 Maintain Structure Relations
    5 Maintain Field Mapping and Conversion Rules
    7 Specify Files
    8 Assign Files
    9 Read Data
    10 Convert Data
    11 Create Batch Input Session
    Please maintain source fields required.thats important.(maintain 2 level-header and item,also provide common name of column to link to 2 files
    Header file:sample
    RECORDNAME     EQUNR     Plant
    10001031                        10001031      3000
    Item file:sample
    RECORDNAME     ITEM NO     MATNR     Item catg   QTY
    10001031                             10      P-1001          L               1
    Regards
    Seenu

  • How to create a file object for a file on Remote Server? UNIX

    Hi all,
    I am working on two servers A and B. BOTH ARE UNIX MACHINES. My java class exist on server A and executes on same server. The file that I need to process resides on server B. (Lets call it test.txt in MYTEST directory. So path will be /MYTEST/test.txt on server B) I need to do few things before I can process it:
    1) Check if file exist
    2) If it does FTP it to Server A. (I already know how to.)
    For both of these tasks, I need a File object for that file.
    My problem is that I am unable to set it up.
    \\B\MYTEST\test.txt will not work on UNIX. I already tried that. (It only works on Windows)
    I tried:
    /B/MYTEST/test.txt ---- Does not work
    B:/MYTEST/test.txt ---- Does not work
    :B/MYTEST/test.txt ---- Does not work
    B:MYTEST/test.txt ---- Does not work
    All of these instances say the same thing: "File does not exist."
    Any ideas? Please help!!!
    -Chirag

    I by no means want to sound belittling... so don't take me that way..
    You need to understand the basics of files, and networks. You can't check if a file exists on another machine if you don't have a network protocol to communicate with. The reason \\ works under windows is because you are using an invisible (to you) network protocol. You probably know it as windows sharing. If your file were not shared under it's own name, that method wouldn't work (I'm assuming your entire drive is shared without a password... a horrible security flaw...but one thing at a time)
    You can use FTP protocol to check if a file exists. You can either send the raw text FTP commands through a socket connection in java, or you can use a freely available FTP java API to make it a bit more simple. You could also write a small java server on the other machine, and have it tell you what you need to know with a socket connection. In this way, you have created your very own network protocol.

  • Ability for User to Request Password Reset

    Is their functionality in 11.5.10 that will allow user to request to have their password reset and the new one emailed to them?

    Please see these docs.
    Reset Password Functionality FAQ [ID 399766.1]
    'Forgot Your Password' Feature Does Not Reset Password Automatically [ID 390894.1]
    How To Configure "Forgot Password' To Work Without Inbound Processing in 11i? [ID 763352.1]
    http://forums.oracle.com/forums/search.jspa?threadID=&q=Reset+Password&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Error while reading UcdContext [trying to read / set application values for users]

    Hi,
    I am trying to write a program to store user selected values on NW7.3 Portal using "User Content Directory". I can see and read some code snippets on how to set and read the context but I am getting one error after another.
    The error message I am getting is
    "com.sapportals.portal.pcd.gl.PcdGlContext:service:[email protected]entClassLoader@84507ed@alive incompatible with interface com.sapportals.portal.pcd.gl.IPcdContext:sap.com/[email protected]der@f46d103@alive ". Code snippet is as given below at the end of the message.
    1) I tried different ways to have a lookup and always gave message as "look up not found" and for pcd:portal_content came up with above error.
    2) Once I read the UCD context, I would like to store some values based on user selection and store them. User may change the values whenever they like and I will be using the values for other purposes in another application.
    3) Has any one successful in setting and reading UCD Context in NW 7.3. Will it be possible to share such sample code as the code snippets at http://help.sap.com/saphelp_nw73ehp1/helpdata/en/4a/8e1bce28e24dd8abd9f4de05e5587d/content.htm are not much of use unless I am able to read the UCD.
    Thanks for your help!
    Regards,
    Raju
    TestingUCD is my test application and the following is code snippet
    InitialContext initialContext = null;
    IPcdContext pcdCtx;
    Hashtable env = new Hashtable();
    env.put(UCD_INITIAL_CONTEXT_FACTORY, UCD_INITIAL_CONTEXT_FACTORY);
    env.put(Context.SECURITY_PRINCIPAL, request.getUser());
    env.put(Constants.REQUESTED_ASPECT, IPcdAttribute.PERSISTENCY_ASPECT);
    try{
    initialContext = new InitialContext(env);
    //response.write("Before pcdCtx lookup");
    try {
    pcdCtx = (com.sapportals.portal.pcd.gl.PcdGlContext) initialContext.lookup("pcd:portal_content");
    } catch(Exception e){
    response.write("Some problem with lookup" + e.getMessage());

    Hi,
    There are quite few differences in the standard code snippet given by SAP Help on UCD and the once that you put above in the question.
    Below is standard snippet.
    Hashtable<Object, Object> env = new Hashtable<Object, Object>();
    env.put(Context.INITIAL_CONTEXT_FACTORY,
    IPcdContext.UCD_INITIAL_CONTEXT_FACTORY);
    env.put(Context.SECURITY_PRINCIPAL, user);
    InitialContext ctx = new InitialContext(env);
    pcdCtx =  (IPcdContext) ctx.lookup("");
    ============================
    Check the ones highlighted in BOLD and compare them in your code. In your code when ur doing initial lookup you are not using the Correct class type cast for the returned lookup object!
    Your code shows as below:
    pcdCtx = (com.sapportals.portal.pcd.gl.PcdGlContext) initialContext.lookup("pcd:portal_content");
    But may be it shd have been something like below:
    pcdCtx = (IPcdContext) initialContext.lookup("pcd:portal_content");
    Pls verify and hopefully this resolves your issues around look up.
    Thanks,
    Swapna Priya.

  • How to set up for user's request to go through a specific module that i selected

    I am testing if it is possible all requests from users should go through a module
    that i made or not.
    For example, all most web server is setted all requests should go through the
    log module for writing log when users request a certain page.
    Like this, how to set up the configuration all request should go through a certain
    module.
    Would you tell me the answer please.

    Power on the Time Capsule for a few minutes, then hold in the reset button firmly with a ball point pen or something similar for 10 seconds and release. Allow a full minute for the Time Capsule to restart to a slow, blinking amber light.
    Connect an Ethernet cable from one of the LAN <--> Ethernet ports on the back of the Uverse router to the WAN "O" port on the Time Capsule
    On your Mac, open up Macintosh HD > Applications > Utilities > AirPort Utility
    Click on the Other WiFi Devices tab
    Click on the Time Capsule
    The setup utility will open up automatically and take a minute to analyze the connections then suggest a setup on a screen that looks like this:
    Type in a simple name that you want to use for the Wireless Network Name
    Type in a name that you want to use for the Time Capsule device
    Type in a password
    Verify the password
    Click Next
    The utility will set everything up for you in a minute or two. When you see the message of Setup Complete on the screen, click Done
    You can now log onto the wireless network that you created by selecting the name and entering the password
    Post back on your progress and we will next get backups going again

  • Application Exceptions for User Feedback

    Hi all!
    I guess this is a best practice question.
    I have a struts-based web app that contains various forms and fields that the user can interact with. When a user is filling out a form, I want to validate that the information s/he is inputting is correct. Now, for basic validation (valid date, string, number, etc) I plan on using javascript. However, there are some instances where I need to allow the user to submit the form, perform some action in my Action servlet and check to see if the data being submitted is correct (for instance, if a user is submitting a item, I would check against my session object, DB, EJB, etc, to see if it already exists). Now if somewhere down the stack of my methods, a piece of the submitted data is found to be invalid, I want to somehow feed back to the user that this is so by displaying it in a status section on my JSP.
    From what I've read, it looks like I'm dealing with an application exception. So here's what I've come up with:
    //Here's an application exception I created
    public class MyAppException extends Exception {
         String errorCode;
         String errorDescription;
         public MyAppException () {
              super();
         public MyAppException (
              String pErrorDescription) {
              errorCode = null;
              errorDescription = pErrorDescription.toUpperCase();
         public MyAppException (
              String pErrorCode,
              String pErrorDescription) {
              errorCode = pErrorCode.toUpperCase();
              errorDescription = pErrorDescription.toUpperCase();
         //Gets...
         public String getErrorCode() {
              return this.errorCode;
         public String getErrorDescription() {
              return this.errorDescription;
    //And here's the code that uses it
    public class ThisAction extends AdmAction {
    public ActionForward perform(
         ActionMapping          pMapping,
         ActionForm               pForm,
         HttpServletRequest pRequest,
         HttpServletResponse pResponse) throws ServletException {
    try{
    this.doSomething();
    catch (MyAppException e){
    pRequest.setAttribute("aToUsrMsg", e.getErrorDescription());
    catch (Exception e){
    e.printStackTrace();
    public void doSomething() throws MyAppException, Exception{
    try{
    SomeClass.someMethod();
    catch(MyAppException e){
    throw new MyAppException(e.getErrorDescription());
    catch(Exception e){
    e.printStackTrace();
    throw new Exception(e.getMessage());
    public static class SomeClass throws MyAppException, Exception{
    public static someMethod(
    try{
    if (SomeConditionExists){
    throw new MyAppException("You did something wrong");
    catch(Exception e){
    throw new Exception("Unexpected:" + e.fillInStackTrace());
    The problem instead of the application continuing as it should, reporting the app exception to the user, it halts and prints out the stack trace. Am I approaching this incorrectly?
    Thanks for your help!
    Leo

    try{
    if (SomeConditionExists){
    throw new MyAppException("You did something wrong"); // (1)
    catch(Exception e){ // (2)
    throw new Exception("Unexpected:" + e.fillInStackTrace());
    }Since MyAppException extends Exception, if MyAppException is thrown in (1), it will be caught in (2) and will later get "converted" to an ordinary Exception.

  • Configure ePortfolio for Crystal Reports 9 Report Application Server for Users to Run Reports

    Post Author: lacc
    CA Forum: Crystal Reports
    Sorry for this basic question but Crystal 9 is no longer supported and I am having trouble finding any documentation about how to configure ePortfolio let alone obtain any help from Crystal support.
    I have a set of .RPT files and would like the simplest and quickest method of distribution to the users with as little coding and fuss as possible.
    We have the ePortfolio page up and running but the users can only view the reports from ePortfolio. They also need to be able to run (refresh) the reports and enter the parameters which have already been built into the .RPT file. Providing access to the deactivated Schedule and History links would also be useful though not a priority unlike access to refresh and enter parameters.
    I usually create reports to run from within an application which I can handover to the application developer so working out how to distribute via this method is pretty new to me.
    I've also had a quick look at the Crystal Reports Viewer XI which appears to be backward compatible for Crystal 9 reports however this also appears to only allow users to view, not generate, reports.
    Any recommendations? Or could you point me in the direction of some documentation that might assist?

    Post Author: lacc
    CA Forum: Crystal Reports
    I think I've worked out that we are actually using ePortfolio Lite. Would anyone be able to confirm if there are any configuration options for ePortfolio Lite? I think we only have the Crystal Reports 9 Advanced version, not Crystal Reports 9 Enterprise. Would this mean that we therefore only have ePortfolio Lite not ePortfolio?

  • Athorization Object for User Parameter ID

    SAP gurus:
    In the project, we have introduced a Z_ user parameter.
    And users are allowed to flag this parameter on / off via su01 transaction.
    The question is: can we link user-parameter with authorization objects?
    In that case, we could further set-up authorizations to restrict which user-group can use this parameter
    and which group can not.
    Best regards.
    Vincent

    Hi,
    Please maintain a table which has got fields : User Id and Parameter Status (on/Off)
    Then you can put a restriction based on the values present in these table for any program.
    Please check the below link :
    http://help.sap.com/saphelp_40b/helpdata/en/e5/164b6e5733d1118b3f0060b03ca329/frameset.htm
    Regards
    Sreedhar Reddy

  • Upgrading/re-installing application quits for User

    When I re-instllaed Sorenson Squeeze it would not start "The application unexpectedly quit... etc" No amount of re-installing, optimizing, etc would fix this. The work-around was to create a new User and install it from there. No more problems.
    Then the same thing happened with an upgrade of Motion. "The application unexpectedly quit... etc". Installing it from the apternative User solved the problem, but Motion will only run from that User account.
    Today it happened to a colleague who was upgrading iShell from 4.0r9 to r10. He kept receiving a "Process Error (-600)" and nothing would open. I suggested the new User trick and it worked for him.
    A nice work-around, but there is obviously a problem here. This did not happen in 10.3. Any ideas about what's going on?

    Thanks macjack for a speedy and really helpful reply - it's filed. I've already tried the fonts and permissions, but I just went through your suggestions again with Motion. No joy I'm afraid. Here's the relevant bit of the crash report (I think - it's witchcraft to me)
    Thread 0 Crashed:
    0 com.apple.CoreFoundation 0x907c7af0 CFGetAllocator + 24
    1 com.apple.CoreFoundation 0x907c84ac CFURLCopyFileSystemPath + 28
    2 Ozone 0x011b6df4 +[OZFileSystemLibEntry buildTree] + 532
    3 Ozone 0x01356fb0 -[OZFileBrowserController buildTree] + 96
    4 Ozone 0x0135b920 -[OZLibraryControllerBase viewDidLoad] + 3888
    5 Ozone 0x013569b8 -[OZFileBrowserController viewDidLoad] + 104
    6 Ozone 0x0108d8a0 -[OZPBXModule _viewDidLoad] + 288
    7 Ozone 0x0108d2ec -[OZPBXModule view] + 124
    8 Ozone 0x0117a5f4 -[OZTabbedModule addTabViewItem:module:] + 68
    9 Ozone 0x01146710 -[OZLibraryInspectorController viewDidLoad] + 128
    10 Ozone 0x0108d8a0 -[OZPBXModule _viewDidLoad] + 288
    11 Ozone 0x0108d2ec -[OZPBXModule view] + 124
    12 Ozone 0x0108fda4 -[OZPBXWindowController _installModuleView] + 100
    13 Ozone 0x010905c4 -[OZPBXWindowController initWithModule:] + 68
    14 Ozone 0x0108f760 -[OZPBXModule setWantsModuleWindow:] + 192
    15 Ozone 0x011464c0 +[OZLibraryInspectorController instance] + 96
    16 Ozone 0x0114946c -[OZScreenLayoutManager loadInitialLayout] + 92
    17 Ozone 0x0114964c -[OZScreenLayoutManager loadInitialDocLayout:] + 60
    18 Ozone 0x0114e304 -[OZDocWindowController windowDidLoad] + 852
    19 com.apple.AppKit 0x937f2ca4 -[NSWindowController _windowDidLoad] + 332
    20 com.apple.AppKit 0x937ef678 -[NSWindowController window] + 128
    21 Ozone 0x01083260 -[OZObjCDocument showWindows] + 192
    22 com.apple.AppKit 0x9383bed4 -[NSDocumentController(NSDeprecated) openUntitledDocumentOfType:display:] + 132
    23 Ozone 0x013a9228 -[OZDocumentController openUntitledDocumentOfType:display:] + 232
    24 com.apple.AppKit 0x9379fff0 -[NSApplication sendAction:to:from:] + 108
    25 com.apple.prokit 0x962c5bdc NSProCenterRect + 32000
    26 com.apple.AppKit 0x9379ff24 -[NSControl sendAction:to:] + 96
    27 com.apple.AppKit 0x9379fe04 -[NSCell _sendActionFrom:] + 156
    28 com.apple.AppKit 0x937b9e1c -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 1020
    29 com.apple.AppKit 0x937b9a04 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 564
    30 com.apple.prokit 0x962f6850 NSProApplicationLoad + 197300
    31 com.apple.AppKit 0x937b9428 -[NSControl mouseDown:] + 536
    32 com.apple.AppKit 0x9375ac30 -[NSWindow sendEvent:] + 4616
    33 com.apple.prokit 0x962e3858 NSProApplicationLoad + 119484
    34 com.apple.AppKit 0x93703c74 -[NSApplication sendEvent:] + 4172
    35 com.apple.motion 0x00010a58 0x1000 + 64088
    36 com.apple.AppKit 0x936fb0b0 -[NSApplication run] + 508
    37 com.apple.prokit 0x962c6514 NSProApplicationMain + 288
    38 com.apple.motion 0x0000ec24 0x1000 + 56356
    39 com.apple.motion 0x0000d7e8 0x1000 + 51176
    40 dyld 0x8fe01048 dyldstart + 60
    Dual 2.3 PPC G5   Mac OS X (10.4.6)  

Maybe you are looking for

  • How can I get a webpage to load dialogs after mistakenly clicking "prevent this page from creating additional dialogs"?

    I still need to be able to have dialogs load with the webpage. I am not able to see any images on this webpage since clicking this button by mistake. Clearing the cache does not address the problem; Re-creating my profile does not correct the problem

  • Urgent Help Requested...

    Good day all, I have a 40GB iPod Photo. I've had it for over a year now and it's been working fine...uptil now. My friend suggested that there is a way to get my old iPod to play videos. He suggested something like iPodLinux. I tried it and now I wan

  • Lights in ALV OO

    Hi experts, i'm looking for a sample code using the three lights (red, yellow, green) in a ALV Object column. Thanks in advance, Soufiane

  • HELP!!!! Error 80003 App World Blackberry Curve 8520

    Hi, I have been getting the error message for the past 2 months. I've tried the option of setting via the Advanced Options > TCP/IP > APN and ticking the APN box and typing "Internet", and my App World still gives me the same error message, I reboote

  • DOubt ABAP HCM infotype 2001.

    Hi Gurus. I'm started a process in SAP portal to change pernr in infotype 2001 ,but it don´t worked (but is showed message ok ). In my rfc is called the 'HR_INFOTYPE_OPERATION' . I need understand ,why don´t worked. maybe could have any MP... program