Not getting the Document name when using CSWB
happy New Year all!
Am using SP Online.
I have inserted the Content Search Web Part on a subsite to pull documents from a main list located on the parent site.
It works ok but the result I am getting is the first line inside the document, so all I get a 10 identical results.
team meeting
team meeting
team meeting
How can I get the actual document name?
Thank you
Pierre
pgg02
Hello Sekar,
I think I figured out the problem but still is strange. Am trying things but SharePoint Online is extremely slow.
When I created the library list, I only created 2 columns, one called "Name" the other "Tower", other columns got in like automatically and are created by:, modified by, modified date.
I went to edit one of the documents, and that's when I saw a field called "title" which does not appear See below:
Columns
A column stores information about each document in the document library. The following columns are currently available in this document library:
Column (click to edit)
Type
Required
Title
Single line of text
Tower
Choice
Created
Date and Time
Modified
Date and Time
Created By
Person or Group
Modified By
Person or Group
Checked Out To
Person or Group
but in the column ordering screen see
Field Order
Choose the order of the fields by selecting a number for each field under "Position from Top".
Field Name
Position from Top
<input name="numSelects" type="hidden" value="3" />
Name
<select name="FormPosition0" title="Name: Position from Top"><option selected="selected" value="FileLeafRef">1</option> <option value="FileLeafRef">2</option> <option value="FileLeafRef">3</option>
</select>
Title
<select name="FormPosition1" title="Title: Position from Top"><option value="Title">1</option> <option selected="selected" value="Title">2</option> <option value="Title">3</option>
</select>
Tower
<select name="FormPosition2" title="Tower: Position from Top"><option value="Tower">1</option> <option value="Tower">2</option> <option selected="selected" value="Tower">3</option>
</select>
A field called "Name" mysteriously appeared.
The text in the "Name" fields was the same for all items so that explains why I was getting 10 times the same result.
I went back to my list and copied the unique file name (library of word documents) into the "Name" field. But now when I am finally able to try the query I get the same results as before.?!
here is the KQL
path:"https://proposalforcondo.sharepoint.com" (FileExtension:doc OR FileExtension:docx OR FileExtension:xls OR FileExtension:xlsx OR FileExtension:ppt OR FileExtension:pptx OR FileExtension:pdf) (IsDocument:"True"
OR contentclass:"STS_ListItem")
The result I get is:
RelevantResults
(8)
Home.aspx
proposalforcondo.sharepoint.com/Home.aspx.docx
CARLETON CONDOMINIUM CORPORATION NO. 12
proposalforcondo.sharepoint.com/C12_MINUTES_Oct 28...
CARLETON CONDOMINIUM CORPORATION NO. 12
proposalforcondo.sharepoint.com/C12_MINUTES_July4_...
CARLETON CONDOMINIUM CORPORATION NO. 12
proposalforcondo.sharepoint.com/C12_MINUTES_Septem...
CARLETON CONDOMINIUM CORPORATION NO. 12
proposalforcondo.sharepoint.com/C12_MINUTES_July31...
CARLETON CONDOMINIUM CORPORATION NO. 12
proposalforcondo.sharepoint.com/C12_MINUTES_June17...
CARLETON CONDOMINIUM CORPORATION NO. 12
proposalforcondo.sharepoint.com/C12 - MINS_June 25...
CARLETON CONDOMINIUM CORPORATION NO. 12
proposalforcondo.sharepoint.com/C12 - MINS_June11_...
Any suggestion?
Thanks again
Pierre
pgg02
Similar Messages
-
Why does iPhoto (9.0/11) not retain the Event name when exporting more than one event? (using File -> Export -> Album name with number).
Exporting a single Event retains the Event name which is what I'd expect. But highlighting more than one event and exporting it renames the images to Events 001.JPG, Event 002.JPG etc.
I was recently on holidays and had all my events nicely split on Dad's computer but when I went to export it I couldn't retain any of this information. Now I have to replicate this all again on my computer.
It wasn't possible to export the entire library as the external drive was fat32 format an I didn't want all of it. It would be nice to export a bunch of events to someone and have it retain the name.
Does anyone have a work around or will this be fixed at some point by Apple?Why does iPhoto (9.0/11) not retain the Event name when exporting more than one event? (using File -> Export -> Album name with number).
Exporting a single Event retains the Event name which is what I'd expect. But highlighting more than one event and exporting it renames the images to Events 001.JPG, Event 002.JPG etc.
I was recently on holidays and had all my events nicely split on Dad's computer but when I went to export it I couldn't retain any of this information. Now I have to replicate this all again on my computer.
It wasn't possible to export the entire library as the external drive was fat32 format an I didn't want all of it. It would be nice to export a bunch of events to someone and have it retain the name.
Does anyone have a work around or will this be fixed at some point by Apple? -
TS4022 why am I not getting the Advance options when I am in my iCloud account?
Why am I not getting the "Advance" option when I am in my iCloud account?
There is no 'Advanced' option at icloud.com. Is this a question of changing the default email address? I quote:
In iOS 6
Go to Settings > iCloud > Account (your Apple ID) >Advanced: Mail.
Under iCloud Account Information, tap your email address.
From the list of addresses available, tap the @icloud.com email address you would like to use as the default address for sending mail from iCloud Mail.
In OS X Mountain Lion or Lion v10.7.2 (or later)
Go to Mail Preferences > Composing.
Click the Send new messages from drop-down and select the @icloud.com email address you’d like to use.
At iCloud.com
Go to the Mail app.
Click the Action (gear icon) menu and choose Preferences.
Under Composing, click the Set a default address drop-down and select the @icloud.com address you’d like to use. -
Get the project name to use in a procedure?
How to get the project name to use in a procedure?
example <% = odiRef.getOption ("COMPATIBLE")%> - but the project name or your id?
in ODI 11.
thanks
Edited by: user ODI Dev on 01/12/2010 16:42I also need solution for this issue.
I want to set ODI variable value in Jython script, this method described there: How to assign value for a ODI variable from Jython Script
I need to update snp_var_data table. For more flexible solution i need to know project name where variable declared, because variable name in snm_var_data consist of two part <PROJECT_NAME>.<VAR_NAME>. Also this name convention don't changed after import scenarios from dev to execution repository
Edited by: 822130 on 19.12.2010 4:31 -
Iam not getting the document in production order
HI,
Iam created a document (cad drawing)in CV01N and this document is assigned to BOM item category D.
created production order and released .here iam not getting the document overview in production order heade details.
Any setting for document?give me solutionHi Naresh,
You can view the dms documents at purchase order item level not in header. Hope this will resolve the query.
Regards,
Ravindra -
i have erased my partition completely. now i am not getting the installation started when i quit the disk utilities..instead i get an option to restore my system. and i have no restore points on my system so eventually my mac dosent get installed
please help me outI can't do that since I do nothing with Windows.
It sounds like it was hacked to run XP and then makes it not run OS X now.
Only thing I can suggest is to repartition the hard drive to a single HFS+, GUID partition and see if that allows you to install OS X.
Allan -
We are trying to use workflows to review and edit pdf files in sharepoint 2010. We are having a couple of issues and am hoping someone has the answer.....
1) When myself and coworkers click on the pdf document in the library, we get the check out option as expected. However when we click on the document link in a workflow task (on the sharepoint site), the pdf opens as a temporary file and we do not get the check out option. Why does this happen?????
2) The same thing happens when we click on the document link in the workflow task email; HOWEVER, one of our co-workers does get the check out option when clicking on the link in the email task. Why would she get the checkout option using the email and not when clicking on the link in the task list on the sharepoint site ???? We have compared our internet settings and adobe settings to ours and found no differences.
We are using Sharepoint 2010, Windows 7, IE8, Adobe Reader X or XI. Some of us have Adobe Pro X and have the same issues.No the person who can check out using the link in the email has the same permissions as me. We have looked at all kinds of settings, profile etc and nothing evident can be determined to explain the reason. However, one difference we did notice is that this person does not have a default web browser set and thus when clicking on items to open, it always pops up a dialog box asking which program to use to open it with. This person chooses Adobe Reader and it opens on the Sharepoint server as it should and she gets the checkout option in a dialog box just like clicking on the document in the library. My theory is that this step of choosing the program to open with is interrupting the typical way a pdf file is handled when clicking on URL links to the document, which is…. it is opened as temporary internet file rather than on the Sharepoint server. Hopefully someone can figure this out ☺
-
How to get the log information when using a class?
Hi All,
I have a simple question, which I don't know how to solve. I am using org.apache.commons.logging.Log and LogFactory to do some logging. A typical situation is exemplified in the following code snippet.
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
class LogClass {
private static final Log LOG = LogFactory.getLog(AClass.class);
public void logit(){
LOG.debug("This is the debugging log.");
public class AClass{
public static void main(String[] args) {
LogClass l=new LogClass();
l.logit();
}But this way, I do not get the log information from the class LogClass. Could anybody please help?
Many thanks.jschell wrote:
jverd wrote:
...configuration in log4j.xml or log4j.properties.And far as I recall you need one of those two also. If there is no config then there is no output.I thought it used some default config if no file is present, but I could be mistaken. Either way, it adds to the possible problems that the OP could be having, any of which are consistent with his rather vague question.
1) He's passing the wrong class to the LogFactory, and hence getting a logger with the wrong name, so he's seeing a different name than he expects in the output that's being produced.
2) His config file does not contain the proper format to include the actual classname, independent of the logger's name, so he's missing a piece of desired information in each line of the output that's being produced.
3) His config file indicates a threshold that's less verbose than the level at which his code is logging, so no output is present when he wants it.
4) His config file is missing (or not where it's expected to be), so no output is being produced at all.
5) His config file is missing (or not where it's expected to be), so a default level or format is being produced, effectively the equivalent of one of the misconfigurations described in #2 and #3.
Since the OP seems to have vanished, we may never know. -
Getting the variant name when the report program is run in background
Hi All,
How to get the variant name for the report program when run in background? My requirement is to create an email attachement with the name 'variant.XLS', where variant = selection screen variant, when the report program is run in background. The system field SY-SLSET holds the variant name only when run online.
Any pointers to this will be highly appreciated.
Thanks and regards,
Nilesh.Hello Nilesh,
Please find the algo:
1. Call the FM: GET_JOB_RUNTIME_INFO to get the background job details.
2. Select data from TBTCP using these details:
DATA:
FP_EVENTID TYPE BTCEVENTID
FP_EVTPARM TYPE BTCEVTPARM
FP_ACTIVE TYPE BTCXPGFLAG
FP_JOBCNT TYPE BTCJOBCNT
FP_JOBNM TYPE BTCJOB
FP_STEPCNT TYPE BTCSTEPCNT.
CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
IMPORTING
EVENTID = FP_EVENTID
EVENTPARM = FP_EVTPARM
EXTERNAL_PROGRAM_ACTIVE = FP_ACTIVE
JOBCOUNT = FP_JOBCNT
JOBNAME = FP_JOBNM
STEPCOUNT = FP_STEPCNT
EXCEPTIONS
NO_RUNTIME_INFO = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
* Error calling FM: GET_JOB_RUNTIME_INFO
ENDIF.
DATA: FP_VARIANT TYPE BTCVARIANT.
SELECT JOBNAME JOBCOUNT STEPCOUNT VARIANT
FROM TBTCP
INTO TABLE L_IT_TBTCP
WHERE JOBNAME = FP_JOBNM
AND JOBCOUNT = FP_JOBCNT
AND STEPCOUNT = FP_STEPCNT.
IF SY-SUBRC = 0.
SORT L_IT_TBTCP BY JOBNM JOBCNT STEPCNT.
READ TABLE L_IT_TBTCP INTO L_WA_TBTCP INDEX 1.
IF SY-SUBRC = 0.
FP_VARIANT = L_WA_TBTCP-VARIANT.
ENDIF.
ENDIF.
Hope this helps.
BR,
Suhas -
File upload script not getting the file name for larger files
Hi
I have the following code (see extract below) and find that
when the size of the file to upload is larger than about 300kb the
code does not grab the file name. Consequently the upload fails.
The code works fine when the file size is smaller.
The code in the form page is:
<form
action="UploadAttachment.asp?SubjectName=<%=Request.QueryString("SubjectName")%>&VersionN umber=<%=Request.QueryString("VersionNumber")%>&QualificationName=<%=Request.QueryString(" QualificationName")%>"
method="post" enctype="multipart/form-data" name="form1">
<input name="file" type="file" size="100">
<input name="Upload" type="submit" id="Upload"
value="Upload">
</form>
The code in the UploadAttachment.asp page is:
<%
'Grab the file name
Dim objUpload, strPath, SQLString
Set objUpload = New clsUpload
'there is a problem that this next line doesn't grab the file
name if file is too large.
strFileName = objUpload.Fields("file").FileName
etc.
%>
If you have any idea how to resolve this I'd be grateful.
NeilHi
I have the following code (see extract below) and find that
when the size of the file to upload is larger than about 300kb the
code does not grab the file name. Consequently the upload fails.
The code works fine when the file size is smaller.
The code in the form page is:
<form
action="UploadAttachment.asp?SubjectName=<%=Request.QueryString("SubjectName")%>&VersionN umber=<%=Request.QueryString("VersionNumber")%>&QualificationName=<%=Request.QueryString(" QualificationName")%>"
method="post" enctype="multipart/form-data" name="form1">
<input name="file" type="file" size="100">
<input name="Upload" type="submit" id="Upload"
value="Upload">
</form>
The code in the UploadAttachment.asp page is:
<%
'Grab the file name
Dim objUpload, strPath, SQLString
Set objUpload = New clsUpload
'there is a problem that this next line doesn't grab the file
name if file is too large.
strFileName = objUpload.Fields("file").FileName
etc.
%>
If you have any idea how to resolve this I'd be grateful.
Neil -
I have some code that takes a csv and loads it into a type table. I am now trying to select from this table but am not sure what column name to use in my cursor. (See below I have c2.???).
FUNCTION in_list_varchar2 (p_in_list IN VARCHAR2) RETURN VARCHAR2_TT is
l_tab VARCHAR2_TT := VARCHAR2_TT();
l_text VARCHAR2(32767) := p_in_list || ',';
l_idx NUMBER;
BEGIN
LOOP l_idx := INSTR(l_text, ',');
EXIT WHEN NVL(l_idx, 0) = 0;
l_tab.extend;
l_tab(l_tab.last) := TRIM(SUBSTR(l_text, 1, l_idx - 1));
l_text := SUBSTR(l_text, l_idx + 1);
END LOOP;
RETURN l_tab;
END in_list_varchar2;
schema_list := 'SCOTT, TOM, MIKE';
schema_names := regexp_replace(schema_list, '([^,]+)', '''\1''');
schema_list_t := DATAPUMP_UTIL.in_list_varchar2(schema_list);
for c2 in
select *from table(schema_list_t)
loop
dml_str := 'DROP USER ' || c2.??? || 'CASADE';
EXECUTE IMMEDIATE dml_str;
end loop;Chris wrote:
I have some code that takes a csv and loads it into a type table. I am now trying to select from this table but am not sure what column name to use in my cursor. (See below I have c2.???).
FUNCTION in_list_varchar2 (p_in_list IN VARCHAR2) RETURN VARCHAR2_TT is
l_tab VARCHAR2_TT := VARCHAR2_TT();
l_text VARCHAR2(32767) := p_in_list || ',';
l_idx NUMBER;
BEGIN
LOOP l_idx := INSTR(l_text, ',');
EXIT WHEN NVL(l_idx, 0) = 0;
l_tab.extend;
l_tab(l_tab.last) := TRIM(SUBSTR(l_text, 1, l_idx - 1));
l_text := SUBSTR(l_text, l_idx + 1);
END LOOP;
RETURN l_tab;
END in_list_varchar2;
schema_list := 'SCOTT, TOM, MIKE';
schema_names := regexp_replace(schema_list, '([^,]+)', '''\1''');
schema_list_t := DATAPUMP_UTIL.in_list_varchar2(schema_list);
for c2 in
select *from table(schema_list_t)
loop
dml_str := 'DROP USER ' || c2.??? || 'CASADE';
EXECUTE IMMEDIATE dml_str;
end loop;
I have some code that takes a csv and loads it into a type table.Why a type table? Where is type table defined as such?
with PL/SQL, objects must be declared before they can be referenced.
You need to correct syntax errors before tackling any runtime/logic flaws. -
I am create a very basic 36 page magazine. I have never ever encounter this issue in the 10 years I have been creating these. I have been getting this issue ever since the cloud InDesign. It is making it very difficult to get my work to press. I have no errors! All items are linked. I've gone through and relinked. I've removed items. I feel like I've tried many things. Anyone have any ideas???
Thank you so much!!! I just did a test run with an old file and changed all of the file names that had symbols and it worked!! It packaged for me without errors. So great!!!!
-
Unable to get the execution plan when using dbms_sqltune (11gR2)
Hi,
Database version: 11gR2
I have a user A that is granted privileges to execute dbms_sqltune.
I can create a task, excute it and run the report.
But, when I run the report I get the following error:
SQL> show user
USER is "A"
SQL> set long 10000 longchunksize 10000 linesize 200 pagesize 000
select dbms_sqltune.report_tuning_task(task_name => 'MYTEST') from dual;SQL>
GENERAL INFORMATION SECTION
Tuning Task Name : MYTEST
Tuning Task Owner : A
Workload Type : Single SQL Statement
Scope : COMPREHENSIVE
Time Limit(seconds): 1800
Completion Status : COMPLETED
Started at : 05/15/2013 11:53:22
Completed at : 05/15/2013 11:53:23
Schema Name: SYSMAN
SQL ID : gjm43un5cy843
SQL Text : SELECT SUM(USED), SUM(TOTAL) FROM (SELECT /*+ ORDERED */
SUM(D.BYTES)/(1024*1024)-MAX(S.BYTES) USED,
SUM(D.BYTES)/(1024*1024) TOTAL FROM (SELECT TABLESPACE_NAME,
SUM(BYTES)/(1024*1024) BYTES FROM (SELECT /*+ ORDERED USE_NL(obj
tab) */ DISTINCT TS.NAME FROM SYS.OBJ$ OBJ, SYS.TAB$ TAB,
SYS.TS$ TS WHERE OBJ.OWNER# = USERENV('SCHEMAID') AND OBJ.OBJ# =
TAB.OBJ# AND TAB.TS# = TS.TS# AND BITAND(TAB.PROPERTY,1) = 0 AND
BITAND(TAB.PROPERTY,4194400) = 0) TN, DBA_FREE_SPACE SP WHERE
SP.TABLESPACE_NAME = TN.NAME GROUP BY SP.TABLESPACE_NAME) S,
DBA_DATA_FILES D WHERE D.TABLESPACE_NAME = S.TABLESPACE_NAME
GROUP BY D.TABLESPACE_NAME)
ERRORS SECTION
- ORA-00942: table or view does not exist
SQL>
It seems there a missing privileg for dislaying the execution plan.
As a workaround, this is solved by granting select any dictionay (which I don't want) to the user A.
Does someone have an idea about what privilege is missing?
Kind Regards.Hi,
SELECT ANY DICTIONARY system privilege provides access to SYS schema objects only => which you are using as workaround
SELECT_CATALOG_ROLE provides access to all SYS views only.==> Safe option
SQL> grant SELECT ANY DICTIONARY to test;
Grant succeeded.
SQL> conn test/test
Connected.
SQL> select count(*) from sys.obj$;
COUNT(*)
13284
SQL> conn /as sysdba
Connected.
SQL> revoke SELECT ANY DICTIONARY from test;
Revoke succeeded.
SQL> grant SELECT_CATALOG_ROLE to test;
Grant succeeded.
SQL> conn test/test
Connected.
SQL> select count(*) from sys.obj$;
select count(*) from sys.obj$
ERROR at line 1:
ORA-00942: table or view does not existHTH -
How to get the displayed message when using FM: ABAP4_CALL_TRANSACTION
Hi,
I am calling FM ABAP4_CALL_TRANSACTION from MS-Excel. This FM works perfectly for me except the system messages that SAP returns are not always understandable or intituative. My question is there another FM or Table that I can use to convert the data from MESS_TAB to a more meaningful message for the users?
Examples listed below:
Normal T-Code Message
FM Message in MESS_TAB
Real Meaning
Fill in all required entry fields
COBL-RMVCT
Field COBL-RMVCT is a required field
Document 400000000 was posted in 130
4000000000 130
Document 400000000 was posted successfully
Thanks for your HelpHi Karim,
when you have the parameter to generate the message, you can use the following RFC function module:
BAPI_MESSAGE_GETDETAIL
The module has the following interface:
*"*"Lokale Schnittstelle:
*" IMPORTING
*" VALUE(ID) LIKE BAPIRET2-ID
*" VALUE(NUMBER) LIKE BAPIRET2-NUMBER
*" VALUE(LANGUAGE) LIKE BAPITGA-LANGU DEFAULT SY-LANGU
*" VALUE(TEXTFORMAT) LIKE BAPITGA-TEXTFORMAT
*" VALUE(LINKPATTERN) LIKE BAPITGA-LINKMASK OPTIONAL
*" VALUE(MESSAGE_V1) LIKE BAPIRET2-MESSAGE_V1 OPTIONAL
*" VALUE(MESSAGE_V2) LIKE BAPIRET2-MESSAGE_V2 OPTIONAL
*" VALUE(MESSAGE_V3) LIKE BAPIRET2-MESSAGE_V3 OPTIONAL
*" VALUE(MESSAGE_V4) LIKE BAPIRET2-MESSAGE_V4 OPTIONAL
*" EXPORTING
*" VALUE(MESSAGE) LIKE BAPIRET2-MESSAGE
*" VALUE(RETURN) LIKE BAPIRET2 STRUCTURE BAPIRET2
*" TABLES
*" TEXT STRUCTURE BAPITGB OPTIONAL
Best regards
Thomas -
6.1 What is the Domain Name when using LDAP
Hi,
We are currently installing Tidal 6.1, we are going to integrate Oracle Directory Server for LDAP (not AD).
Qustion is, what is the domain name we have to provide when we install?
Master and CM both on Linux.
Thanks!Do you know any document which shows LDAP compatibility?
I havent seen on Intsallation Guide.
Problem is, when I install, linux servers are on different network (domain) but LDAP contains different domain details. Wondering how Tidal check the domain details when authenticating.
When we give LDAP domain details, it gives following error.
WARN: javax.security.auth.login.LoginException: [LDAP: error code 49 - Invalid Credentials]
Anyone know how to increase log level to debug?
Thanks!
Maybe you are looking for
-
Whole server migarion issue in weblogic
I have configured the Script Based node manager. Through admin console i am able to start the remote managed servers psMS1 , psMS2. 192.168.9.11 –> Adminserver , psMS1 192.168.9.22 –> psMS2 We have create Two unix machine Unix1 , Unix1. Unix1 –> assi
-
u
-
Can you set the Tax Code value in the Product Import File to "Tax Never Applies"?
We have taxable and non-taxable items in our store and I need to be able to set all non-taxable food items to "Tax Never Applies" in the Product Import document. Does anyone know a work around for this? Applying this setting to hundreds of items is n
-
HDV ----- DVD - Need some help determining my next course of action.
I am editing my project in HD....in CS4 on MacPro. Ultimately, I just want to burn a DVD using Encore or iDVD. What settings should I export at?? I obviously want the highest quality before i burn the DVD and it has to be a file that can be burned to
-
"Business Network" and "Without a Domain" -- Consequences?
In Windows 7 SP1, during installation (or later in "Control Panel\System and Security\System," under "Computer name, domain and Workgroup settings," click "Change Settings," than "Network ID") you get the following choice: This Computer Is Part of a