retrieve id WCS jsp site without using ics. SQL

Hello

Is it possible that I can get my current site in JSP siteId without using ics. SQL tags and recovering from the publishing table

We are trying to apply a search lucene for loading the assets in the current site only.

Thanks in advance for your help.

Use the code to do so below.

Don't forget to import publication.tld

Kind regards

Ravi G

Tags: Fusion Middleware

Similar Questions

  • What creative programs cloud must be purchased to create a Web site, where purchases can be made on the site, without using a third-party Web site?

    What creative programs cloud must be purchased to create a Web site, where purchases can be made on the site, without using a third-party Web site?

    as mentioned there are several adobe programs that could be used to create your website from the front-end. There is none that would be used to create the back-end.

    all front-end creative programs are able to add the features needed to communicate with your Web site main.

    WordPress is a content management system, but also the design Web site handles so I'm not sure it makes sense to invest in programs oriented primarily as adobe design and use wordpress.

  • How to retrieve the values of character without using single quotes

    Hi all

    How to retrieve the values of character without the use of single quotes. Its Possible in Oracle SQL

    Please answer me...

    For example

    Is actual query-> Select * from employees where name like in("SCOTT", "JAMES", "ALBERT",...);

    I want to--> Select * from employees where name like(SCOTT, JAMES, ALBERT...); -without the use of single quotes.

    Why I need this application, I need to retrieve the records more than 200 employees in a select statement by using name in where clause.

    shagarmahabubjan wrote:

    Hi all

    How to retrieve the values of character without the use of single quotes. Its Possible in Oracle SQL

    Please answer me...

    For example

    Actual query is---> Select * from employees where name like in("SCOTT", "JAMES", "ALBERT",...);

    I want to---> Select * from employees where name like(SCOTT, JAMES, ALBERT...); -without the use of single quotes.

    Why I need this application, I need to retrieve the records more than 200 employees in a select statement by using name in where clause.

    In short... you can't.  The channels are channels, and SQL and PL languages dictate that the string literals are provided within single quotes.

    I don't see how trying to retrieve more than 200 records of employees in the select statement means that you must get rid of the quotes.

    Be clear in what you ask: Re: 2. How can I ask a question on the forums?

    and take note of the FAQ link davidp provided the solution "variable IN the list.

  • How to write the SQL without using dynamic SQL?

    How can you write this under SQL without using execute immediately?

    You can use static SQL (using something like a CASE statement)?

    test procedure (one in varchar2, b number, each number) is

    v_num_recs pls_integer;

    Start

    Select count (*)

    in v_num

    FROM table1

    where

    col1 = one and

    If b is not null then col2 = b

    If c is not null then col3 = c;

    / * i.e. If b is not null, where condition to add this line only. If c is not null, where condition should add only this line. OR condition No. it * /.

    dbms_output.put_line (v_num);

    end;

    Or should I use dynamic SQL statements for this?

    I was wondering if the two are NOT NULL? Well check this.

    Select count (*) in v_num

    table

    where col1 = one

    and col2 = (CASE WHEN (b is not null) THEN b ELSE END col2)

    and col3 = (CASE WHEN (c is not null) THEN ELSE END col3 c)

  • trying to get used to sql * more running and creating a simple procedure

    Hello all;

    I'm getting used to sql * more after using for a while using pl/sql developer.

    I am trying to create a simple procedure and run it. See my procedure below
    create or replace procedure test(t in varchar2(200), limit in number(30))
    begin
    select tbl_report.id from tbl_report where tbl_report.id like '|| t ||%' and rownum <= limit;
    end test;
    and then I type in run hr.test ("J", 10); to run this and then press ENTER, and it does nothing. How can I run and create a simple procedure in sql * more

    Hello

    In addition to all the good points, others have done:

    When you issue a SELECT statement in SQL * Plus (or any other front end) two things happen:
    (1) a result set, containing the results of your query, is produced, and
    (2) this result set is displayed.
    Given that these two things are always done together, it is easy to forget that they are two different things.
    In PL/SQL, you must explicitly do something to catch the result set, and you must explicitly do something else to view it (if you want to display it).

    A simple way to get the result set is to use a cursor FOR loop, to extract a line at a time and run code with this line in a record variable (called the country in the example below).
    View the results is to call dbms_output.put_line.

    Here is an example:

    CREATE OR REPLACE PROCEDURE     test
    (       t       IN      VARCHAR2
    ,     lmt      IN     NUMBER          -- LIMIT is an Oracle keyword; best not to use it as a variable name
    )
    IS
    BEGIN
        FOR  country  IN ( SELECT  country_name
                          FROM    hr.countries
                     WHERE   country_name     LIKE t || '%'
                     AND     ROWNUM          <= lmt
                   )
        LOOP
            dbms_output.put_line (  country.country_name
                        || ' = country_name'
                        );
        END LOOP;
    END test;
    /
    SHOW ERRORS
    

    You can use variables, such as t and lmt, in the query without using dynamic SQL, as long as the variables do not have the same names as the columns in the table. In this case, t and lmt are good names; country_name or region_id wouldn't. (In fact, t is a reputable insofar as it cannot be confused with a column in the table of the country. T is not a good reputation in the sense that it does not give much information about what contains the variable, or how it is used. Why not call the variable target_name or name_a_trouver?

    You can run the SQL procedure * more like this:

    SET     SERVEROUTPUT     ON
    
    EXEC  test ('I', 2);
    

    If you issue the SET SERVEROUTPUT ON command, then you will not see the output of dbms_output. You must only issue the command SET SERVEROUTPUT ON once per session, but nothing bad happens if you do it more than once.

    When I ran the procedure as stated above, I got this output:

    Israel = country_name
    India = country_name
    

    Notice that "The Italy" does not appear, because lmt has 2.

    Do not create your own procedures, tables or other objects in the HR schema, or among all the other patterns created by Oracle. Create your own schema and create procedures and other objects in it.

  • How can I move live sites hosted in BusinessCatalyst of composition creative cloud for a new creative cloud membership without using the partner or partner codes portals?

    How can I move live sites hosted in BusinessCatalyst of composition creative cloud for a new creative cloud membership without using the partner or partner codes portals?

    I don't think you can but your best bet is to contact the support of the BC and see what they can do.

  • my site is using dreamweaver cs4, I can copy all my and put them in dreamweaver cs6 without any problem?

    my site is using dreamweaver cs4, I can copy all my and put them in dreamweaver cs6 without any problem?

    The simplest way to use CS6 on a former site of CS4 on the same computer would be of...

    1. open CS4 and choose Site > Manage Sites

    2. Select the site and choose export

    3. This will create a your site settings .ste file (no site file is stored in this)

    4 close the CS4 and open CS6

    5 CS6 hit Site > Manage Sites > import to bring these parameters from the .ste file

    This will give you the same exact settings (FTP and otherwise) of CS4 in CS6 while using the same files the.

    If you use another computer together, you will need to make a copy of your local site on the new machine folder, and then export/import the .ste as above with an extra step possible Reassociation the local site on the new machine folder, if the structure/location of the file is not the same between machines.

  • Trying to connect Xbox to desktop using ICS

    I'm trying to implement the ICS in Windows Vista on Xbox 360 with a wired connection. I connect to the internet using a Sierra Wireless 598U usb modem. I followed the installation instructions from the Microsoft Web site and Xbox site without success. After the set-up ICS on my desk and try to connect the Xbox it will not pass the test of LAN connection.

    Thank you for visiting the Microsoft Answers site. The question you posted corresponds to the Xbox accessories and would be better suited to the Xbox community. Please visit the link below to find a community that will provide the support you want.

    http://forums.Xbox.com/

    Cody C
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Synchronization via network without using a cloud

    Hi all

    I want to synchronize my "My Documents" and "My music", etc. files between 2 computers and a NAS without using the cloud.  Currently I use Syncplicty, which is great, except that I store things on their servers.  I do not fear that, except that I'm running out of space, and he eats a lot of bandwidth with large files (download the file from the web, download files to Syncplicty, and downloads of files to another computer, then a few feet of one).  I don't want to get rid of Syncplicty, to streamline the process for non-critical files.

    I see where Windows built in Sync Center, but I'm not having much luck to make it work.  I do not know if it has the features I need.  Basically, what I want is 2 synchronization channels between computers (Both Windows 7 64-bit) and sync 1 way for my NAS (I have not yet installed).  It's just a way to backup redundant, similar to the RAID on two drives in the same computer.  Then, I will implement Syncplicty on one of these computers to sync critical files I have access to other devices, or share with others.

    Windows supports this, or I need a third party program?  If a third party, what do you recommend.  If Windows, how do I set up?

    Thank you!

    David

    If what you want to do is to synchronize two folders on a local network, there is a free app called sync toy (free from Microsoft) that does just that.  It is not fancy but does its job and can be programmed to run whenever you like

    It does not have on-site.

    http://www.Microsoft.com/en-US/Download/details.aspx?ID=15155

    Overview
    There are files from all kinds of sources that we want to store and manage. The files are created by our digital cameras, e-mail, cell phones, portable media players, camcorders, PDAS, and laptops. Increasingly, computer users use different folders, drives, and even different computers (for example, a laptop and a desktop) to store, manage, retrieve, and view files.

  • I why Google is not reliable? its a Web site everyone uses!

    his saying this.

    This connection is Untrusted

    You asked Firefox to connect on www.google.co.uk, but we cannot confirm that your connection is secure.

    Normally, when you try to connect safely, sites will present a reliable identification to prove that you're in the right place. However, the identity of this site cannot be verified.
    What should I do?

    If you normally connect to this site without problems, this error can mean that someone is trying to impersonate the identity of the site, and you should not continue.

    This site uses HTTP Strict Transport Security (HST) to specify that Firefox didn't connect safely. As a result, it is not possible to add an exception for this certificate.

    www.Google.co.UK uses an invalid security certificate.

    The certificate is not trusted because the issuer certificate is unknown.
    The server may not send the appropriate intermediate certificates.
    A certificate of origin additional should be imported.

    (Error code: sec_error_unknown_issuer)

    That is the only site that gives you an untrusted connection or it is rampant with many sites? Before creating exceptions, we recommend that you investigate the cause of the problem. In some cases, just Firefox is not set up to work with your security software or parental filter mentioned previously. In other cases, however, a malware infection can be reading all your navigation and you do not want to clean that up.

    As a starting point, use one of these: BitDefender, ESET, Kaspersky or Avast?

  • Why does Firefox Mac returns 'Server not found' for a website but Safari on Mac same load site without any problems?

    The financial company Web site www.gmo.com will not appear in Firefox 32.0.02. Server not found is the only result. Safari loads Web site without any problem and Firefox for Windows computer in the House support the site without problem. All the other sites I have access, including banks, Amazon, etc. loads normally.

    What/why the Mac of Firefox version would not be able to to connect/load this site?

    The company of people told me that no one else has reported this problem and other people in my company can access the site. And they cannot reproduce the problem.

    My ISP provider could not see anything from their point of view. And access all computers to the modem/router in the House everything without any problems.

    Anyone have any ideas on what would cause this or how to go about troubleshooting?

    Thank you for your time.

    Looks like it's something on the computer. There are cookies that must be removed individually from the Firefox profile.

    To do this, go to the Firefox Menu, tap Preferences, then tap privacy and then delete cookies or cookies see the. You can search the sites that gives you problems and remove them. Restart Firefox.

    It could also be that you add a DNS server for your connection. 8.8.8.8 is google, but I don't know if this would affect given that the server is not found, not that there is no link, that's why it does not sound like a connection problem, but a cache problem. Use the Profile Manager to create and delete profiles Firefox

  • How can I recover deleted files without using any software?

    How can I recover deleted no matter what folder, image, Word & excel files without using any software inculd Recycle Bin?

    Monday, June 11, 2012 11:03:01 + 0000, dipakparate wrote:

    How can I recover deleted no matter what folder, image, Word & excel files without using any software inculd Recycle Bin?

    You cannot retrieve files deleted with the help of software. And even using
    software, you may or may not be able to recover.

    What you have against the use of software? The first thing to try is to
    being trash. If she isn't here, read on.

    "Deleting" a file does not actually delete it marks just the space
    also available to be used. There are third-party programs that can
    sometimes recover deleted files. The problem is that the space used by
    the file is likely to be replaced very quickly, and it makes
    the unrecoverable file.

    So your chances of successfully recover this file are decent if you
    Try it again immediately after the deletion of it and go quickly
    downhill from there. If you have used the computer since then (for
    example to write this question and read this answer), your chances may
    be very poor now.

    But if the file is large enough, it's still worth a try. Stop
    using the computer in question immediately, if you have not done
    already. Download an undelete program (and here's one:)
    http://www3.TELUS.NET/mikebike/restoration.html but there are several
    others to choose from; Do a search) on a friend's computer (do not
    it on yours because that would overwrite the files you want
    Undelete) and bring it to you on a CD or thumb drive to try.

    If that fails, your only recourse is to bring or send the disc
    a company of professional file recovery. This kind of service is very
    expensive and may or may not work in your case.

    Ken Blake, Microsoft MVP

  • Is this a virus if I am sent to another Web site without notice?

    I opened a Web site and I am taken to another Web site without notice.

    Hello

    Download update and scan with the free version of malwarebytes anti-malware

    http://www.Malwarebytes.org/MBAM.php

    You can also download and run rkill to stop the process of problem before you download and scan with malwarebytes

    http://www.bleepingcomputer.com/download/anti-virus/rkill

    If it does not remove the problem and or work correctly in normal mode do work above in safe mode with networking

    Windows Vista

    Using the F8 method:

    1. Restart your computer.
    2. When the computer starts, you will see your computer hardware are listed. When you see this information begins to tap theF8 key repeatedly until you are presented with theBoot Options Advanced Windows Vista.
    3. Select the Safe Mode with networking with the arrow keys.
    4. Then press enter on your keyboard to start mode without failure of Vista.
    5. To start Windows, you'll be a typical logon screen. Connect to your computer and Vista goes into safe mode.
    6. Do whatever tasks you need and when you are done, reboot to return to normal mode.
  • I have Windows 7 Vista. I asked several times how to open a web browser without using my mouse and the other person has given me the right answer yet, or I misunderstood the answer (the more likely scenario)

    Given that I can't grasp how to open a browser window without using a mouse, it dawned on me that I can open new windows in just a window browser.  In fact, I would like that my home page contains all my most visited sites.  However, I am such a novice at this, I don't understand half the jargon, as what is the difference between a window and a tab.  I am a CPA, and for the first time in my life, I have no support from the computer.  I have called my programmer to answer questions and fix my computer.  Now I'm on my own and not completely lost since I tried to learn from my programmers, but we can't assume that I know nothing (or almost).  Thus, when answering my questions, please pretend I'm in third year.

    What is the difference between a window and a tab, and how can I open multiple windows web browser that a

    Hello tterrie,

    In addition to the link provided by Rick, here's a complete list of available shortcuts Internet Explorer.
    Hope this helps

    Chris.H
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How can install a blackberry app without using "javaloader" of JDE. ???

    Hello

    We develop a blackberry using JDE application.

    Now, we try to run this application on real BlackBerry.

    We already know that we can use .cod file and download this .cod to a utility called «javaloader»

    located in bin of the JDE.

    But what happens when the user doesn't have a JDE install on their system.

    So how the user can download this application without using «javaloader»

    Thank you.

    Director of office of dowload.

    http://NA.BlackBerry.com/eng/support/software/desktop.jsp

    Connect your device to BB and PC via a USB port.

    Select the responsible Application of Option.

    Select your. ALX (can be created in your JDE-> project-> generate ALX file)

    Complete the Installation.

Maybe you are looking for