Test database search script

Hello

I have a real problem to find the database search Scripts, documentation around this seems terribly poor, is anyone able to help me?

I created my search for data based on customer information.

When I go to database search Options > data search Scripts I use the "display Script example" for purposes of test

Its my understanding this should contact data of research based on the email address I enter and print the results.  If its unable to find the contact it will print 'Functions of customization not found'

I stick my 'form Autopopulation Script' in an empty html file.  First question, I have to pull the < div > out of the JS (I put it in front of the JS)

--------------------------------------------------------------------------------------------------------------------------------------------------------------------

< div id = "contactinfo" > < / div >

< SCRIPT TYPE = "text/javascript" LANGUAGE = "JavaScript" > <!--/ /.

function CreateRow (label, value) {}

var p = document.createElement ('p');

var b = document.createElement ('b');

p.appendChild (b);

b.appendChild (document.createTextNode (label));

p.appendChild (document.createTextNode (value));

document.getElementById('contactinfo').appendChild (p);

}

function SetElqContent() {}

If (this. GetElqContentPersonalizationValue) {}

CreateRow (': ', GetElqContentPersonalizationValue ('C_FirstName'));

CreateRow (': ', GetElqContentPersonalizationValue ('C_LastName'));

CreateRow (': ', GetElqContentPersonalizationValue ('C_EmailAddress'));

CreateRow (': ', GetElqContentPersonalizationValue ('C_BusPhone'));

CreateRow (': ', GetElqContentPersonalizationValue ('C_Company'));

CreateRow (': ', GetElqContentPersonalizationValue ('C_Job_Title1'));

CreateRow (': ', GetElqContentPersonalizationValue ('C_Department1'));

CreateRow (': ', GetElqContentPersonalizationValue ('C_Address1'));

CreateRow (': ', GetElqContentPersonalizationValue ('C_Address2'));

CreateRow (': ', GetElqContentPersonalizationValue ('C_City'));

CreateRow (': ', GetElqContentPersonalizationValue ('C_Zip_Postal'));

CreateRow (': ', GetElqContentPersonalizationValue ('C_Country'));

CreateRow (': ', GetElqContentPersonalizationValue ('C_ANZ_Mail_Flag1'));

CreateRow (': ', GetElqContentPersonalizationValue ('C_ANZ_SFDC_Contact_ID1'));

} else {}

CreateRow ("customization not found '," ");

}

}

--> < /script >

-------------------------------------------------------------------------------------------------------------------------------------------------------------------

Secondly, I paste my "Script for integration" below it:

---------------------------------------------------------------------------------------------------------------------------------------------------------------------

< SCRIPT TYPE = "text/javascript" LANGUAGE = "JavaScript" > <!--/ /.

_elqQ.push (['elqDataLookup', escape ('66c01e80420c4bc88c0cab5f149ed81a'),' < C_EmailAddress > Enter_Email Address_here < / C_EmailAddress > ']);

--> < /script >

------------------------------------------------------------------------------------------------------------------------------------------------------------------------

I run this page and I get an error uncaught exception in my JS Console "_elqQ is not defined.

After a lot of research and found some final or current, I decide that I must add the following above the previous scripts (still not entirely sure on that?).  Not mentioned at all in the page that provides the scripts...

" < script src =" http://img.EN25.com/i/elqCfg.min.js "type =" text/javascript"> < / script > "

This seems a step in the right direction (no error console) but I do not print anything either!


My final code


<! DOCTYPE html >

< html >

< head > < / head >

< body >

< div id = "contactinfo" > < / div >

" < script src =" http://img.EN25.com/i/elqCfg.min.js "type =" text/javascript"> < / script > "

< SCRIPT TYPE = "text/javascript" LANGUAGE = "JavaScript" > <!--/ /.

function CreateRow (label, value) {}

var p = document.createElement ('p');

var b = document.createElement ('b');

p.appendChild (b);

b.appendChild (document.createTextNode (label));

p.appendChild (document.createTextNode (value));

document.getElementById('contactinfo').appendChild (p);

}

function SetElqContent() {}

If (this. GetElqContentPersonalizationValue) {}

CreateRow (': ', GetElqContentPersonalizationValue ('C_FirstName'));

CreateRow (': ', GetElqContentPersonalizationValue ('C_LastName'));

CreateRow (': ', GetElqContentPersonalizationValue ('C_EmailAddress'));

CreateRow (': ', GetElqContentPersonalizationValue ('C_BusPhone'));

CreateRow (': ', GetElqContentPersonalizationValue ('C_Company'));

CreateRow (': ', GetElqContentPersonalizationValue ('C_Job_Title1'));

CreateRow (': ', GetElqContentPersonalizationValue ('C_Department1'));

CreateRow (': ', GetElqContentPersonalizationValue ('C_Address1'));

CreateRow (': ', GetElqContentPersonalizationValue ('C_Address2'));

CreateRow (': ', GetElqContentPersonalizationValue ('C_City'));

CreateRow (': ', GetElqContentPersonalizationValue ('C_Zip_Postal'));

CreateRow (': ', GetElqContentPersonalizationValue ('C_Country'));

CreateRow (': ', GetElqContentPersonalizationValue ('C_ANZ_Mail_Flag1'));

CreateRow (': ', GetElqContentPersonalizationValue ('C_ANZ_SFDC_Contact_ID1'));

} else {}

CreateRow ("customization not found '," ");

}

}

--> < /script >


< SCRIPT TYPE = "text/javascript" LANGUAGE = "JavaScript" > <!--/ /.

_elqQ.push (['elqDataLookup', escape ('66c01e80420c4bc88c0cab5f149ed81a'),' < C_EmailAddress >Enter_Email Address_here< / C_EmailAddress > ']);

--> < /script >

< / body >

< / html >

Okay, so I found where the complete code 'Test '.

Settings > Setup > site > monitoring > visitor tracking > visitor tracking package.

In these files that I found rather than the

If (window.addEventListener) window.addEventListener ('DOMContentLoaded', async_load, false);

Else if (window.attachEvent) window.attachEvent ("onload", async_load);

})();

   

Just a little more tweaking and playing, and I'm finally here Yay!

Tags: Marketers

Similar Questions

  • Script the replication consistency AD AD partner operations master Client-side Test database has not finished

    Why the alerts listed below is generated? What is the cause of this and the resolution?

    1 script the replication consistency AD AD partner operations master Client-side Test database has not finished
    2 could not determine the FSMO role holder
    3. overall the status of essential Services
    4. all replication partners failed to replicate.
    5. the report of chess AD Machine account has authentication of data
    6. registration of DNS of essential domain controller records is failing
    7 AD Site Performance Health Rollup monitor
    8 AD Site availability health Rollup monitor
    9 AD domain availability health Rollup monitor
    10 field Performance Health Rollup monitor
    Please someone help me to get the Exact details, Cause and resolution of these. These all relate to an AD alerts generated in SCOM

    Hi Nimit Kumar,

    You try to post your question here for assistance:

    http://social.technet.Microsoft.com/forums/en-us/home

    Thank you.

  • RC-40201: unable to connect to the TEST database running adcfgclone.pl appsTier

    Hi Experts,

    While performing a cloning my instance of R12, I got RC-40201 error when I ran "adcfgclone.pl appsTier.

    [appltst@oracleupk bin] $ perl adcfgclone.pl appsTier

    Copyright (c) 2002 Oracle Corporation

    Redwood Shores, California, USA

    Applications Oracle rapid Clone

    Version 12.0.0

    adcfgclone Version 120.31.12010000.1

    Enter the password for APPS:

    Running:

    / data/appl_top/apps/apps_st/comn/clone/bin /... / JRE/bin/Java-Xmx600M - cp /data/appl_top/apps/apps_st/comn/clone/jlib/java:/data/appl_top/apps/apps_st/comn/clone/jlib/xmlparserv2.jar:/data/appl_top/apps/apps_st/comn/clone/jlib/ojdbc14.jar oracle.apps.ad.context.CloneContext EI/data/appl_top/apps/apps_st/comn/clone/bin /... /Context/Apps/CTXORIG.xml-valider - pairsfile /tmp/adpairsfile_24425.lst-stade/data/appl_top/apps/apps_st/comn/clone 2 > /tmp/adcfgclone_24425.err; ECHO $? > /tmp/adcfgclone_24425.res

    Logfile located at /data/appl_top/apps/apps_st/comn/clone/bin/CloneContext_0912145803.log

    Provide the values required for the creation of the new file APPL_TOP context.

    Target System Hostname (virtual or normal) [oracleupk]:

    SID data system target: TEST

    Target database system [oracleupk] server node:

    Target system Base Directory: / data / appl_top

    Target system tools ORACLE_HOME directory [/ data/appl_top/apps/tech_st/10.1.2]:

    Target Web ORACLE_HOME directory system [/ data/appl_top/apps/tech_st/10.1.3]:

    Target system APPL_TOP directory [/ data/appl_top/apps/apps_st/appl]:

    Target system COMMON_TOP directory [/ data/appl_top/apps/apps_st/comn]:

    Target system Instance home directory [/ data/appl_top/inst]:

    Target system service root [activated]:

    Target Web Entry Point [active] System Services:

    Target [active] System Web Application Services:

    Target [active] Batch Processing Services system:

    Other Services target system [off]:

    You want to preserve the display [oracleupk:0.0] (y/n)? : n

    Target display system [oracleupk:0.0]: oracleupk:1.0

    System Target Pool [0-99] port: 80

    Audit of the pool of port 80

    fact: Port 80 pool is free

    Report file is located at /data/appl_top/inst/apps/TEST_oracleupk/admin/out/portpool.lst

    Information available at /data/appl_top/inst/apps/TEST_oracleupk/admin/out/portpool.lst complete port

    RC-40201: unable to connect to the TEST database.

    Create the new file APPL_TOP context of:

    /Data/APPL_TOP/apps/apps_st/appl/ad/12.0.0/admin/template/adxmlctx.tmp

    The new context APPL_TOP file was created:

    / Data/APPL_TOP/inst/Apps/TEST_oracleupk/Appl/admin/TEST_oracleupk. XML

    Logfile located at /data/appl_top/apps/apps_st/comn/clone/bin/CloneContext_0912145803.log

    Check the context Clone logfile /data/appl_top/apps/apps_st/comn/clone/bin/CloneContext_0912145803.log for more details.

    Clone of fast running with the command:

    Perl java /data/appl_top/apps/apps_st/comn/clone/bin/adclone.pl = / data/appl_top/apps/apps_st/comn/clone/bin /... /JRE mode = apply dialing = / data/appl_top/apps/apps_st/comn/clone point = appsTier = CUSTOM appctxtg=/data/appl_top/inst/apps/TEST_oracleupk/appl/admin/TEST_oracleupk.xml contextValidated = true showProgress method

    Running:

    Perl java /data/appl_top/apps/apps_st/comn/clone/bin/adclone.pl = / data/appl_top/apps/apps_st/comn/clone/bin /... /JRE mode = apply dialing = / data/appl_top/apps/apps_st/comn/clone point = appsTier = CUSTOM appctxtg=/data/appl_top/inst/apps/TEST_oracleupk/appl/admin/TEST_oracleupk.xml contextValidated = true showProgress method

    Apps for password:

    Start application layer apply - Fri Oct 12 15:01:20 2013

    / données/appl_top/apps/apps_st/comn/clone/bin /... /jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/oui -classpath /data/appl_top/apps/apps_st/comn/clone/jlib/xmlparserv2.jar:/data/appl_top/apps/apps_st/comn/clone/jlib/ojdbc14.jar:/data/appl_top/apps/apps_st/comn/clone/jlib/java:/data/appl_top/apps/apps_st/comn/clone/jlib/oui/OraInstaller.jar:/data/appl_top/apps/apps_st/comn/clone/jlib/oui/ewt3.jar:/data/appl_top/apps/apps_st/comn/clone/ jlib/Oui/share.jar:/data/appl_top/apps/apps_st/ Comn/clone/jlib/Oui/srvm.jar:/Data/APPL_TOP/Apps/apps_st/COMN/clone/jlib/ojmisc.jar oracle.apps.ad.clone.ApplyAppsTier EI /data/appl_top/inst/apps/TEST_oracleupk/appl/admin/TEST_oracleupk.xml-/data/appl_top/apps/apps_st/comn/clone - scene showProgress

    Password APPS: log file located at /data/appl_top/inst/apps/TEST_oracleupk/admin/log/ApplyAppsTier_09121501.log

    -79% completed

    ERROR when executing apply...

    Fri Oct 12 15:07:47 2013

    ERROR: Cannot run /data/appl_top/apps/apps_st/comn/clone/bin/adclone.pl

    Contents of the log file: -.

    [AutoConfig error report]

    The following report lists the errors autoconfig met in each

    execution phase.  Errors are grouped by directory and by phase.

    The format of the report is:

    < file name > < phase > < eventually return code >

    [INSTALLATION STAGE]

    AutoConfig could not successfully run the following scripts:

    Directory: / data/appl_top/inst/apps/TEST_oracleupk/admin/install

    adgendbc.sh INSTE8_SETUP 1

    afcpnode.sh INSTE8_SETUP 1

    afgcsreg.sh INSTE8_SETUP 1

    txkWfClone.sh INSTALL_SETUP 1

    [PROFILE PHASE]

    AutoConfig could not successfully run the following scripts:

    Directory: /data/appl_top/apps/tech_st/10.1.3/perl/bin/perl-je /data/appl_top/apps/tech_st/10.1.3/perl/lib/5.8.3-je /data/appl_top/apps/tech_st/10.1.3/perl/lib/site_perl/5.8.3-je /data/appl_top/apps/apps_st/appl/au/12.0.0/perl-je /data/appl_top/apps/tech_st/10.1.3/Apache/Apache/mod_perl/lib/site_perl/5.8.3/i686-linux-thread-multi /data/appl_top/inst/apps/TEST_oracleupk/admin/scripts/adexecsql.pl sqlfile = / data/appl_top/inst/apps/TEST_ oracleupk/admin /. install

    afwebprf. SQL INSTE8_PRF 1

    amscmprf. SQL INSTE8_PRF 1

    amswebprf. SQL INSTE8_PRF 1

    bisadmprf. SQL INSTE8_PRF 1

    bisdblrp. SQL INSTE8_PRF 1

    clnadmprf. SQL INSTE8_PRF 1

    cncmprf. SQL INSTE8_PRF 1

    cseadmprf. SQL INSTE8_PRF 1

    csfadmprf. SQL INSTE8_PRF 1

    csiadmprf. SQL INSTE8_PRF 1

    eamadmprf. SQL INSTE8_PRF 1

    fteadmprf. SQL INSTE8_PRF 1

    ibywebprf. SQL INSTE8_PRF 1

    icxwebprf. SQL INSTE8_PRF 1

    oksfrmprf. SQL INSTE8_PRF 1

    wshadmprf. SQL INSTE8_PRF 1

    Directory: / data/appl_top/inst/apps/TEST_oracleupk/admin/install

    adadmprf.sh INSTE8_PRF 1

    admk80ln.sh INSTALL_PRF 1

    afadmprf.sh INSTE8_PRF 1

    afcpctx.sh INSTE8_PRF 1

    afcpgsm.shINSTE8_PRF1
    igccmprf.shINSTE8_PRF1
    jtfictx.shINSTE8_PRF1
    okladmprf.shINSTE8_PRF1
    txkJavaMailerCfg.shINSTE8_PRF1
    txkWebServicescfg.shINSTE8_PRF1

    [APPLY PHASE]

    AutoConfig could not successfully run the following scripts:

    Directory: /data/appl_top/apps/tech_st/10.1.3/perl/bin/perl-je /data/appl_top/apps/tech_st/10.1.3/perl/lib/5.8.3-je /data/appl_top/apps/tech_st/10.1.3/perl/lib/site_perl/5.8.3-je /data/appl_top/apps/apps_st/appl/au/12.0.0/perl-je /data/appl_top/apps/tech_st/10.1.3/Apache/Apache/mod_perl/lib/site_perl/5.8.3/i686-linux-thread-multi/data/appl_top/inst/apps/TEST_oracleupk/admin/install
    adadmat.plINSTE8_APPLY1

    Fate of 31 stateful auto-configuration

    RC-50014: Fatal: failed to run the auto configuration service

    Asked by oracle.apps.ad.clone.ApplyApplTop

    ERROR: AutoConfig completed with errors. Check the logfile at /data/appl_top/inst/apps/TEST_oracleupk/admin/log/ApplyAppsTier_09121501.log for more details.

    ApplyApplTop completed successfully.

    # Check the race situation AutoConfig of ApplyApplTop

    WARNING: The autoconfiguration service has completed with errors.

    Please help me solve this problem, your prompt response will be highly appreciated.

    -Thank you

    Ankur

    Audit of the pool of port 70

    fact: Port pool 70 is free

    You used port 70 for the node of the database layer, so you will need to use the same port pool (70 instead of 80) when running "perl adcfgclone.pl appsTier.

    Thank you

    Hussein

  • build the new database through scripts must understand Spanish character sets.

    Hello gurus,
    I need to some simple tips, a good chance for some quick points for you.
    I've never built a database to understand any different other than the U.S. English character set. I now have to build a database that will be used for characters Spanish-keyboards, etc. But I will use English to install 11g software. I just want to be able to show the Spanish characters in the data for the names of clients.
    I will create the database with scripts that I did to make the standard model for data files, control files, etc..
    Then I import in a dump that I did and that was done with American English character sets.
    The system is 11g (11.2.0.3.0) on Linux Enterprise Server 5.8.
    I thought I'd use the AL32UTF8 character set, but I'm not sure where to use them.
    My original test showed no Spanish characters for names of customers as the "tilda" or "sueano" (excuse my spelling). But in this case I did the exceptional for Spanish, I used only the construction of standard American English (no change in the file init.ora or original database create script).

    How can I adjust my settings file for the initial creation of the database model to be able to understand the Spanish character set and still be able to import my dump error-free file.

    EXAMPLE of a build script:

    CREATE DATABASE mynewdb
    The USER SYS IDENTIFIED BY sys_password
    The USER IDENTIFIED BY system_password SYSTEM
    LOGFILE GROUP 1 ('/ u01/app/oracle/oradata/mynewdb/redo01.log') SIZE in the 100M.
    GROUP 2 ('/ u01/app/oracle/oradata/mynewdb/redo02.log') SIZE in the 100M.
    GROUP 3 ('/ u01/app/oracle/oradata/mynewdb/redo03.log') SIZE 100 M
    MAXLOGFILES 5
    MAXLOGMEMBERS 5
    MAXLOGHISTORY 1
    MAXDATAFILES 100
    CHARACTER SET US7ASCII
    NATIONAL CHARACTER SET AL16UTF16

    If I replace to AL32UTF8 AL16UTF16 NATIONAL CHARACTER SET, will it work to show the Spanish characters?

    Sorry for the long-winded question, any advice will be great.

    Fortunately,
    Shawn

    Hello
    the national character sets is for the column as nvarchar types not for normal varchar data types. So if your dump file contains column types, you also need to set. The character set is for normal column as a varchar types. The use of unicode is best practice if you use the multiel language, but keep in mind that multibyte character set can be a problem when importing because varchar2 (10) means byte 10 and not 10 characters, so mistakes as an identifier for a long time may occur when importing.
    You can create the database.

    See this documentation:
    http://docs.Oracle.com/CD/B28359_01/server.111/b28298/ch2charset.htm

    You can use a like WE8MSWIN1252 character set which covers the Spanish also (like many, I know) and a superset of us7ascii

    concerning
    Peter

  • Can I create a web database search that does not use Javascript?

    Can I create a web database search that does not use Javascript?

    While it would be possible to do it through custom coding, this type of web database search would not supported by Eloqua.

  • Data on E9 card database search

    Hello everyone, I've combed through Topliners and I can't seem to find the exact answer to this question. Maybe can you help?

    I try to use a database search to extract all records in a set of data card and display them on a web page. Unfortunately, I couldn't find a working example of how to do it. There are a plethora of documentation on the conduct of a search for data from the contact table and there is a ton of separate documentation around the use of data cards, but I can't find something that combines them.

    Someone at - it an example of Javascript/HTML code that displays the contents of a data card set to a landing page?

    Thanks in advance!

    Hey Sterling.

    Yes, we did it before with a page of survey results. If you went back to the page a second time once you submit the survey, it showed your survey response and contact info and it was all based on a data card. It was in E10, but should be the same process for E9. I would like to check on how we did it and see if I can get documentation for you.

    Kim

  • How to redirect to assets or form based on the values of database search

    We try to use the database search to determine if a visitor to our Web site already filled out a form.  When they click on an asset (such as a white paper link), we want to use a database search to check if they filled out a form (we are check on the email address and a specific to all our forms required field).  If the database search returns a value, then they are addressed to the asset.  If the data query appears empty, they are directed to a form.  Did anyone tried something like this? I'm interested in how you generated JavaScript code to activate.

    This sounds like the standard "true" eloqua gated form technology, using the eloqua (hidden method, short and long term) cookie-driven. For years, it was only substance without papers and seller and don't has not been fully supported by the tech line. Now it is wide open information here: http://eloqua.blogspot.com/2010/06/gated-forms-asking-for-just-right.html

    This gives a whirl and come back here with all the problems that I have built many of them.

  • Set up &amp; restore backup Production base of ribbons to the Test database

    Dear all,

    I need to set up and to restore the store old rman backup of production in bands (Netvault Backup Utility) on the TEST database. It is necessary to restore the old important data.

    I had installed netvault binary on the TEST (AIX 6.1 Server) database and configure the Netvault 8.61 backup tool as well as the database of production for the test database. I also chose the target customer as test database server name, but still the error pops up.

    But during the restoration of data, it is in error that "NO PRIMARY don't PLUG IN NOW."

    Suggestions are welcome.

    Concerning
    Surinder Singh

    Dear all,

    After making configuration changes in utility Netvault for ribbons
    She has been completed.

    Thanks for all your support

    Concerning
    Surinder Singh

  • Database replication ensures create a test database?

    Hello!

    Would it not possible to use replication based on a physical standby database backup to create another data base to use for testing? If I performed the RMAN backup of the database pending, moved the backup on another test server and then ran duplicate?

    Anyone know if this would be possible? If possible, the new test database controlfile would "rescue" or "primary".

    (version 11.2.0.2)


    Thank you...

    Yes it works! I tried recently on 10g so I think that on 11g won't be a problem.
    You can do it with or without duplicate. If you want to use two copies, you need not copy the backup. In fact, on 11g you have no backup at all, since now you ' current database' option to duplicate order!
    In addition, two copies will rebuild the controlfile so it will not ' emergency' or 'primary '...

    Gabriel

  • Lync 2013 and test database READ

    We have a great facility. Because subnets covering several buildings and devoid of wireless coverage, we chose complete information ChassisID and PortID DSL.  The network has been documented very well with the wall outlets numbered/identified, MAC addresses and addresses very good port mapped. Using the method of Switch/Port, we have imported some records of 14,000 in the DSL. This guarantee covers 70 buildings surrounding the city, 290 switches and 14000 ports.

    Before we test with the PSAP, I want to check spot internally to make sure that the DSL data are correct.  Is there some utility that a person could plug in a wired connection, run a script and display location information? Ideas or any direction would be appreciated.

    Hello

    Try the appropriate forum of Lync on TechNet.

    Go to http://social.technet.microsoft.com/Forums/en-us/categories/ select

    Find a forum and put Lync in the search field, then choose an appropriate forum.

    Don

  • Search Script trouble!

    OK, I thought I had this working but apparently I didn't.  How can I get it to search for only each object that is checked the box?  and displays a dialog box saying that everything was changed when some check boxes are selected.  RunCH1, RunCH2 and RunCH3 are the names of the boxes I have.  I thought I had the find/replace to work yesterday, but I must have not been paying attention. It will be the first set of changes and the second, but it won't make the change 3.  and no matter which I chose (or not selected), I get all 3 alert messages.  I want only the alert message for the selected change.  If you need the rest of the code, let me know and I'll paste below.  Thanks in advance.

    // How do i make each CHECK BOX RunCH1/2/3 Only work when they are selected?  I cannot figure out how to make 2&3 Work.
    
    
            if(myResult == 1 && (RunCH1.value==true || RunCH2.value==true || RunCH3.value==true) ){  
                alert("Find and Replace Items Have been made.!")
                    Replace_TXT(" <CR> ", "^p");
                    Replace_TXT(" <CR>", "^p");
                    Replace_TXT("  ", " ");
                    Replace_TXT(" :", ":");
                    Replace_TXT(" .", ".");
                    Replace_TXT("^p^p", "^p");
                    
                   
                  
                if(myResult == 2 && (RunCH2.value==true ) );
               
                    Replace_TXT ("test", "asdfasdfasdfadsfasdfasdfasdfadfasdfasdf"); 
                        
             {  
                        alert ("RunCH2 Changes Made")  
             }; 
         
                if(myResult == 3 && (RunCH3.value==true) ){  
                    Replace_TXT("and", "TEST");
              }  
                       alert ("RunCH3 Changes Made")  
              }; 
                w.close(true);     
        
         
        function Replace_TXT(input, output)  
        {  
        app.findChangeTextOptions.caseSensitive = true;  
        app.findTextPreferences = app.changeTextPreferences = NothingEnum.nothing;  
        app.findTextPreferences.findWhat = input;  
        app.changeTextPreferences.changeTo = output;  
        app.activeDocument.changeText();  
        }
    

    Try this with your main script file that you have posted in another thread... I think that your condition is great... it Ditto == 1 is used if you press ok and 2 we press Cancel... hope you understand now

    // How do i make each CHECK BOX RunCH1/2/3 Only work when they are selected?  I cannot figure out how to make 2&3 Work.
    if(myResult == 1 && (RunCH1.value==true)){
    alert("Find and Replace Items Have been made.!")
    Replace_TXT("  ", "^p");
    Replace_TXT(" ", "^p");
    Replace_TXT("  ", " ");
    Replace_TXT(" :", ":");
    Replace_TXT(" .", ".");
    Replace_TXT("^p^p", "^p");
    }
    if(myResult == 1 && (RunCH2.value==true ) ){
    Replace_TXT ("test", "asdfasdfasdfadsfasdfasdfasdfadfasdfasdf");
    alert ("RunCH2 Changes Made")
    };
    if(myResult == 1 && (RunCH3.value==true) ){
    Replace_TXT("and", "TEST");
    alert ("RunCH3 Changes Made")
    };
    w.close(true);       
    
    function Replace_TXT(input, output)
    {
    app.findChangeTextOptions.caseSensitive = true;
    app.findTextPreferences = app.changeTextPreferences = NothingEnum.nothing;
    app.findTextPreferences.findWhat = input;
    app.changeTextPreferences.changeTo = output;
    app.activeDocument.changeText();
    }
    
  • Search script, orders and shopping carts.

    I have a page that I want to sell boxes. I want the consumer to be able to enter and search using the criteria they want: length, width, height or any combination of those or or price.

    I have to be able to list my products in an orderly way, which means making sure that the right picture with the good article, which corresponds with the details of the right, which is the appropriate price/size.

    I started to learn web design so I really don't know yet what languages I need to learn. I get just the hang of html and CSS, but now I need some scripting languages to back it up.

    So what I need to know is:

    • How to create a database that will store all my products and keep their photos are associated with them?
    • How can I do for my forms are able to search and pull items from the database?
    • How can I register the results of research of orderly with all associations right?
    • Do I have to use a table to list the results or is there a better way, as a spry widget?
    • How to set up a shopping cart for my page?
    • What language is better to help me with these questions?

    Of course, I do not expect a full explanation of exactly how to do these things, but I'm sure you can point me in the right direction.

    Thank you.

    This sort of thing with a site based on the database is relatively simple, but do not expect to be able to do it from one day to the next. You have a relatively long learning to come.

    Dreamweaver supports three technologies server side: ASP, ColdFusion and PHP. Forget the ASP Microsoft stopped he development 10 years ago. Although it is still widely used, it will eventually die, in front of you with the problem of switching to other server-side technology. ColdFusion and PHP are both powerful, but PHP is by far the most widely used. Note: I'm biased because I write books on Dreamweaver and PHP (for more details, see http://foundationphp.com/dwcs4/).

    To develop with CF, or PHP, you will need to create a development environment. There are instructions for both languages in the Adobe Developer Connection:

    There is also a tutorial on creating your first website focused on the database at http://www.adobe.com/devnet/dreamweaver/articles/first_dynamic_site_pt1.html. In theory, you should be able to follow the tutorial using ColdFusion or PHP, but all of the code in the examples is only PHP.

    Once you have gained experience working with technology on server side of your choice, you might want to watch Cartweaver, a commercial extension that generates carts in Dreamweaver. There are also free shopping cart solutions. OSCommerce is one that many people recommend. It only runs on PHP.

    Assistance based on the database of Web sites, please ask questions in the forum on the development of Application Dreamweaver.

  • Creating a simple database search

    Hello

    I dragged kicking and screaming in the development of the site by the needs of an important customer, and I am trying to create a very simple search of a database.

    I use DW CS4 with PHP & MySQL on a Mac (Leopard) using MAMP.

    I have created two pages for the task.

    (1) an HTML page with a form using the method 'GET '.
    (2) a PHP page with the recordset to filter 'postal code', ' begins by "'Parameter URL' or 'postal code' and sort by 'the company' 'Crescent '.

    Run a test of the Recordset works very well.

    During the test, however in a browser (Firefox and Safari), the postal code appears in the URL string when you arrive at the results page, but no results.

    When I do not apply a filter to the Recordset, all the records displayed in the results page perfectly.

    I'm still more gray (gray?), so any help and advice would be greatly appreciated.

    Thank you very much.

    I've sorted it.

  • Password database Chaning scripts

    We have more than 100 shell scripts on the database server that has the password for the dba user in these scripts.

    for example:
    test.sh

    UserID = s/n
    password = s/n

    Now, he must change the password for the dba user and hide the password for all users on this box.

    What will be the best solution to change the password.
    Is it possible to store the password in a file and leave the script uses this password?

    Hello

    Something very simple like

    my script which uses the password
    
    i=`cat erro.txt`
    echo $i
    
    text file which contain the password
    
    password
    
    Output I get
    sh output.sh
    
    password
    

    Concerning
    Anurag Tibrewal

  • database creation script

    Hello

    on 11.2.0.03 on Win 2008 Server

    I want to create (just by script), on another server, a database of exactly similar to my db (ORCL). Then I want to generate this script. I used DBCA. But it generates files.

    File is attached.

    I do not understand why it creates twice the control files and...

    Another way to generate a simple create database to an existing base script?

    Thank you.

    The orcl.bat file name is everything and creates the necessary directories.  This is the file you are calling; You may need to modify the scripts to change the path if the ORACLE_HOME on the destination server is not the same as on the source server.

    David Fitzjarrell

Maybe you are looking for