Infopath form Alert message

I wonder if it is possible to have initial InfoPath form open that has a warning and describes what the form is used for.
Than have either an OK or Continue button which would open the Request Form.
I already created a Request Form which is submitting the requests into the SharePoint List.
simam

Hi Simam,
Browser enabled InfoPath form does not support alerts (message box).
One work around is to create a new view within the Request form and make this new view as default view.
Inside the view you could add two buttons, one for continue and another one for close.
if the use clicks Continue, you can create a rule to show (Switch view) Request form and Close button with Close Rule.
One important thing is you should disable switch view while publishing your form.
here is a reference to get started -
http://office.microsoft.com/en-us/infopath-help/add-delete-and-switch-views-pages-in-a-form-HA101732801.aspx
Hope this helps!
Ram - SharePoint Architect
Blog - SharePointDeveloper.in
Please vote or mark your question answered, if my reply helps you

Similar Messages

  • Forms alert message

    Is it possible to control the position of where to alert message display on screen (like LOV window)?
    NB: I am deploying the forms on Intranet via oracle application server.
    Can anyone help?
    Thanks in advance,
    Stan

    Sze,
    no. The alert dialog always comes up in the center of the form.
    Frank

  • Error message when opening infopath form

    I have a browser enabled infopath form loading in a Form webPart in a webpart page with another connecting web part. When users try to open the form they get:
    "An error occurred querying a data source"
    An entry has been added to the Windows event log of the server.
    Log ID:7893
    Correlation ID:42ed9f77-2bb5-4164-9c71-d8c13fadecb6
    After following the correlation ID in SharePoint log file I found these entries:
    06/02/2012 21:40:42.51 w3wp.exe (0x19F8)                       
    0x1970  SharePoint Foundation        
            Monitoring                   
         b4ly               
    High       Leaving Monitored Scope (PostResolveRequestCacheHandler). Execution Time=1456.48337845783               
    42ed9f77-2bb5-4164-9c71-d8c13fadecb6
    06/02/2012 21:40:42.59 w3wp.exe (0x19F8)                      
    0x1970  SharePoint Foundation        
            General                      
             72nz               
    Medium              
    Videntityinfo::isFreshToken reported failure.    
    42ed9f77-2bb5-4164-9c71-d8c13fadecb6
    06/02/2012 21:40:43.37 w3wp.exe (0x19F8)    
    0x1970  SharePoint Foundation        
            Monitoring                   
         b4ly               
    High       Leaving Monitored Scope (Activate web part connections). Execution Time=778.345021899529 
    42ed9f77-2bb5-4164-9c71-d8c13fadecb6
    06/02/2012 21:40:54.15 w3wp.exe (0x19F8)                      
    0x1970  InfoPath Forms Services      
            Runtime - Data Connections   
    7tfk        Medium 
    Data adapter failed during OnLoad: The operation has timed out              
    42ed9f77-2bb5-4164-9c71-d8c13fadecb6
    06/02/2012 21:40:54.15 w3wp.exe (0x19F8)                      
    0x1970  InfoPath Forms Services      
            Runtime - Data Connections   
    eq8m    Warning              
    The following data connection (0#.w|abc\test1) has timed out(User: BA Forms, Form Name: , IP:
    http://XXXX/new.aspx?ItemId=18, Request: urn:schemas-microsoft-com:office:infopath:BA-Forms:-myXSD-2012-02-15T04-39-46, Form ID: (null)).               
    42ed9f77-2bb5-4164-9c71-d8c13fadecb6
    This error just happens in the first load and if user reload the form there is no error.
    This problem happens if for a while around 30 min no one open the form.
    The weird thing is all data connections seem work fine because all fields can get their data from web service call.
    Does anybody knows how I can get rid of this error message in the first time of loading the from?
    Thanks,

    i receive error in uls
    02/04/2015 14:07:01.44  w3wp.exe (0x15C0)                        0x1764 SharePoint Foundation        
     Monitoring                     nasq Medium   Entering monitored scope (Request (GET:http://drims.dri.local:80/_layouts/FormServer.aspx?XsnLocation=http://drims.dri.local/popis/Forms/template.xsn&SaveLocation=http%3A%2F%2Fdrims%2Edri%2Elocal%2Fpopis&ClientInstalled=true&Source=http%3A%2F%2Fdrims%2Edri%2Elocal%2Fpopis%2FForms%2FAllItems%2Easpx&DefaultItemOpen=1)) 
    02/04/2015 14:07:01.44  w3wp.exe (0x15C0)                        0x1764 SharePoint Foundation        
     Logging Correlation Data       xmnv Medium   Name=Request (GET:http://drims.dri.local:80/_layouts/FormServer.aspx?XsnLocation=http://drims.dri.local/popis/Forms/template.xsn&SaveLocation=http%3A%2F%2Fdrims%2Edri%2Elocal%2Fpopis&ClientInstalled=true&Source=http%3A%2F%2Fdrims%2Edri%2Elocal%2Fpopis%2FForms%2FAllItems%2Easpx&DefaultItemOpen=1) 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:01.44  w3wp.exe (0x15C0)                        0x1764 SharePoint Foundation        
     Logging Correlation Data       xmnv Medium   Site=/ 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:01.45  w3wp.exe (0x15C0)                        0x1764 InfoPath Forms Services      
     Runtime                        5vax Verbose  FormServerPage BeginProcessRequest:
    http://drims.dri.local/_layouts/FormServer.aspx?XsnLocation=http://drims.dri.local/popis/Forms/template.xsn&SaveLocation=http://drims.dri.local/popis&ClientInstalled=true&Source=http://drims.dri.local/popis/Forms/AllItems.aspx&DefaultItemOpen=1 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:01.45  w3wp.exe (0x15C0)                        0x1764 InfoPath Forms Services      
     Runtime                        wdqk Verbose  GlobalStorage.Enter: New context - FormControl   Total contexts - 1 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:01.45  w3wp.exe (0x15C0)                        0x1764 InfoPath Forms Services      
     Runtime                        8z3p Verbose  Calling GlobalStorage.SetItem with index IsConversionInProgress value type Boolean. 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:01.45  w3wp.exe (0x15C0)                        0x1764 InfoPath Forms Services      
     Runtime                        57zo Verbose  XmlFormView: Entering OnInit 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:01.45  w3wp.exe (0x15C0)                        0x1764 InfoPath Forms Services      
     Runtime                        wdqm Verbose  GlobalStorage.Leave: Old context - FormControl   Total contexts after
    Leave - 0 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:01.45  w3wp.exe (0x15C0)                        0x1764 InfoPath Forms Services      
     Runtime                        57zq Verbose  XmlFormView: Leaving OnInit 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:01.45  w3wp.exe (0x15C0)                        0x1764 InfoPath Forms Services      
     Runtime                        5vat Verbose  FormServerPage OnInit Enter:
    http://drims.dri.local/_layouts/FormServer.aspx?XsnLocation=http://drims.dri.local/popis/Forms/template.xsn&SaveLocation=http://drims.dri.local/popis&ClientInstalled=true&Source=http://drims.dri.local/popis/Forms/AllItems.aspx&DefaultItemOpen=1 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:01.45  w3wp.exe (0x15C0)                        0x1764 InfoPath Forms Services      
     Runtime                        wdqk Verbose  GlobalStorage.Enter: New context - {F888E1A1-20CA-470d-A2F4-498A9ECD1C67}  
    Total contexts - 1 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:01.45  w3wp.exe (0x15C0)                        0x1764 InfoPath Forms Services      
     Runtime                        wdqm Verbose  GlobalStorage.Leave: Old context - {F888E1A1-20CA-470d-A2F4-498A9ECD1C67}  
    Total contexts after Leave - 0 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:01.45  w3wp.exe (0x15C0)                        0x1764 InfoPath Forms Services      
     Runtime                        8z3p Verbose  Calling GlobalStorage.SetItem with index IsConversionInProgress value type Boolean. 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:01.45  w3wp.exe (0x15C0)                        0x1764 InfoPath Forms Services      
     Runtime                        8z3p Verbose  Calling GlobalStorage.SetItem with index SiteAndWebCache value type SiteAndWebCache. 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:01.45  w3wp.exe (0x15C0)                        0x1764 InfoPath Forms Services      
     Runtime                        adv7 Verbose  XmlFormView: Entering OnDataBinding 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:01.45  w3wp.exe (0x15C0)                        0x1764 InfoPath Forms Services      
     Runtime                        wdqk Verbose  GlobalStorage.Enter: New context - FormControl   Total contexts - 1 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:01.45  w3wp.exe (0x15C0)                        0x1764 InfoPath Forms Services      
     Runtime                        5vav Verbose  FormServerPage CreateChildControls Enter:
    http://drims.dri.local/_layouts/FormServer.aspx?XsnLocation=http://drims.dri.local/popis/Forms/template.xsn&SaveLocation=http://drims.dri.local/popis&ClientInstalled=true&Source=http://drims.dri.local/popis/Forms/AllItems.aspx&DefaultItemOpen=1 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:01.45  w3wp.exe (0x15C0)                        0x1764 InfoPath Forms Services      
     Runtime                        5vaw Verbose  FormServerPage CreateChildControls Leave:
    http://drims.dri.local/_layouts/FormServer.aspx?XsnLocation=http://drims.dri.local/popis/Forms/template.xsn&SaveLocation=http://drims.dri.local/popis&ClientInstalled=true&Source=http://drims.dri.local/popis/Forms/AllItems.aspx&DefaultItemOpen=1 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:01.45  w3wp.exe (0x15C0)                        0x1764 InfoPath Forms Services      
     Runtime                        8geg Verbose  MetaInformationByUrl:scanned 63 of 63 formTemplates for URL=http://drims.dri.local/popis/Forms/template.xsn,
    fileName= template.xsn, matching=NONE 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:01.47  w3wp.exe (0x15C0)                        0x1764 InfoPath Forms Services      
     Runtime                        wdqk Verbose  GlobalStorage.Enter: New context - FormControl   Total contexts - 2 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:01.47  w3wp.exe (0x15C0)                        0x1764 InfoPath Forms Services      
     Runtime                        8z3p Verbose  Calling GlobalStorage.SetItem with index CultureData value type RequestCultureData. 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:01.47  w3wp.exe (0x15C0)                        0x1764 InfoPath Forms Services      
     Runtime                        0000 Verbose  XmlFormView: ShouldDisableFirstRequestOptimization for form:IW:/POPIS/FORMS/TEMPLATE.XSN,
    tag:K6W976CD4PLNJLrTYJOckzrMg3etJQ3uFbc8sT1x138 first request optimized:True on page:/_layouts/FormServer.aspx?XsnLocation=http://drims.dri.local/popis/Forms/template.xsn&SaveLocation=http%3A%2F%2Fdrims%2Edri%2Elocal%2Fpopis&ClientInstalled=true&Source=http%3A%2F%2Fdrims%2Edri%2Elocal%2Fpopis%2FForms%2FAllItems%2Easpx&DefaultItemOpen=1
    . 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:01.47  w3wp.exe (0x15C0)                        0x1764 InfoPath Forms Services      
     Runtime - State Service        8ykk Verbose  KEY: b967a19babe048c7bc0180dbd0a52d6e_1d793db6afc2409c88f1c180994563ae 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:01.47  w3wp.exe (0x15C0)                        0x1764 InfoPath Forms Services      
     Runtime                        8z3p Verbose  Calling GlobalStorage.SetItem with index EditingSessionId value type String. 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:01.47  w3wp.exe (0x15C0)                        0x1764 InfoPath Forms Services      
     Runtime                        8ykj Verbose  Creating document with editingSessionId: b967a19babe048c7bc0180dbd0a52d6e_1d793db6afc2409c88f1c180994563ae 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:01.47  w3wp.exe (0x15C0)                        0x1764 InfoPath Forms Services      
     Runtime                        8z3p Verbose  Calling GlobalStorage.SetItem with index TimeZoneId value type UInt16. 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:01.47  w3wp.exe (0x15C0)                        0x1764 InfoPath Forms Services      
     Runtime                        8z3p Verbose  Calling GlobalStorage.SetItem with index XmlForm value type XmlFormHost. 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:01.47  w3wp.exe (0x15C0)                        0x1764 InfoPath Forms Services      
     Runtime                        8z3p Verbose  Calling GlobalStorage.SetItem with index FormState value type FormStateBag. 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:01.47  w3wp.exe (0x15C0)                        0x1764 InfoPath Forms Services      
     Conversion and Deployment      93wz Verbose  Recursion: Entering schema validation. FormTemplate: urn:schemas-microsoft-com:office:infopath:popis:-myXSD-2015-01-21T07-22-46 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:01.47  w3wp.exe (0x15C0)                        0x1764 InfoPath Forms Services      
     Conversion and Deployment      93x0 Verbose  Recursion: Leaving schema validation. FormTemplate: urn:schemas-microsoft-com:office:infopath:popis:-myXSD-2015-01-21T07-22-46 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:01.91  w3wp.exe (0x15C0)                        0x1764 Secure Store Service         
     Secure Store                   elo9 Medium   Entering SecureStoreProviderFactory.GetDefaultSecureStoreProviderName 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:01.91  w3wp.exe (0x15C0)                        0x1764 Secure Store Service         
     Secure Store                   elp1 Medium   Leaving SecureStoreProviderFactory.GetDefaultSecureStoreProviderName 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:01.91  w3wp.exe (0x15C0)                        0x1764 SharePoint Foundation        
     Topology                       e5mc Medium   WcfSendRequest: RemoteAddress: 'https://vm-drims1:32844/9efec30f2e474b37a620610e7ffef5b3/SecureStoreService.svc/https'
    Channel: 'Microsoft.Office.SecureStoreService.Server.ISecureStoreServiceApplication' Action: 'http://schemas.microsoft.com/sharepoint/2009/06/securestoreservice/ISecureStoreServiceApplication/GetUserApplication' MessageId: 'urn:uuid:a65080f1-c38a-416f-a234-ab364197d7e1' 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:02.01  w3wp.exe (0x15C0)                        0x1764 SharePoint Foundation        
     Monitoring                     b4ly High     Leaving Monitored Scope (ExecuteWcfOperation:http://schemas.microsoft.com/sharepoint/2009/06/securestoreservice/ISecureStoreServiceApplication/GetUserApplication).
    Execution Time=112,764052414483 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:02.01  w3wp.exe (0x15C0)                        0x1764 SharePoint Foundation        
     Monitoring                     b4ly High     Leaving Monitored Scope (ExecuteOnChannel: GetApplication). Execution Time=113,705233486379 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:02.01  w3wp.exe (0x15C0)                        0x1764 SharePoint Foundation        
     Topology                       e5mc Medium   WcfSendRequest: RemoteAddress: 'https://vm-drims2:32844/9efec30f2e474b37a620610e7ffef5b3/SecureStoreService.svc/https'
    Channel: 'Microsoft.Office.SecureStoreService.Server.ISecureStoreServiceApplication' Action: 'http://schemas.microsoft.com/sharepoint/2009/06/securestoreservice/ISecureStoreServiceApplication/GetCredentials' MessageId: 'urn:uuid:de38ae0e-e451-40ca-8ba5-7f2eb0c1d730' 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:02.12  w3wp.exe (0x15C0)                        0x1764 SharePoint Foundation        
     Monitoring                     b4ly High     Leaving Monitored Scope (ExecuteWcfOperation:http://schemas.microsoft.com/sharepoint/2009/06/securestoreservice/ISecureStoreServiceApplication/GetCredentials).
    Execution Time=107,606972394536 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:02.12  w3wp.exe (0x15C0)                        0x1764 SharePoint Foundation        
     Monitoring                     b4ly High     Leaving Monitored Scope (ExecuteOnChannel: GetCredentials). Execution Time=109,635721858504 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:02.12  w3wp.exe (0x15C0)                        0x1764 InfoPath Forms Services      
     Runtime - Data Connections     6wdh Verbose  WebServiceQuery: Begin soln=urn:schemas-microsoft-com:office:infopath:popis:-myXSD-2015-01-21T07-22-46 adapter=current user 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:02.12  w3wp.exe (0x15C0)                        0x1764 InfoPath Forms Services      
     Runtime - Data Connections     6qh7 Verbose  Web Request: Begins url=http://drims.dri.local/_vti_bin/userprofileservice.asmx action=http://microsoft.com/webservices/SharePointPortalServer/UserProfileService/GetUserProfileByName 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:02.12  w3wp.exe (0x15C0)                        0x1764 InfoPath Forms Services      
     Runtime - Data Connections     13zc Verbose  Web Request:  Preparing SOAP message 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:02.12  w3wp.exe (0x15C0)                        0x1764 InfoPath Forms Services      
     Runtime - Data Connections     13zd Verbose  Web Request:  Preparing WebRequest 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:02.12  w3wp.exe (0x15C0)                        0x1764 InfoPath Forms Services      
     Runtime - Data Connections     1dhr Verbose  Web Request:  Writing request stream 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:02.12  w3wp.exe (0x15C0)                        0x1764 InfoPath Forms Services      
     Runtime - Data Connections     13zf Verbose  Web Request:  Getting response 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:04.12  w3wp.exe (0x15C0)                        0x1914 SharePoint Foundation        
     Topology                       e5mc Medium   WcfSendRequest: RemoteAddress: 'http://vm-drims:32843/9a369b2ae1ce44f88d48e93d62e5f772/MetadataWebService.svc'
    Channel: 'Microsoft.SharePoint.Taxonomy.IMetadataWebServiceApplication' Action: 'http://schemas.microsoft.com/sharepoint/taxonomy/soap/IDataAccessReadOnly/GetChanges' MessageId: 'urn:uuid:0346e221-d65e-4b5c-8be9-46f3d7f225b1' 
    02/04/2015 14:07:04.84  w3wp.exe (0x15C0)                        0x1838 SharePoint Portal Server       Runtime                      
     8gp7 Medium   Topology cache updated. (AppDomain: /LM/W3SVC/1229331659/ROOT-1-130675275570041108) 
    02/04/2015 14:07:12.33  w3wp.exe (0x15C0)                        0x1764 InfoPath Forms Services      
     Runtime - Data Connections     13zg Verbose  Web Request:  WebException Caught 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:12.33  w3wp.exe (0x15C0)                        0x1764 InfoPath Forms Services      
     Runtime - Data Connections     13zi Verbose  Web Request:  Copying response to DOMs 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:12.33  w3wp.exe (0x15C0)                        0x1764 InfoPath Forms Services      
     Runtime - Data Connections     13zi Verbose  Web Request:  Copying response to DOMs 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:12.33  w3wp.exe (0x15C0)                        0x1764 InfoPath Forms Services      
     Runtime - Data Connections     6qh8 Verbose  Web Request: Ends url=http://drims.dri.local/_vti_bin/userprofileservice.asmx action=http://microsoft.com/webservices/SharePointPortalServer/UserProfileService/GetUserProfileByName 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:12.33  w3wp.exe (0x15C0)                        0x1764 InfoPath Forms Services      
     Runtime - Data Connections     6wdi Verbose  WebServiceQuery: End 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:12.33  w3wp.exe (0x15C0)                        0x1764 InfoPath Forms Services      
     Runtime - Data Connections     7tfk Medium   Data adapter failed during OnLoad: The operation has timed out 9823355e-8a6c-4741-971e-a9e064249485
    02/04/2015 14:07:12.33  w3wp.exe (0x15C0)                        0x1764 InfoPath Forms Services      
     Runtime - Data Connections     eq8m Warning  The following data connection (DRI\gljubic) has timed out(User: popis, Form Name: , IP:
    http://drims.dri.local/_layouts/FormServer.aspx?XsnLocation=http://drims.dri.local/popis/Forms/template.xsn&SaveLocation=http://drims.dri.local/popis&ClientInstalled=true&Source=http://drims.dri.local/popis/Forms/AllItems.aspx&DefaultItemOpen=1,
    Request: urn:schemas-microsoft-com:office:infopath:popis:-myXSD-2015-01-21T07-22-46, Form ID: (null)). 9823355e-8a6c-4741-971e-a9e064249485
    i used your solution for this my problem but nothing.
    plz help me
    i changed settings for infopath forms service, but nothing
    what i do?

  • Display alert message On successful submission of a form

    I am trying display an alert message on a portal form when a user has saved their changes. I put the following code in the "On successful submission of a form" section.
    It does the go URL correctly but it does not display the alert message.
    url2 := 'PORTAL.wwa_app_module.link?' ||
    'p_arg_names=_moduleid&p_arg_values=' || l_module_id ||
    '&p_arg_names=_show_header&p_arg_values=YES' ||
    '&p_arg_names=_school_cond&p_arg_values=%3D' ||
    '&p_arg_names=_teacher_id_cond&p_arg_values=%3D';
    go(url2);
    htp.p('<SCRIPT LANGUAGE="JavaScript1.1">');
    htp.p('alert("Transaction complete... Class/Period Attendance has been posted to database.")');
    htp.p('</SCRIPT>');
    END;

    In Forms, you have "call" and "go" interfaces. You can provide the calling page URL in "go" interface.

  • Printing alert message in a jsp form a common file.

    Hi all,
    I have a file in which i have to print an alert message. Now the contents of the alert msg are in a common file with the extension" .properties ". in this .properties file the msg that has to be printed is kept in the following manner
    errors.abc.trialMsg=Hi.
    so now i have to do something like this
    alert("Hi");
    except that it cant bee hard coded in the jsp itself but has to be as a constant in the .properties file.
    something like alert(errors.abc.trialMsg);
    but im not sure what should be the correct syntax for it to work....cud someone help me.

    <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
    <fmt:message key="errors.abc.trialMsg"/>Pozz
    Rale

  • How to add an Alert Message

    Hi, what steps must I take to add an alert message that reminds the Adobe Reader end user to Print their form if they wish to keep a record of their form data.
    Also, where should such an alert appear, when and upon which event type?
    Harry

    Thanks Jimmy, unfortunately it doesn't work on my Submit button (which is where I do want it).. Here's what I have on the standard Submit button.
    ----- form1.SF_P8.SF_print-submit.EmailSubmitButton::click - (JavaScript, client) ------------------
    xfa.messageBox("Please ensure you also print a copy for your records", Warning, 1, 1);
    this makes my button do nothing at all, not even submit. I think it's because there are 2 events associated with it, the invisible "submit" and the new warning. Any suggestions?
    Harry

  • How displaying an alert message called from a database procedure

    Hi,
    How can I display an alert message that is called from a database procedure.
    I've tried the following code:
    l_al_button NUMBER;
    l_al_message VARCHAR2(80);
    l_al_id ALERT;
    Set_Alert_Property(l_al_id, alert_message_text,l_al_message);
    l_al_Button := show_alert(l_al_id);
    When trying I receive an error that says that the word ALERT need to be declared.
    Any suggestions?
    Thanks

    Hi,
    leave the procedure without error handling.
    This is what you can do:
    1.Inside the database procedure-
    BEGIN
    RAISE_APPLICATION_ERROR (-20001, 'The chosen length of the Public Key Exponent ....');
    END;
    2.Into your Form -
    BEGIN
    EXCEPTION
    WHEN OTHERS THEN
    IF sqlcode = '-20001' THEN
    Display Your Messages.
    END IF;
    Monica
    END;

  • Whenever I launch firfox through non admin login, I get an alert message.

    Whenever I open firefox through non admin login, I get following alert message. "Could not initialize the application's security component. The most likely cause is problems with files in your application's profile directory. Please check that this directory has no read/write restrictions and your hard disk is not full or close to full. It is recommended that you exit the application and fix the problem. If you continue to use this session, you might see incorrect application behaviour when accessing security features."
    After this, firfox opens but whenever I go to any web page having secure connection like orkut, facebook etc. firefox crashes. It works normally through admin login.
    == This happened ==
    Every time Firefox opened
    == I suppose this started when I updated it to latest version i.e. 3.6.8 ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2)

    Thankyou, for contacting Mozilla Firefox, Please join us on live chat so we can better assist you with your issue.

  • Alert message in pl/sql code

    I have a form based on procedure and i want when the procedure executed to appear an alert message. The form is as a portlet to a page. This is the code in the procedure
    htp.p('<SCRIPT>alert("my message");</SCRIPT>');
    The problem is that after the allert message, appears a page with a green icon and a 'back to form' link.
    I want to click on the OK button and returns to the same page. Can anybody tell me what have to do?
    Thanks

    I add the go procedure to the "On successful submission" but when the form is executed returns to the page without appears the alert message i want.
    In fact i want to execute the form and to appear a message in a form like as the message which appears in a form when an optional field is null. That missage is "item_name cannot be null".You click the OK button and continue to the same page. I want that functionality when the form is executed. For example when the form is executed i want to appear the message "The procedure was successful" and the user have to press only the OK button and continue explore the same page.
    Remember that my form is on store procedure and the allert code is in the procedure's body
    Thanks

  • Alert message error - need help

    I'm very poor in the javascript department when developping PDFs and I would need a little help with this issue.
    On one row, I would need field C to check on exit if Field A is larger than field C. If field A is not larger, then I need an alert message to pop up and say "Field C cannot be larger than field A." and then the cursor would return to field C, and the value of field C would become 0 (zero).
    I've tried a few ways, but I do not seem to be getting it right. Any one have a clue how to do this effectively?
    Thank you!

    It would appear that there isn't. The sample I posted worked for me, which makes me think there are other factors involved such as:
    1. What version of compatibility are you saving the form as? (I saved it as compatible with 8.1 or later)
    2. What program is being used to open the pdf? (I used Acrobat 8.1.6)
    3. Is the user actually clicking the button with the mouse or simply hitting the Enter key to answer the pop-up? (I clicked it)
    4. Machine OS (I'm using 64-bit XP, Service Pack 2)
    Something else is going on that is making the pdf perform differently, maybe something as simple as the form moving outside the environment it was created in. No matter what the reason is, controlling the focus is the issue and it doesn't look to be something we can control reliably.

  • Alert Message and linefeeds

    I can create a multi-line alert in the Forms 6i Builder, Alert Property Palette, in the Message by using the editor window and typing and using the Enter key to break the line. When I close the edit window, the text shows up on the property with a box where the linefeed is. If I cut the box and paste it into a different editor, I see it is actually the chr(10) linefeed character.
    When I compile and run the form on Web Forms 6i, the message displays as a multi-line message, with linefeeds where I wanted them.
    However, I cannot use Set_Alert_Property to set the message. The Chr(10) characters are displayed on the web forms as a square box.
    An earlier topic here reported that using \n or /n in place of chr(10) would work in Web Forms, but I cannot get either to work.
    So if anyone knows how to use Set_Alert_Property to set the message containing a linefeed that works on Web Forms 6i, I would really like to know.
    Thanks in advance.

    Ok, upon further investigation, I found that I was mixing alert messages with stacked messages via the Message command. We use a generic PLL_ALERT call to display popup windows. It checks to see if an alert named 'ALERT_001' is defined in the current fmb, and if so, AND if the message is less than 200 characters, uses the alert. If there is no alert defined or if the message is more than 200 characters, uses the stacked message command.
    It is in the stacked message on the web where both CHR(10) and CHR(13) do NOT work.
    Here is what I found:
    CHR(10) starts a new line for:
      Forms6 client/server alert
      Forms6 client/server message
      Forms6 web alert
      ***fails (space) Forms6 web message
    CHR(13) starts a new line for:
      Forms6 client/server alert
      Forms6 client/server message
      ***fails (a box) Forms6 web alert
      ***fails (a box) Forms6 web message
    CHR(138) starts a new line for:
      ***fails (S) Forms6 client/server alert
      ***fails (S) Forms6 client/server message
      Forms6 web alert
      Forms6 web message
    The CHR(138) 'S' has a curve (umlaut?) above it in Forms6 client/server.
    Here is the code I used in a key-dup-item trigger to get my results above:
    DECLARE
      msg VARCHAR2(300) :=
        '____long_line_to_set_alert_window_width____ '
        ||'CHR(10)---a'||CHR(10)||'b---'
        ||'CHR(13)---c'||CHR(13)||'d---'
        ||'CHR(138)---e'||CHR(138)||'f---';
    BEGIN
      SET_ALERT_PROPERTY('ALERT_001',ALERT_MESSAGE_TEXT,msg);
      IF SHOW_ALERT('ALERT_001') = 0 THEN NULL; END IF;
      -- stacked messge --
      MESSAGE(msg);
      MESSAGE(' ',NO_ACKNOWLEDGE);
    END;

  • Alert message and timeout PJC

    Hi,
    We are using timeout PJC  functionality for our web forms. It's working fine and the form application display the alert/message whenever inactivity time reaches(which is set for 30 minutes). The issue is when you minimized the form application by clicking the browser's minimized button and now let say you are working in Toad or some other application and in a mean time your form application which is minimized and its inactivity time reaches but the alert/message is hidden with the minimized form application. Is there anyway to show the alert/message in my current working window/application? Any advise/suggestion please?
    Thanks
    RM

    Hi Francois,
    The frmall.jar is already in C:\Oracle10g_ds\forms\java location. But still when i try to compile TimeoutPJC.java in jdeveloper i get the comilation errors.
    Compiling...
    C:\Oracle10g_ds\jdev\bin\ojc.exe -noquiet -warn -nowarn:320 -nowarn:486 -nowarn:487 -deprecation:self -target 1.2 -encoding Cp1252 -g -d C:\Oracle10g_ds\jdev\mywork\Application1\Project\classes -make C:\Oracle10g_ds\jdev\mywork\Application1\Project\classes\Project.cdi -classpath C:\Oracle10g_ds\jdk\jre\lib\rt.jar;C:\Oracle10g_ds\jdk\jre\lib\i18n.jar;C:\Oracle10g_ds\jdk\jre\lib\sunrsasign.jar;C:\Oracle10g_ds\jdk\jre\lib\jsse.jar;C:\Oracle10g_ds\jdk\jre\lib\jce.jar;C:\Oracle10g_ds\jdk\jre\lib\charsets.jar;C:\Oracle10g_ds\jdk\jre\classes;C:\Oracle10g_ds\jdev\mywork\Application1\Project\classes -sourcepath C:\Oracle10g_ds\jdev\mywork\Application1\Project\src;C:\Oracle10g_ds\forms\demos\timeout\src;C:\Oracle10g_ds\jdk\src.zip C:\Oracle10g_ds\forms\demos\timeout\src\oracle\forms\demos\TimeoutPJC.java
      compiling C:\Oracle10g_ds\forms\demos\timeout\src\oracle\forms\demos\TimeoutPJC.java
    [1:07:42 PM] Compilation complete: 6 errors, 0 warnings.
    Project: C:\Oracle10g_ds\jdev\mywork\Application1\Project\Project.jpr
    C:\Oracle10g_ds\forms\demos\timeout\src\oracle\forms\demos\TimeoutPJC.java
    Error(46,28): cannot access class oracle.forms.engine.Main; file oracle\forms\engine\Main.class not found
    Error(47,29): cannot access class oracle.forms.handler.IHandler; file oracle\forms\handler\IHandler.class not found
    Error(48,32): cannot access class oracle.forms.properties.ID; file oracle\forms\properties\ID.class not found
    Error(49,24): cannot access class oracle.forms.ui.CustomEvent; file oracle\forms\ui\CustomEvent.class not found
    Error(50,24): cannot access class oracle.forms.ui.VBean; file oracle\forms\ui\VBean.class not found
    Error(52,33): class VBean not found in class oracle.forms.demos.TimeoutPJC
    Thanks RM

  • InfoPath Form Library not working

    I have noticed after rebooting our server that all the infopath form libraries are not working. When I try and add a document I receive an error instead of the InfoPath form opening. I have also noticed that there is a "Relink Documents to this Library"
    Option in the Library Settings. I have tried relinking the documents but still no change.
    Error Message is received:
    The Document Could not be created.
    The required application may not be installed properly or the template for this document cannot be opened.
    dfrancis

    Resolved. Re-installed Office.
    dfrancis

  • Cannot update new field through SharePoint properties on re-pubished InfoPath form

    Hello,
    I would truly appreciate any help with this problem. I've searched the forum for answers to this issue, but none of the ones I've found seem to
    apply.
    We are using SharePoint 2007. 
    When I re-publish a form with a new field, I am unable to modify that new field through SharePoint properties on older forms. I have tried re-linking the old forms but that does not resolve the issue. I can re-create this problem consistently in new
    and old InfoPath form libraries.
    Here are the latest steps I have taken to re-create the error:
    Created Form Library called Error Testing.
    Created new form (from blank template) with three data fields in the data source: name, occupation and address.
    Added section and all fields onto the form.
    Published form to Error Testing library. All fields were promoted and selected the “Allow users to edit data in this field by using a datasheet or properties page” option.
    Created and saved Form 1 in library with no issues.
    Opened edit properties and was able to modify and save the content in all three fields.
    Added a new field to the form template: City.
    Published form to Error Testing library. The original fields, and the new field were promoted and selected the “Allow users to edit data in this field by using a datasheet or properties page”
    option.
    Created and saved Form 2 in library with no issues.
    Opened edit properties in Form 2 and was able to modify and save the content in all three fields.
    Opened edit properties in Form 1, modified all fields and got the following message when I tried to save: 
    "Changes could not be saved into the document. The property to change is read-only for the document's content type, or the document is missing XML elements or attributes where
    the changes would be saved. Try editing the document in a Windows SharePoint Services-compatible XML editor such as MicroSoft Office InfoPath."
    Modified each field one at a time and determined the field I could not edit and that was causing the error message was
    the new City field.
    I re-linked Form 1 and got same error message when I tried to modify the City field.
    I opened Form 1 entered the city and saved.
    The content of the city field appears in the SharePoint column and I am able to edit the content through the Edit Properties field.
    This is an issue when we run a workflow that tries to update the new field on an old version of an InfoPath form.

    You can certainly add the fields manually by using SharePoint Designer, but a more effective way to Open the form template in "Design Mode" Click "Tools" and then "Form Options" Choose "Versioning".
    InfoPath defaults to not Upgrade forms automatically. If different versions are not a historical issue for this solution, then Change the default to "Automatically Upgrade Old Forms". Then republish form... The Next time you open a from in
    the library with this content type it will upgrade the old forms in the library.
    Have a look at this post on the same topic:
    http://social.msdn.microsoft.com/Forums/en-US/cffd3fa0-0a53-4ef2-8c62-0764cbe9f0e2/adding-new-fields-to-existing-infopath-form-template?forum=sharepointcustomizationlegacy

  • Dynamic alert messages

    Hi All,
    I have got alert categories created by client,I have to use alert categories and dynamic alert message in BPM.i am not authorized for transaction ALRTCATDEF.Can you tell me where i can see dynamic alert messages for alert categories created.Is there any transaction or I can check in RWB in alert configuration
    Best Regards,
    Harleen Kaur Chadha

    Alert Configuration:- You use alert configuration to have the system informed you about the errors that occurs during message processing.
    *Used for alerts that occurs at IE.
    Alert Management: When you define the integration process you can specify that if a particular situation occurs at runtime a alert has to be thrown using alert management.
    *Used to handle business specific errors.
    For example if the stock falls below certain level an alert has to be thorwn to the specified user using the integration process in this case you have to follow steps defined in alert management
    Defining Alert Categories
    During alert category definition, you specify the alert text, expiry time, escalation, and all other conditions related to the sending of this kind of alert.
    1. Ensure that you are in change mode in the alert category definition environment (transaction ALRTCATDEF).
    2. Choose Create Alert Category.
    3. In the Alert Category column, enter a technical key. Choose a key that describes the situation that triggers the alert, such as CUSTCANC for a category responding to a customer cancellation. This key is language-independent and identifies the alert category. The standard namespace convention applies to the key, this means keys Z* und Y* belong to the customer name space.
    4. On the Properties tab page:
    a. In the Description field, enter a description for the alert category. Choose a description that is informative with respect to the content of the alert category. The description is language-dependent.
    b. If required, you can select a classification in the Classification field. If you do not choose a specific classification, the category is stored in the classification folder Unclassified. For more information on classifications, see Alert Classification.
    c. In the Max. No. of Dels field, specify a maximum number of times that an alert of this category is to be delivered if it is not confirmed. This refers to delivery using a communication channel other than to the recipientu2019s display program (UWL, application-specific program, or alert inbox).
    d. Select Dynamic Text if the texts of the alert category cannot be defined at this stage. This refers to situations in which the texts are not known until runtime, for example when CCMS Alerts are forwarded to ALM.
    No translation can be performed for alerts with dynamic text. System messages can be entered manually in several languages.
    e. In the Expiry Time in Min. field, you can enter a life span for alerts of this category if the alerts will no longer be relevant after a specific period of time. If the expiry time elapses, the alert is removed from the alert inbox and is no longer delivered using any other channel.
    Expiry times can be derived from various sources. Priority is given first to the data provided by the triggering application, second to the BAdI ALERT_EXP_DATE, and third to this field in the alert category definition. If none is found in any of these sources, the default expiry of 31.12.2099 applies.
    f. If you wish to specify an escalation recipient, select Escalation Active and enter the escalation recipient. Also specify a tolerance time in minutes. When escalation is active for an alert category, an alert is escalated if none of the alert recipients has confirmed the alert after this tolerance time. The escalation recipient is also informed that he or she has received the alert because of an escalation.
    The escalation functionality is based on the administrator report RSALERTPROC. This report has to be scheduled as a regular job. For information on this report.
    5. On the Container tab page, define any variables that you may want to use in the short text or long text. You can also define other application-specific variables, such as company code or material number. These variables are then replaced at runtime with values from the application. For more information, .
    6. On the Short and Long Text tab page, enter texts for the alert category. You can include text variables referring to elements of the alert container or system symbols. In the case of a container element, the variable must be defined in the alert container. The entry in the text must be in the form &<ElementName>&.
    The title is used as mail title, fax subject, and alert title in the inbox. The long text is used as mail/fax body and the long text view in the inbox. The short text is used for pager and SMS.
    7. On the Optional Subsequent Activities tab page, you can enter URLs for subsequent activities. If you trigger your alerts by calling a function module, you can also specify dynamic subsequent activities. For more information, see Triggering by Calling a Function Module Directly in Triggering Alerts.
    8. Save your entries.
    You create an alert category to use in alert rules.
    Basic alert configuration
    The specified item was not found.
    The specified item was not found.
    Trigerring alerts from UDF
    Triggering XI Alerts from a User Defined Function
    Alert Configuration
    http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
    Alert Inbox
    http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
    Alert Notification Step-by-Step
    http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
    Defining Alert Classifications
    http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
    Triggering Alerts
    http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
    Setting up alerts
    Setting up alerts in RZ20
    Alert Management
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e04141e8-0f11-2a10-adaa-9d97b062c2df
    Alert Notification
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/90f449a8-a6db-2910-a386-d2b5999f5751
    ALRTCATDEF Editing Alert Categories
    ALRTCATDEF_SEL Define Alert Category
    ALRTDISP Display Alerts
    ALRTINBOX Alert Inbox
    ALRTMON Alert Monitor
    ALRTPERS Personalize Alert Delivery
    ALRTPROC Process Alerts
    ALRTSUBSCR Subscribe to Alert Categories
    The Alert Framework provides an interface from the Basis (Web AS) Alert Framework. You use
    transaction ALRTCATDEF to define the text, the priority, number of delivery, etc. for the alert.
    ?? To configure your alerts, proceed as follows:
    ?? To define an alert category, choose Create Alert Category.
    ?? You can also create the alert category directly by calling transaction ALRTCATDEF. In both
    cases you require the authorizations of the role SAP_XI_ADMINISTRATOR.
    Triggering XI Alerts from a User Defined Function
    The specified item was not found.
    The specified item was not found. - Alert Configuration
    The specified item was not found. - Trouble shoot alert config
    Configuring scenario specific E-mail alerts in XI-CCMS: Part  - 1 -- ccms alerts ? 1
    Configuring scenario specific E-mail alerts in XI-CCMS: Part-2 -- ccms alerts ? 2
    Configuring scenario specific E-mail alerts in XI-CCMS: Part 3 -- ccms alerts --- 3
    Alerts with variables from the messages payload (XI) - UPDATED -
    The specified item was not found.
    http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
    From HelpFile
    When alerts r not displayed in inbox ?
    Then check the following
    Tcode - ALRTCATDEF_SEL
    Report - RSALERTDISP and RSALERTPROC , SXMSALERT_LOGREADER
    Did you run the report SXMSALERT_LOGREADER in SE38... If you run it, please post the corresponding logs here. If not, try to run the report giving corresponding message id and post the logs here. We will try to figure it out

Maybe you are looking for

  • MULTIPLE DISPLAYS with Tecra A11

    We are upgrading our classrooms with laptops & smart boards.  We have purchased the Tecra A11 laptop with the PA3680U port replicator and the D19W12B monitor. To utilize the smart board (ENO) we have a VGA splitter. When connected conventionally (we

  • How to Transfer AR AP Data to Profit Center Accounting

    Hi, Can anyone explain me the process of transferring the AR - AP data load into Profit center accounting. As of now we dont have  PCA inthe existing SAP system. Now implemented PCA and wanted to bring old AR AP data... Please give me the process for

  • Restrict employee postion to current based on Org Unit

    Hi, We have recently implemented structural Authorization and I am now trying to create a query based on Org Unit. The query is to show employee by position based on org unit. I have made org unit auth relevant and created a hierarchy variable as the

  • 2 DataSource from a Processor

    Hi all, does someone know why when i try to get 2 datasource from a processor, only the second seems to work? I want to duplicate the image of the webcam on the frame. //Choose the format and processor model Format[] format = new Format[1]; format[0]

  • Can't sync calendar from mac (OS X version 10.9.2) to iPhone (5s, version 7.1.1). Please help. thanks.

    can't sync calendar from mac (OS X version 10.9.2) to iPhone (5s, version 7.1.1). Please help. thanks.