How to validate People Picket control at client side using javascript/Designer in New form.aspx

Hi Folks,
I have list library with 2 columns. where as 1 column is people picker control and it is not mandatory filed .
When the user open newform.aspx and fill all the column values and submit it should show error message if user not enter any data in people picker control column though it is not a mandatory column.
How to achieve this by using javascript or sharpoint designer.

Hello,
Here is script for that:
http://social.msdn.microsoft.com/Forums/en-US/f1c2a651-a0fb-484d-af33-e7084439b6c8/validate-sharepoint-people-picker-using-javascript?forum=sharepointgeneralprevious
http://ankursharepoint.blogspot.in/2012/10/javascript-validation-of-people-picker.html
Edit your newform.aspx page and add content editor webpart on that page. Then add script on HTML source section.
Hope it could help
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

Similar Messages

  • How to read and write Xml file at client side using JavaScript !

    Hello,
    i am new to javascript.
    I have requirement to read and update XML file at client side.
    Will you please guide what could be the best way to read and update XMl file using javascript.
    Thanks,
    Zuned

    This is a Java forum,not a Javascript forum. Maybe you should ask here [http://www.webdeveloper.com/forum/forumdisplay.php?forumid=3&s|http://www.webdeveloper.com/forum/forumdisplay.php?forumid=3&s].

  • How to create a Document Set in SharePoint 2013 using JavaScript Client Side Object Model (JSOM)?

    Hi,
    The requirement is to create ""Document Sets in Bulk" using JSOM. I am using the following posts:-
    http://blogs.msdn.com/b/mittals/archive/2013/04/03/how-to-create-a-document-set-in-sharepoint-2013-using-javascript-client-side-object-model-jsom.aspx
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/1904cddb-850c-4425-8205-998bfaad07d7/create-document-set-using-ecma-script
    But, when I am executing the code, I am getting error "Cannot read property 'DocumentSet' of undefined "..Please find
    below my code. I am using Content editor web part and attached my JS file with that :-
    <div>
    <label>Enter the DocumentSet Name <input type="text" id="txtGetDocumentSetName" name="DocumentSetname"/> </label> </br>
    <input type="button" id="btncreate" name="bcreateDocumentSet" value="Create Document Set" onclick="javascript:CreateDocumentSet()"/>
    </div>
    <script type="text/javascript" src="//ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.2.min.js"> </script>
    <script type="text/javascript">
       SP.SOD.executeFunc('sp.js','SP.ClientContext','SP.DocumentSet','SP.DocumentManagement.js',CreateDocumentSet);
    // This function is called on click of the “Create Document Set” button. 
    var ctx;
    var parentFolder;
    var newDocSetName;
    var docsetContentType;
    function CreateDocumentSet() {
        alert("In ClientContext");
        var ctx = SP.ClientContext.get_current(); 
        newDocSetName = $('#txtGetDocumentSetName').val(); 
        var docSetContentTypeID = "0x0120D520";
        alert("docSetContentTypeID:=" + docSetContentTypeID);
        var web = ctx.get_web(); 
        var list = web.get_lists().getByTitle('Current Documents'); 
        ctx.load(list);
        alert("List Loaded !!");
        parentFolder = list.get_rootFolder(); 
        ctx.load(parentFolder);
        docsetContentType = web.get_contentTypes().getById(docSetContentTypeID); 
        ctx.load(docsetContentType);
        alert("docsetContentType Loaded !!");
        ctx.executeQueryAsync(onRequestSuccess, onRequestFail);
    function onRequestSuccess() {       
        alert("In Success");
        SP.DocumentSet.DocumentSet.create(ctx, parentFolder, newDocSetName, docsetContentType.get_id());
        alert('Document Set creation successful');
    // This function runs if the executeQueryAsync call fails.
    function onRequestFail(sender, args) {
        alert("Document Set creation failed" + + args.get_message());
    Please help !!
    Vipul Jain

    Hello,
    I have already tried your solution, however in that case I get the error - "UncaughtSys.ArgumentNullException: Sys.ArgumentNullException:
    Value cannot be null.Parameter name: context"...
    Also, I tried removing SP.SOD.executeFunc
    from my code, but no success :(
    Kindly suggest !!!
    Vipul Jain

  • How to Install SSIS COM Component on Client side

    Hi,
    I am new to BPC.
    I can't install SSIS COM Component on Client side.
    and i guess,  it lead BPC Excel , Data Manager is not working.
    Because all the user are local user on server side, no domain
    I have run OSoftSetup.exe,  but the result is
    Error (Login failed for user ". The user is not associated with a trusted SQL Server connection.)
    i have tried to change the OutlookSoft.config in OSoftSSIS_Client\Bin Folder
    and the config doesn't take any effect.
    How to How to Install SSIS COM Component on Client side?
    thx
    It is client side PC_MS\Logging\Log
    #ERROR#CustomXMLClt##EPM-BPC-MS##e17c2022-c7d4-4a0b-8515-b719441e3dbf###XMLParser : GetTagValue#hostname
    user########Plain##[LOG ID:22]System.NullReferenceException: Object reference not set to an instance of an object.
       at OSoft.Consumers.Common.CustomXML50.XMLParser.GetAttributeValue(String strKeyValue, String strAttKeyValue, String strSubKeyValue)#
    thx
    John

    But the problem is...in client side
    When opening Office 2007 Excel -> eTool -> Data Manager
    There have no option showed.
    and in C:\Documents and Settings\<user>\My Documents\PC_MS\Logging\Log
    it has following error.
    2010 08 21 17:15:35:875#+8:00#ERROR#CustomXMLClt##EPM-BPC-MS##51cea66a-13cd-49fc-afdd-7b492566bd12###XMLParser : GetTagValue#<HOSTNAME>
    BPCADM########Plain##[LOG ID:346]System.NullReferenceException: Object reference not set to an instance of an object.
       at OSoft.Consumers.Common.CustomXML50.XMLParser.GetAttributeValue(String strKeyValue, String strAttKeyValue, String strSubKeyValue)#
    2010 08 21 17:15:35:875#+8:00#ERROR#DMClientTools##EPM-BPC-MS##7aec1fbe-5fda-4c91-9c4a-1eec5e59911b###DMTools::ErrCheck#<HOSTNAME>
    BPCADM########Plain##[LOG ID:347]System.Exception: 91: Object reference not set to an instance of an object.
       at OSoft.Consumers.DataMgr.DMClientTools50.DMTools.ErrCheck(String strRtn)#
    2010 08 21 17:15:35:875#+8:00#ERROR#DMClientTools##EPM-BPC-MS##48f5a612-a046-4ef9-a56c-db565ef489d2###DMTools::GetServerInfo#<HOSTNAME>
    BPCADM########Plain##[LOG ID:348]System.Exception: 91: Object reference not set to an instance of an object.
       at OSoft.Consumers.DataMgr.DMClientTools50.DMTools.ErrCheck(String strRtn)
       at OSoft.Consumers.DataMgr.DMClientTools50.DMTools.GetServerInfo(String strContext, String strFilter, String strSecurity)#
    2010 08 21 17:15:35:890#+8:00#ERROR#DMConsole##EPM-BPC-MS##af7f7343-1cb2-4802-a667-2adbb1b8e2fd###basClientTools::ChangeClientSiteList#<HOSTNAME>
    BPCADM########Plain##[LOG ID:349]Subscript out of range#

  • How to validate an attribute in a table/EO using a DB Table

    I have an attribute LocationId in DuplicateLocationEO(LocationId,LocationName)
    And I need a validation on this so that user can enter a LocationId that exists in LOCATION_ID of HR.LOCATIONS table
    How to validate an attribute in a table/EO using a DB Table?

    Issue: Insert a value into an attribute if it is valid, Like it is available in another table.
    Scenario: Insert a Location into a DuplicateLocationEO based on LocationEO.
    Solution: Create a Entity Validator on LocationId of DuplicateLocationEO that is list based on query of LocationEO’s LocationId.
    Note: if the validation is created at attribute level, then it leads to NPE or Undesirable results.
    Procedure Steps:
    Step#01: Open desired Entity Object “DuplicateLocationEO”, Go to “Overview” tab & “Business Rules” finger tab.
    Step#02: Select “Entity Validators” & Click “+”
    Step#03: Set the following Rule Definition Tab:
    •     Select Rule Type as “List”
    •     Attribute “LocationId”
    •     Operator “In”
    •     List Type “Query Result”
    •     Enter SQL Statement “Select LOCATION_ID FROM LOCATIONS”
    Step#04: Now go to “Failure Handling” tab & Select radio button for “Error”.
    Step#05: Click the Magnifier link to create a message.
    Step#06: In the “Select Text Resource” popup. Provide the following
    •     Display Value: “Invalid LocationId: {LocationId}. Please enter a valid Location”
    •     Key: INVALID_LOC
    •     Description: message when user enters an invalid location.
    Step#07: Click “Save and Select” Button
    Step#08: Click “OK” Button
    Reference:
    DuplicateLocationEO DDL Script:
    CREATE TABLE "HR"."TEST_LOC"
    (     "LOCATION_ID" NUMBER NOT NULL ENABLE,
         "LOCATION_NAME" VARCHAR2(50 BYTE) NOT NULL ENABLE,
         CONSTRAINT "TEST_LOC_PK" PRIMARY KEY ("LOCATION_ID")
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ENABLE
    ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ;
    To Populate Rows:
    Insert into TEST_LOC select Location_id, city from LOCATIONS

  • How many iPads can be controlled by one device using keynote remote

    How many iPads can be controlled by one device using keynote remote?

    ask your question in the iWork for iOS  discussion
    iWork for iOS

  • How can I attach a PDF in an email, using javascript in PDF document?

    How can I attach a PDF in an email, using an interactive button in the PDF-document?
    I tried to create a form button with the menu action 'attach this PDF in an email'.
    This Send.to-action doesn't work with Microsoft.
    Does anyone has a solution by implementing a javascript-code for this in the PDF?

    Dick,
    Thanks for your replie.
    Nice alternative, but it still doesn't work on a Windows machine when the
    mail software from Microsoft doesn't react on PDF actions.
    You can do many things in Acrobat, but it is a problem when it doesn't work
    on Windows and iPad.
    So now I am looking for alternatives like  interactive magazine software
    (based on html5).
    2012/5/11 dick the flash <[email protected]>
       Re: How can I attach a PDF in an email, using javascript in PDF
    document?
    created by dick the flash <http://forums.adobe.com/people/dicktheflash>in
    JavaScript - View the full discussion<http://forums.adobe.com/message/4395927#4395927

  • Set client var using javascript

    i have a form where a user enters a line of info, and i want
    to save that as a client variable without having to post the form.
    is it possible to set a CF client variable using javascript?

    > cookies can be created/edited/deleted using js, so i just
    need
    > to know how i would go about editing a cf created
    cookie using js.
    You've inched away from your original question. It was about
    how to use Javascript to save form data in Coldfusion without
    having to send the form from the browser. The answer is, you can't.
    > i used javascripts document.cookie to make changes to the
    correct coldfusion
    > client variables..works like a charm
    You've not changed any Coldfusion variable at all. What
    you've simply done is use Javascript to write a new cookie, which
    Coldfusion then reads later. To see that, do this test.
    Save and run the following code as the page
    testCookieJS.cfm
    <html>
    <head>
    <title>testCookieJS</title>
    <script type="text/javascript">
    document.cookie="JS test cookie";
    </script>
    </head>
    <body>
    Coldfusion cookie struct dump:
    <cfdump var="#cookie#">
    </body>
    </html>
    You will find that the "JS cookie" is not dumped. However,
    you will find that the cookie is actually present in the browser.
    Now, close the browser and delete all cookies. Save and run
    the following code as the page
    testCookieCF.cfm
    <cfcookie name="CFCookieTest" value="CF test cookie">
    <cfdump var="#cookie#">
    You will find that the "CF cookie" is dumped. The difference
    in the result of the two tests shows that one cannot use Javascript
    to change the cookie that Coldfusion sets. In fact, generally
    speaking, you cannot use Javascript to modify any Coldfusion
    variables. If you could, anyone would be able to use an HTML page
    to rewrite your Coldfusion site.

  • What is the Oracle 10g services in client-side use?

    What is the Oracle 10g services in client-side use?--------No188

    Hi,
    Don't you think that including the question number tips-off people that this is course work?
    Anyway, Google can be very helpful for finding answers to your Oracle questions. Check this out:
    http://www.dba-oracle.com/t_google_keyword_searching.htm

  • How to pass a single quote in a URL using Javascript

    Can someone tell me how to pass a single quote in a URL using Javascript. I have created a Javascript funciton in which I pass several column values from an APEX report.
    The URL for the report link I am using is "JAVASCRIPT:passBack('#EMP_ID#','#Name#','#e-mail#')"
    The problem occurs with the Name and e-mail columns contain a single quote (i.e. James O'Brien)

    Thank you Saad, that worked.
    Since I built the report using type 'SQL Query (PL/SQL function fody returning SQL query)' I had to add some additional quotes to get it to work.
    i.e.
    replace(EMP_EMAIL_NAME,'''''''',''\'''''')
    or
    replace(EMP_EMAIL_NAME,chr(39),''\'''''')
    Thanks for the help,
    Jason

  • How to Read Variable Values in WAD 7.0 Using JavaScript

    I found a how to: How to Read Variable Values in WAD 7.0 Using JavaScript on SDN.
    I get a Javascript error:
    bics.getElementsByTagName is not a function
    vars = bics.getElementsByTagName("VARIABLES")[0]; // <VARIABLES>
    Thats my script:
    function currency()
    var varnm = "SFS_CP_CURR"; // Name of the variable to be read
    root = document.childNodes[0]; // <HTML>
    body = root.getElementsByTagName("BODY")[0]; // <BODY>
    xml = body.getElementsByTagName("XML")[0]; // <XML>
    bics = xml.childNodes[0]; // <BICS_VIEW>
    vars = bics.getElementsByTagName("VARIABLES")[0]; // <VARIABLES>
    varl = vars.getElementsByTagName("VARIABLE"); // gives no. of variable in DP
    for ( i = 0; i <= varl.length; i++ ) // Loop one by one
    vari = vars.getElementsByTagName("VARIABLE")<i>;
    varnam = vari.attributes[0].text; // get variable name
    mem = vari.getElementsByTagName("MEMBER")[0];
    varval = mem.attributes.getNamedItem("name").value; // read variable value
    if (varnam == varnm) //check varname in loop needs to be read
    if (varval == "ZMON") // check for value1 and fire command1
    SFS_CP_M();
    if (varval == "ZKON") // check for value2 and fire command2
    SFS_CP_K();
    break;
    Where's the mistake?

    I'm afraid I haven't made my question understood clearly.
    What I am looking for is a method to get the value of variable inside excel (e.g. put it into a cell / range of a worksheet, so that we can reference it and use it as an input for planning function execution).
    Please advice.
    Thanks in advance,
    Shady

  • How to find the font and replace another font using javascript in illustrator?

    Dear All,
    how to find the font and replace another font using javascript [batch process] in illustrator?
    i have 700 image file, it very deficult replace one by one.
    regards,
    .Suresh.S

    Ask the creator of the file for a unprotected version.

  • How does one add tables to an existing universe using COM designer SDK.

    Morning All
    How does one add tables to an existing universe using COM designer SDK. I have tried:
    objUniverse.Tables.Add (strTable_Name)
    but get "Cannot create Table" error.
    Any ideas?
    Thanks in advance.
    Anita

    Hi Anita,
    -Use the Add method to add classes and objects to an existing universe using a VB 6 application.
    Adding a Class
    Definition: Function Add(Name As String) As Class
    Syntax: NameOfClassesVariable.Add
    Adding an Object Instance
    Definition:  Function Add(Name As String, [ClassName As String]) As Object
    Syntax: NameOfObjectsVariable.Add(name, [class])
    - name is the name of the object.
    - class is the name of the class containing the object. This parameter should be used in cases where more than one objects exist with the same name.
    Sample Visual Basic 6 Code
    Dim DesApp As Designer.Application
    'MODIFY AND EXPORT CLASSES AND OBJECTS OF AN EXISTING UNIVERSE
    Sub modify_and_export_universe()
    Dim DesUnv As Designer.Universe
    Dim DesCls As Designer.Class
    Dim DesObj As Designer.Object
    Dim DesDBCol As Designer.DBColumn
    Dim DBColName As String
    Set DesApp = New Designer.Application
    'Login to designer
    Call DesApp.LogonDialog
    'Make sure to log on with your administrator profile
    'e.g : "hostname","username", "password","Enterprise"
    'Make Designer application visible
    DesApp.Visible = True
    'This line disable warning messages from Designer
    DesApp.Interactive = False
    'to Open  locally  the universe you want to modify
    'Set DesUnv = DesApp.Universes.Open("club_uni")
    'Use OpenFromEnterprise method (Universes Class) to import a universe from the repository and opens it
    Set DesUnv = DesApp.Universes.OpenFromEnterprise("Universes", "club_uni", False)
    'Add a valid connection which already exists
    DesUnv.Connection = "club"
    'open the universe
    'Call DesApp.Universes.Open("club_universe")
    'Add the table Account and refresh the view in the main window
    Set DesTab = DesUnv.DBTables.Item("Customer").Insert
    DesUnv.ArrangeTables
    'Add a class
    Set DesCls = DesUnv.Classes.Add("Class MyCustomer")
    'Looping through all the fields of the DB Table Account
    For Each DesDBCol In DesUnv.DBTables.Item("Customer").DBColumns
    'Store name of the column
        DBColName = DesDBCol.Name 
         'Add an object to the class
        Set DesObj = DesCls.Objects.Add("Obj " & DBColName)
         'Affect a field to the object
        DesObj.Select = "Customer" & "." & DBColName
    Next
    'Save the existing universe with the same name club_uni or you can change
    DesUnv.SaveAs "club_uni"
    MsgBox "Universe created and saved Class MyCustomer has been added!!"
    'Close the universe
    UnvFullName = DesUnv.FullName
    MsgBox "The UniverseFilePath is " & UnvFullName
    'Close the universe
    DesUnv.Close
    'This line disable warning messages from Designer
    DesApp.Interactive = False
    'Export the universe to the CMS DB (to the last universe folder)
    'Make sure you save the universe before exporting it
    Call DesApp.Universes.Export("Universes", UnvFullName)
    MsgBox "This document has been exported successfully !!"
    'Close designer
    DesApp.Quit
    Set DesApp = Nothing
    End Sub
    Hope this helps.
    Regards,
    Deepti Bajpai

  • How to retrieving IP address of a client PC using form?

    Hi All,
    How to get the IP address of the end user's PC of a database user logged in with his/her user?
    Arif

    Download WebUtil and JACOB libraries
    • Download WebUtil version 1.0.6 from:
    http://www.oracle.com/technology/software/products/forms/files/webutil/webutil_106.zip
    • Download the JACOB libraries from:
    http://prdownloads.sourceforge.net/jacob-project/jacob_18.zip
    Extraction
    Extract the webutil_106 zip file and make the following:
    • Copy the webutil folder to this directory:
    o <Developer Home>\forms90
    • Copy contents of the server folder to this directory:
    o <Developer Home>\forms90\server
    • Make sure that the webutil.cfg, webutilbase.jar,
    webutiljini.jar, webutiljpi.jar files are copied
    • Copy contents of the java folder to this directory:
    o <Developer Home>\forms90\java
    • Make sure that the frmwebutil.jar file was copied
    Extract the jacob_18 zip file and make the following:
    • Copy the jacob.dll file to this directory:
    o <Developer Home>\forms90\webutil
    • Copy the jacob.jar file to this directory:
    o <Developer Home>\forms90\java
    Sign the Jar files using sign_webutil.bat
    • Sign both the frmwebutil.jar and the jacob.jar with the same digital
    certificate.
    • Make sure that keytool and jarsigner are present in the path.
    • Make sure that you have shutdown the OC4G Instance .
    • From command line type the following:
    o C:\cd <Developer Home>\jdk\bin
    o C:\<Developer Home>\jdk\bin>
    <Developer Home>\forms90\webutil\sign_webutil.bat
    <Developer Home>\forms90\java\frmwebutil.jar
    o Make sure that this message (...successfully done.) is appeared.
    o C:\<Developer Home>\jdk\bin>
    <Developer Home>\forms90\webutil\sign_webutil.bat
    <Developer Home>\forms90\java\jacob.jar
    o Make sure that this message (...successfully done.) is appeared.
    orion-web.xml Configuration
    • Go to this directory:
    o <Developer Home>\j2ee\DevSuite\applicationdeployments\
    forms\forms90web
    • Open the orion-web.xml file.
    • Add this line:
    o <virtual-directory virtual-directory="/webutil"
    real-directory="<Developer Home>/forms90/webutil"
    />
    • Save the changes.
    default.env Configuration
    • Go to this directory:
    <Developer Home>\forms90\server
    • Open the default.env file.
    • Find FORMS90_PATH=<Developer Home>\forms90
    • Append this line:
    o C:\oracle\product\10.2.0\ds_1\forms90\webutil
    • In a new line under (FORMS90_PATH=) add this line:
    o WEBUTIL_CONFIG=<Developer Home>\forms90\server\webutil.cfg
    • Find PATH= , comment it and replace it with this line:
    o PATH=<Developer Home>\bin;
    <Developer Home>\jlib;
    <Developer Home>\jdk\bin;
    <Developer Home>\jdk\jre\bin;
    <Developer Home>\jdk\jre\bin\client;
    <Developer Home>\jre\1.1.8\bin;
    • Find CLASSPATH= and append this line:
    o <Developer Home>\forms90\java\jacob.jar;
    <Developer Home>\forms90\java\frmwebutil.jar;
    <Developer Home>\forms90\java\f90all.jar;
    <Developer Home>\jdk\jre\lib\rt.jar;
    • Save the changes.
    formsweb.cfg Configuration
    • Go to this directory:
    o <Developer Home>\forms90\server
    • Open the formsweb.cfg file.
    • Under the [Default] section
    o Find archive_jini=f90all_jinit.jar
    o Comment this line.
    o Add the following:
    �� archive_jini=f90all_jinit.jar,frmwebutil.jar,jacob.jar
    �� archive=f90all.jar
    • At the end of the formsweb.cfg file, Define a new section
    [webutil]
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTMLjinitiator=webutiljini.htm
    baseHTMLjpi=webutiljpi.htm
    baseHTML=webutilbase.htm
    archive_jini=f90all_jinit.jar
    WebUtilArchive=frmwebutil.jar,jacob.jar,f90all.jar
    archive=frmwebutil.jar,f90all.jar
    lookAndFeel=oracle
    • Save the changes.
    webutil.cfg Configuration
    • Go to this directory:
    o <Developer Home>\forms90\server
    • Open the webutil.cfg file.
    • At the end of this file add the following
    o transfer.database.enabled=TRUE
    o transfer.appsrv.enabled=TRUE
    Registry Configuration
    • In the registry editor find FORMS90_BUILDER_CLASSPATH
    • Modify by appending this line:
    o <Developer Home>\forms90\java\jacob.jar;
    <Developer Home>\forms90\java\frmwebutil.jar;
    <Developer Home>\forms90\java\f90all.jar;
    <Developer Home>\jdk\jre\lib\rt.jar;
    • Note: The total length of the FORMS90_BUILDER_CLASSPATH cannot exceed
    512 characters.
    • If the FORMS90_BUILDER_CLASSPATH exceeds 512 characters, you will get
    this error when you start the Forms Builder:
    o FRM-18122: Oracle Forms Debugger failed to Initialize.
    • To solve this problem make the following:
    o Return FORMS90_BUILDER_CLASSPATH to its previous value.
    o Workaround FORMS90_BUILDER_CLASSPATH by defining new
    environment variables (user variables):
    Variable Name Variable Value
    WEBUTIL_CONFIG <Developer Home>\forms90\server\webutil.cfg
    CLASSPATH <Developer Home>\forms90\java\jacob.jar;
    <Developer Home>\forms90\java\frmwebutil.jar;
    <Developer Home>\forms90\java\f90all.jar;
    <Developer Home>\jdk\jre\lib\rt.jar;
    Configuring Database for WebUtil
    • Start SQL*Plus as SYSDBA, and issue
    o CREATE USER webutil IDENTIFIED BY [password]
    DEFAULT TABLESPACE users
    TEMPORARY TABLESPACE temp;
    o GRANT CONNECT, CREATE PROCEDURE, CREATE PUBLIC
    SYNONYM TO webutil;
    • Start iSQL*Plus as webutil
    o Load the script create_webutil_db.sql
    (You find this script under webutil_106 zip file after extract it)
    o Execute the script.
    o You will get this message:
    PACKAGE CREATED
    PACKAGE Body CREATED
    • Start SQL*Plus as webutil, and issue
    o CREATE PUBLIC SYNONYM webutil_db FOR webutil.webutil_db;
    • Reconnect as SYSDBA, and issue:
    o GRANT EXECUTE ON webutil_db TO PUBLIC;
    Using WebUtil
    • Start the OC4J instance.
    • Start Forms Builder and connect to your schema.
    o Open webutil.olb
    o Open webutil.pll
    • Compile ALL (Shift-Control-K)
    • Generate PLX (Control-T).
    • If the PLX is not generated, the webutil.pll library would have to be
    attached with full path information to all forms wishing to use WebUtil. This is
    NOT recommended.
    • Create a new Form
    o Open webutil.olb, and Subclass (not Copy) the WEBUTIL object to
    the Object Groups of your form.
    o There is no need to Subclass the WEBUTILCONFIG object.
    o Attach the webutil.pll Library, and remove the path.
    o When you open the WEBUTIL_CANVAS in layout editor, you can see the
    following screen (i.e. your installation is successful). Otherwise, you will
    get this error;
    • FRM-13008: Cannot find JavaBean with name '%s.'sarah

  • How To Update A Table View From Client Side !!!!

    Hi I would like to update a table view from the Client Side. So that the user can keep updating the relevent data on the client and when they have finally finished they can press Save so the entire page is then sent to the Server.
    Does anyone know how to do this, I guess u have to use the EPCM, I have just started on it and would really appreciate some Help.
    Thanks,
    Emmanuel.

    This is what I found :-
    There are a couple of ways to approach this.
    1) load the excel spreadsheet into the database "as is". You can use interMedia
    text to convert the .xls file into a .htm file (HTML) or use iFS (see
    http://technet.oracle.com/
    for
    more info on that) to parse it as well. InterMedia text will convert your XLS
    spreadsheet into a big HTML table (easy to parse out what you need at that
    point)
    2) Using OLE automation, a program you write can interact with Excel, request
    data from a spreadsheet, and insert it. Oracle Forms is capable of doing this
    for example as is other languages environments. In this fashion, you can remove
    the "manual" and "sqlldr" parts -- your program can automatically insert the
    data.
    3) You can write a VB script that uses ODBC or Oracle Objects for OLE (OO4O) in
    Excel. This VB script would be able to put selected data from the spreadsheet
    into the database. We would recommend OO4O. It provides an In-Process COM
    Automation Server that provides a set of COM Automation interfaces/objects for
    connecting to Oracle database servers, executing queries and managing the
    results. OO4O is available from
    http://technet.oracle.com

Maybe you are looking for

  • Problem: Is this how i update/refresh a JTable?

    Newbie in JTable and Swing here. I have created panel class which will load data from the database when first time come into this panel JScrollPane sp1 = new JScrollPane(); PlayerTableModel pModel = new PlayerTableModel(); JTable table1 = new JTable(

  • QUANTITY_CONVERT

    Hi all,    While I am updating from update rules to transformation method,I got syntax error line perFORM QUANTITY_CONVERT .Is there any method or Class for QUANTITY_CONVERT in OOPS concept,can anybody please give me solution as soon as possible. Reg

  • How do I transfer a voice memo (3G) to iTunes?

    Hi folks, In the past, I THOUGHT that I transferred a voice memo to iTunes and then was able to use as a ringtone or alarm, but it has been so long and I forget how to do it.  I'm at my wit's end and hope you folks will save me before I start throwin

  • Distributing 'save for later' distribution pdf forms

    I have created a _pub_ pdf form and corresponding data_set file for their collection. Things seem to work IF the person receiving them understands to use Acrobat or Reader to fill the form and not Apple Preview for example. When the form was original

  • Adobe AIR 1.5.2 now available for download

    Adobe AIR 1.5.2 is now available for download. For additional information, see the following links: Adobe AIR 1.5.2 Release Notes http://www.adobe.com/support/documentation/en/air/1_5_2/releasenotes_developers.html AIR team blog post announcement htt