How to search a content item based on content id?
I'm having a requirement to search a document based on an Id. (something similar to KB search based on KB id)
I'm aware that a document uploaded to publisher has two Id's that get generated
1) UUID 2) ITEMID (DA_*****)
I'm planning to develop a portlet to search documents based on it's Id's
I have the following queries.
1) Can i make use of the itemid (DA_****) to search? But i dont find any IDK API to do that. am i missing some thing here?
2) I found that by making use of pcs database we can get UUID from the ITEMID, is that a right approach to get hold of a content item?
3) Is there any other better approach?
Guide me
Thanks,
Bharat
You can use InDesign for this.
Similar Messages
-
How to search the content of TPL files?
Hi. I have a folder with hundreds of template "tpl" files that I'm needing to search the file contents of but using the regular search of that folder is unable to search the content of the tpl files, is it possible to do so?
Thanks!,
WesleyI assume there's not a "scan all files" with Spotlight?
I don't think that would be possible in the specific case of content searches. Here's my understanding:
EasyFind searches the files themselves when it looks for content, which makes it slow but very flexible.
In contrast, Spotlight searches a pre-existing index when it looks for things - it can be instructed to search the index in various ways, but if the desired information is not in the index in the first place, it won't be found. Indexing the content of every file in the system is not feasible, so only the contents of certain file types get indexed. I found the following in [this Wikipedia article|http://en.wikipedia.org/wiki/Spotlight_%28software%29]:
Aside from basic information about each file like its name, size and timestamps, the mdimport daemon can also index the content of some files, when it has an Importer plug-in that tells it how the file content is formatted. Spotlight comes with importers for certain types of files, such as Microsoft Word, MP3, and PDF documents. Apple publishes APIs that allow developers to write Spotlight Importer plug-ins for their own file formats.[3]
So unless you'd care to write your own Spotlight Importer plug-in for tpl files, I think you are out of luck! -
How to search the content in a Table
Hi all,
How can i search the content in a table. is there any UI Element is there to do this? Can any body give me any sample code for this
regards,
VJRHi,
you gotta do that programmatically,
here is a sample code:
int sizeOfstudent = wdContext.nodeCtx_vn_student().size();
//Ctx_vn_student is the node associated with the table ie its dataSource property
String filtername = wdcontext.currentContextElement.getSName();
//sName is the name to be searched , it is a context attribute
for(int i = sizeOfstudent-1;i>=0;i--)
String matchValue = recNode.getElementAt(i).getAttributeAsText("Name");
//get the name of 1st record(in table) or 1st elememnt in node, "Name" here is value attribute of that node
//so we are fetching its value and comparing it like..
if(matchValue.equalsIgnoreCase(filtername))
//here you can add the action to be taken on mathing name }
hope it helps
regards -
How to add new line item based on main item using crm_order_maintain
Hi All,
can you please provide a way to create a new line item based on main line item and save in crm transaction( in house repair order) by using crm_order_maintain(from SAP GUI).
Thanks,
vinod.Hi Vinod,
The relationship with main item is stored with CRMD_ORDERADM_I- Parent.
You need to pass the guid of main item to orderadm_i-parent. This will keep the relationship with main item.
Thanks
Ajay -
How to search package contents?
Is there any way to get Finder to search package contents?
I'm trying to find some duplicate audio files that are buried in the Media folders inside some GarageBand files. I know I can use the contextual menu to "Show Package Contents", but I don't want to search each of them manually.
I've tried searching for visible or invisible (even though I don't think package contents actually qualify as invisible files). Anyhow, that didn't work. I also tried searching using the "file exists" criterion, but no dice.
I can see the file right there in the Media folder, and I can't get Finder to even recognize that it's there, let alone find any duplicates. This is pretty frustrating. I'd appreciate any help.
Thanks!Cool!
I DL'd EasyFind, installed it, and gave it a try. It works like gangbusters, it's dirt simple, completely intuitive, and FAST!! No more dealing with that stupid Finder that forces me to select "Name" as the preferred search criterion every time I want to search for a filename...which accounts for >95% of all my searches.
Problem solved. Thanks! -
How to create Text Web item based on characteristics text!
Hi
In a template, I have a hierarchy object Region which is in the left panel, then on the right i have table displaying with dataprovider.
When the user select the hierarchy Region say Australia , then on the right I add the text web item, based on which the user selected, my text on righ side becomes australia, if they select Europe, then it should display europe.
Give me some solutions
Thanks
BI LearnerNo one answered...
-
How to sort web app items based on few fields of it on search result page?
I have a web app and its search. The search results are on multiple pages means it has pagination. My client's requirement is to have a feature which will sort results based on some web app items. for example we have a field price so when user select the price it needs to sort from high to low. Any one have idea how to do it?
I have just been playing around with this for something else, all you need to do is duplicate your price field into the weighting field and it will automatically sort from High to low for you.
Cheers
Duncan -
How to search xml file data based on the given keyword from html form
hi,
i'm new to XML. I have this problem regarding searching within a XML file.
the
idea is that my search will be based on the keyword entered
in
by the user from a HTML form. the keyword is then used to search all
the
question nodes and the choice nodes within a XML file. once the match
is
found, i will have to display the results.
But i don't know how to do so - especially the part of searching xml file.
Can
anyone help me in this? Your help is much appreciated.
Edited by: Moti_Lal.D on Apr 4, 2008 7:28 AMyeah.. what i was trying to do is
i have one xml fine. then i have to read all the tag values say
<book>
<title>Java</title>
<author>agarwal</author>
<price>200</price>
</book>
<book>
<title>Xml</title>
<author>saxmann</author>
<price>300</price>
</book>
i can read the tag values like this
File file = new File("dom.xml");
try {
DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
Document doc = builder.parse(file);
NodeList nodes = doc.getElementsByTagName"book");
for (int i = 0; i < nodes.getLength(); i++) {
Element element = (Element) nodes.item(i);
NodeList title = element.getElementsByTagName("title");
Element line = (Element) title.item(0);
what i want is i may give any xml file
like File file = new File("xxx.xml");
(it may be one level/two level/3level tagged one)
then the i should read all the tag values and store them in some array. Then when i enter some character from keyboard (say "a") then it has to show all the tag values starts with "a" and display them.
i guess u understand my problem. -
How to Search within document items
Hi
How are you all??!!
I was wondering if there is anyway at all to customize the Portal search so that it searches within the document (ie a MSWord doco) for the keywords, not just the Item title.
thanks in advance
LizHi Liz
I'm good thanks.
Document content searching is available by enabling the Oracle Text searching features in Portal. Please refer to the Portal Configuration Guide for your version of the product.
The Oracle Application Server 9i Release 2 documentation can be found at
http://otn.oracle.com/documentation/ias.html
The configuration guide can currently be access from
http://download-uk.oracle.com/docs/cd/A97329_03/portal.902/a90852/toc.htm
thanks -
How to populate another page item based on cascading select lists?
Oracle 10gXE
APEX 3.2
I've created cascading select lists based on the examples (using Javascript and AJAX) that i've seen on this forum. Thanks for help on that!
Now that I have these LOV's being populated without needing to submit the page, how do I take the value that is presently in each LOV and concatenate them together to populate another page item? I'm trying to build the URL string that will execute an Oracle Report once the user clicks a button.
Previously, when I had multiple Select Lists with a submit, the URL was being put together using an After Submit Computation that would set the value for an item (P26_REPORT_URL) on the page. Notice that a report parameter (i.e. parameter name and Select List value) is only included if the user has provided a value. The page item that holds these values is then referenced by a button for URL redirect. The URL Target for the button currently is: javascript:popupURL('&P26_REPORT_URL.'), but will not work at the moment because P26_REPORT_URL page item is not changing based on what is selected in the LOVs. Since I'm not submitting anything (do I need to?), how do I put together the values needed?
Computation for P26_REPORT_URL:
DECLARE
l_param VARCHAR2(2000);
BEGIN
l_param := '&REPORTS_URL.&report=&P26_RPT_VIEW..rdf&desformat=&P26_DESFORMAT.&destype=cache';
IF REPLACE(:P26_OLO_CODE,'%'||'null%',NULL) IS NOT NULL THEN
l_param := l_param||'&p_olo_code=&P26_OLO_CODE.';
END IF;
IF REPLACE(:P26_BEG_DATE,'%'||'null%',NULL) IS NOT NULL THEN
l_param := l_param||'&p_start_dt=&P26_BEG_DATE.';
END IF;
IF REPLACE(:P26_END_DATE,'%'||'null%',NULL) IS NOT NULL THEN
l_param := l_param||'&p_end_dt=&P26_END_DATE.';
END IF;
IF REPLACE(:P26_ORG_CODE_2,'%'||'null%',NULL) IS NOT NULL THEN
l_param := l_param||'&p_org_code=&P26_ORG_CODE_2.';
END IF;
IF REPLACE(:P26_FLAIR_ORG_2,'%'||'null%',NULL) IS NOT NULL THEN
l_param := l_param||'&p_flair_org_code=&P26_FLAIR_ORG_2.';
END IF;
IF REPLACE(:P26_BUDGET_ENTITY_2,'%'||'null%',NULL) IS NOT NULL THEN
l_param := l_param||'&p_agy_code=&P26_BUDGET_ENTITY_2.';
END IF;
RETURN l_param;
END;Andy,
This is a great suggestion! After I posted, I started looking at a Javascript solution and figured it's probably what I had to do.
However, now the cascading select list no longer working for some reason after I added the function to concatenate the item values. When I remove the showReport() function the select list works again.
Here is what I have in the HTML Header portion of the page:
<script language="JavaScript" type="text/javascript">
function popupURL (url) {
w = open(url,"winLov","resizable=1,width=800,height=600");
if (w.opener == null)
w.opener = self;
w.focus();
function showReport()
var l_param = '&REPORTS_URL.&report=' + $v('P26_RPT_VIEW') + '.rdf&desformat=' + $v('P26_DESFORMAT') + '&destype=cache';
if ($v('P26_OLO_CODE' != '')
l_param += '&p_olo_code=' + $v('P26_OLO_CODE');
if ($v('P26_ORG_CODE_3' != '')
l_param += '&p_org_code=' + $v('P26_ORG_CODE_3');
popupURL(l_param);
function get_AJAX_SELECT_XML(pThis,pSelect){
var l_Return = null;
var l_Select = $x(pSelect);
var get = new htmldb_Get(null,$x('pFlowId').value,'APPLICATION_PROCESS=ORG_SELECT_LIST',0);
get.add('TEMPORARY_ITEM',pThis.value);
gReturn = get.get('XML');
if(gReturn && l_Select){
var l_Count = gReturn.getElementsByTagName("option").length;
l_Select.length = 0;
for(var i=0;i<l_Count;i++){
var l_Opt_Xml = gReturn.getElementsByTagName("option");
appendToSelect(l_Select, l_Opt_Xml.getAttribute('value'), l_Opt_Xml.firstChild.nodeValue)
get = null;
function appendToSelect(pSelect, pValue, pContent) {
var l_Opt = document.createElement("option");
l_Opt.value = pValue;
if(document.all){
pSelect.options.add(l_Opt);
l_Opt.innerText = pContent;
}else{
l_Opt.appendChild(document.createTextNode(pContent));
pSelect.appendChild(l_Opt);
</script> -
How to search for CLOB item in Form?
I create a table
CREATE TABLE PHOTOS
(PHOTO_ID VARCHAR2(15) NOT NULL,
PHOTO_IMAGE BLOB,
TEXT_DESCRIPTION CLOB,
FILENAME VARCHAR2(50),
FILE_SIZE NUMBER NOT NULL,
ACCESS_RIGHT VARCHAR2(7) NOT NULL,
CONSTRAINT CK_ACCESS_RIGHT CHECK (ACCESS_RIGHT IN ('PRIVATE', 'PUBLIC')),
CONSTRAINT PK_PHOTOS PRIMARY KEY (PHOTO_ID)
create index idx_photos_text_desc on
PHOTOS(TEXT_DESCRIPTION) indextype is ctxsys.context;
INSERT INTO PHOTOS VALUES
('P00000000000001', empty_blob(), empty_clob(),
'SCGP1.JPG',100,'PUBLIC');
INSERT INTO PHOTOS VALUES
('P00000000000002', empty_blob(), 'Cold Play with me at the concert in Melbourne 2005',
'COLDPLAY1.JPG',200,'PUBLIC');
INSERT INTO PHOTOS VALUES
('P00000000000003', empty_blob(), 'My parents in Melbourne 2001',
'COLDPLAY1.JPG',200,'PRIVATE');
COMMIT;
EXEC CTX_DDL.SYNC_INDEX('idx_photos_text_desc');
I created a Form which maintains the above table. I found that the Query By Example does not work for TEXT_DESCRIPTION which is CLOB.
How can I search text in CLOC using Forms?
Message was edited by:
wyfwongWhat version of forms? There is a Forms/CLOB bug that gets fixed in 10g Forms.
Note:252285.1
ORA-932 When Querying a Block Based on From-Clause-Query With CLOB -
How to not display certain items based upon certain criteria (Edit Form)
I have a Edit form which was created from an interactive report I generated.
There are 10 item fields which are listed which can be changed.
Sometimes I want to see just 9 of the fields on the form based on what the value is of another field in the record.
When I display the fields on the Interactive report I can filter this out by using a case statement, but how
do I do this with the edit form as the query is not there.
Thanks for your time in advance,
AnonUse Conditions to control whether the item appears or not.
In the item definition is a Conditions section where a large number of different types of condition can be used to determine whether the item is rendered. These include comparisons of the value of the item, or another item, items being null, and a lot of other options. Conditions are widely used throughout APEX—sometimes in subtle or noninuitive ways—so it's worthwhile studying how they're used. -
How to search file contents in finder?
How do I search for file contents in finder? All I see is the option to search "This Mac" or "Edited."
Under the partial results appearing under the search box is a + icon (next to save). To see it, click on the toolbar somewhere so the results popup clears. Then you can define your search.
-
HT2954 How to search the content in Mac mail system?
I receive a lot of emails each day, some of the are dumped in the inbox. It is natural to search them later by typing some keywords. But the search engine performance is very bad compared to the the one of Gmail. I typed the same words, Mac mail showed there is no results. But Gmail gave almost all of them.
Hi, for my money, Spotlight is the worst serch engine since "Don't Find this.app"
But, are there options showing for From, To, Content & such? -
How to search text content of csv file
I am, unfortunately, new to Macs and Mac OS X. Please forgive my rudimentary terminology. I use .csv files in my work, and I need to be able to search through a directory of them for all that contain a particular bit of text. I have tried using the search box in Finder, and limiting my search to the particular folder containing the .csv files of interest. I also have limited the search by selecting the options next to the search folder, and selecting the search criterion of "Contents" and typing the term I am seeking in the "contains" box. This has not given me any results. Is there another way to find what I am seeking?
Hi Alfredo,
Thanks for reply..Will you please explain in brief what are the OCR program and workflow.
Will you please send me any docs on [email protected]
Thanks
shiv.
Maybe you are looking for
-
Problum in creation of invoice
invoice is not getting generated for sales order But when we are creating invoice for a sales order it give us the invoice number but when we try to open it in vf03 the document is not exiting. I think when the document is not saving there is a bug
-
PS General SQL Routine -- Missing or invalid version of SQL library PSORA (
I installed PeopleTool8.5 in Windows7 ultimate(64bit version) . while i am tring to login first time in to datamover to populate the data to peopsoft. I am getting the following error message. Installed: Oracle 11g (64 bit), PeopleTools 8.5 PS Genera
-
In my Nokia X2-01, I am facing problems with SIM functions. I can't browse my contact list, call log or message folder. When I select the "Names" button, nothing happens. I am facing this problem while selecting the green color "Call" button, opening
-
Cant download iTunes 10.5.3
I cant get my laptop to load iTunes 10.5.3. Each time it stops downloading stating 'Error writing to file C:\Programfiles\iTunes\iTunes.Resources\de.lproj/StoreGetButton.png Verify that you have access to that directory.'
-
How to find the invalid form session in oracle Apps
Oracle Apps R12 Hai All How to find the invalid form session in oracle Apps R12 and How to Kill the that. Thanks & Regards Srikkanth.M