Search - search for a specific list in the root site
Hello ,
I have a SharePoint portal .
The structure is "Root Site >> Sub site 1" && "Root Site >> Sub site 2" .
I configured search on the server.
in the "Search Result web part" , I set "{SearchBoxQuery} Path:{Site.URL}" in the query text because I want when user in "Sub site 1" , search only through this site.
The root site has a "Document Library" .
I need when user on sub site 1 and search for a word . I need to search only on this site and just a document Library on the root site .
How Can I do that ?
Thanks
ASk
Hi himo,
According to your description, my understanding is that you want to search only on one library of the root site and the subsite 1.
I suggest you use the following query to query the result in the search result web part.
{searchboxquery} Path:http://server/rootsite/subsite1 OR Path:http://server/rootsite/library
Best Regards,
Wendy
Wendy Li
TechNet Community Support
Similar Messages
-
hi,
I am performing the below operations:
1) Itemupdated event handler when a document is uploaded into the document library
2) Now amreading another list which is in the root site level so, i used spsite, spweb again and accessed that splist and trying to read single line of text column and user or group column.
Now when i am reading this, i am getting the error "Value does not fall within the expected range".
I went to resource throttling under central admin -->my current web appln and changed that value to 20 from 8
even after performing the above, i am getting the same error.
pls help anyone has faced this issue before.
Accessing a splist which is under root site collection within the itemupdated eventreceiver is allowed in SP ?hello sir,
as per my requirement i have to access a splist which is residing in the ROOT SITE COLLECTION OF THIS WEB APPLICATION. the event receiver i have written is residing in one of the few document libraries within the sub site. there are hundreds
of sub sites exist in this site collection. I need to access the root site collection within the itemevent receiver and access thatperson column from that splist. why i ahve kept this list at the root site collection level [
http://server1:2020/ ] , because this splist is the UI for customer's sp admin for performing weekly tasks. like adding few items in the splist and my event receiver fires and check this column- person /group
column ] and apply permissions on the document.
so my doubt is it possible to access the root site collection from my event receiver code.
spweb from properties web is just the subsite url and not the site collection. i want to get the root sitec ollection url's splist.
also am already running this code under runwithelevatedprivileges. -
How do I search for a specific word in the code using Dreamweaver?
I need to search for a specific word in the code for all of my website pages. How can I do that using Dreamweaver?
To search local files of a Defined Site in DW...
Open the Find & Replace tool with Ctrl + F
Change the Find In dropdown to Entire Current Local Site
Change the Search dropdown to Text or Source code
Add the text to find in the Find field
Add the text to replace in the Replace field (or nothing if you just want to delete the text)
Hit Replace All -
If I am browsing on site such as Ebay or any shopping site and click on an item, when I return to the search page I am once again at the top of the page and have to search down for where I was in the list of items. This is not only on Ebay it is everywhere I search. Firefox goes back to the top of the page . It is annoying to have to figure out exactly where I was if I left the page and then returned. This is a hinderance when using Firefox. I have considered uninstalling it because of the inconvenience of 're-searching' after already doing a search. Firefox used to take me right back to where I was if I left a page, but that feature is not working now. I am not sure how to change this in the settings.
Open the Finder. From the Finder menu bar click Go > Go to Folder
Type or copy paste the following:
~/Library/Caches/com.apple.Safari/Cache.db
Click Go then move the Cache.db file to the Trash.
Quit and relaunch Safari to test. -
HT204266 How can I search to find a specific app in the store?
How can I search for a specific app I the iPad App Store?
Go the featured tab of the App Store and tap in the Search Store box in the upper right corner next to the magnifying glass icon.
-
How to get column names for a specific view in the scheme?
how to get column names for a specific view in the scheme?
TIA
Don't have DD on the wall anymore....or this?
SQL> select text from ALL_VIEWS
2 where VIEW_NAME
3 ='EMP_VIEW';
TEXT
SELECT empno,ename FROM EMP
WHERE empno=10 -
I use tab groups for specific projects and would like to print/save a list of the websites used on each project. Using the list function on a tab group produces a list of the web-sites which can be printed/saved via PrtSc and Word. How can the web-site addresses be included? With this list available I would then close the tabs.
Someone might have created an add-on for this, although I didn't find one in a search.
Could I suggest this workaround for now:
(1) Use the Bookmark All Tabs feature (right-click a tab when your tab group is displayed) to save all tabs to a new folder on the bookmarks menu. Some tips in the "How do I bookmark all of my open tabs?" section of this article: [[How to use bookmarks to save and organize your favorite websites]].
(2) Export bookmarks to an HTML file. Unfortunately, this will be all bookmarks, not just the ones you want, but hang in there. This article has the steps: [[Export Firefox bookmarks to an HTML file to back up or transfer bookmarks]].
(3) Open the exported HTML file in Firefox or your favorite WP program. Now you can either:
(A) Copy/paste the live links for your tab group into your preferred form of archival storage. Or
(B) Print (e.g., select the relevant bookmarks and use the Print Selection feature). However, in order to show the URLs, you need to hack the page a little bit.
(i) In Firefox, you can run a little script in the Web Console on the bookmarks page. Press Ctrl+Shift+k to open the web console. Copy the following line of script, then paste it next to the caret (">") in the web console and press Enter. The URLs should appear after the links.
for(var i=0; i<document.links.length; i++) {document.links[i].parentNode.appendChild(document.createTextNode(' ['+document.links[i].href+']'))}
(ii) In Word, there probably is a macro to split the hyperlink fields into the display text and URL. If Word is your preferred tool, I'll see whether I can write one. -
Greetings,
I have SharePoint 2013 enterprise using ADFS for authentication. I have an issue where the first time going to a site where you do not have access and clicking the back button you're returned to the root site instead of the site you
started from.
ie:
1) at site http://www.sharepoint.com/sites/finance/home.aspx
2) browse to
http://www.sharepoint.com/sites/finance/private/home.aspx
3) receive a message: you do not have access to this site ((oops went to the wrong location - I'll hit the back button))
4) click the browser back button
5) get returned to http://www.sharepoint.com/pages/home.aspx
This only happens the first time browsing to a site that I do not have rights to, after this I can browse to the same site and hit the browser back button and return to the correct site, or any other site that I do not have access to.
Any ideas as to why this happens? Ideas of where to start looking?
ThanksHi Robert,
From your description, when you receive access denied message and hit back button in browser, it redirects you to the root site but not previous site. However, this just happens at the first time.
You may try to use some tool or check log which can tell us how does it handle the request when you hit the button. And compare the issue time and non-issue time.
I'd suggest you use Netmon tool:
http://blogs.msdn.com/b/carloshm/archive/2012/11/08/sharepoint-2013-network-monitor-parsers.aspx
Regards,
Rebecca Tu
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
I created an Enterprise Project in PWA and moving up to the root site settings I see there was the four basic groups created there just for this project. This is not acceptable when there will be 500 projects on the server. Is there a setting to turn this
off. I guess we will rarely create projects with PWA, so I will see if creating a Project in Desktop has the same effect. Still would like to understand why this is happening. Thank you.
Site Provisioning settings are located under Central Administration -> Manage Service Applications -> Project Application Service -> Manage ->
Project Site Provisioning Settings
Turning that off allows the group creation to cease.
Then PWA Settings -> Operational Policies -> Connected Sharepoint Sites
allows selective creation of a Project Site (Workspace)
This set up is perfect for what I require.I assume that you're talking about the SharePoint security groups for each Project site? If so, then this is as designed. Each site can have different users, so this is absolutely necessary when you use SharePoint. If you do not want to create project sites
for your projects automatically, you have already discovered how to turn off automatic site creation.
If you turn off the Project application service, you disable Project Server. I don't think that is what you want to do. I don't understand your objection to the groups because if you are running in Project Server classic permissions mode, Project Server
manages the group membership for you.
Gary Chefetz, MCITP, MCP, MVP msProjectExperts
Project and Project ServerFAQs
Project Server Help BLOG -
Currently, I must browse through 50 or so bookmarked pages to see if a specific topic is covered. I would like to be able to search all bookmarked pages at once for a specific keyword. For example, if I have 50 news sites bookmarked and I would like to see which pages have the word "tuna" in them, I would need to open each page individually and do a "find". If I could search all of those pages at once, then I would save an immense amount of time. I have looked on the add-ons and found nothing...
1. Create a smart album and in the drop down in the top right corner select file status
2. Check mark the file status box and select 'Offline'
Now you should have all your 'Offline' (Yellow Exclamation and/or Red Slash) files.
To reconnect..
1. Select the missing files.
2. Go to File and scroll to Manage Referenced Files
The dialog box will have one of the photos selected
3. Select the drive and folder that contains the referenced file and select it
4. Click 'Reconnect All'
This might not reconnect all of them, but the dialog box will still be open and you can reconnect the ones left.
Narvon
Message was edited by: Narvon -
I have always searched the iTunes store for specific songs by the song title and not by the album or artist. Is this still possible? I have spend an hour looking and have not found any way to search inside the store.
If you are missing the Search field you may be missing the entire top section, together with the progress bar when playing and the red, yellow and green buttons. This can happen if iTunes overlaps the top of the screen (which of course it shouldn't do).
If this is the case, click and drag on the very bottom right-hand corner of the window (when in Library/Music or the iTunes Store) and drag upwards to reduce the height of the window. Then click on the bottom bar and drag downwards. -
When I use the search engine in the messages, I can search any text message belonging to any contact with the exception of one. For example, I'll type in "apple" because I need to know some info that was sent via text (AND I KNOW IT'S THERE), but it will not come up for that specific contact. I can search anyone else and it will go to the exact date and all, but for this one contact, it will not do it. Is there something I'm missing or may have changed? This contact is a primary contact who I communicate with on the daily.
When I use the search engine in the messages, I can search any text message belonging to any contact with the exception of one. For example, I'll type in "apple" because I need to know some info that was sent via text (AND I KNOW IT'S THERE), but it will not come up for that specific contact. I can search anyone else and it will go to the exact date and all, but for this one contact, it will not do it. Is there something I'm missing or may have changed? This contact is a primary contact who I communicate with on the daily.
-
Limit Content Search Webpart to a specific list
Im am getting my feet wet with the Content search webpart, but I am stumbling over something that I believe should actually be easy, but I can't do it nevertheless.
I want to display only items with a certain column entry from a docstore within another sitecollection. I thought of doing this with the Content search web part.
1. In the advanced tab, I can limit the source of the query to a specific site, but not a specific docstore/List either through URL or ID. I simply get 0 results whereas leaving the ListID/ListUrl Parameter out, I get nicely all the relevant docs in the
site
path:"https://domain/sites/am/pm" AND ListID={5329496C-7D13-4417-ABD3-97E6629A32B2} (FileExtension:xls OR FileExtension:xlsx) (IsDocument:"True" OR contentclass:"STS_ListItem")
or another version
path:"https://domain/sites/am/pm" AND ListUrl=https://domain/sites/am/pm/Test_Musterportfolio/ (FileExtension:xls OR FileExtension:xlsx) (IsDocument:"True" OR contentclass:"STS_ListItem")
2. Certain Column entry: I will attempt to do this through creating a list column as a managed property and then take if from there. Found a
nice article in this Forum regarding that that Looks promising.
Any help is appreciated.
RaoulHi Raoul,
According to your description, my understanding is that there was 0 result when you search a library with Content Search web part in SharePoint 2013.
Whether you did a crawl when you used content search web part.
Please go to Central Administration, and do a full crawl for the content source. After crawling the content source , test the query in Content Search Web part, compare the result.
I hope this helps.
Thanks,
Wendy
Wendy Li
TechNet Community Support -
How to get search help for 2nd parameter based on the 1st parameter value
Hi all!
I have 2 parameters (material no, revision level). I have created a search help for revision level. It has an importing parameter :material no. and one exporting parameter : revision level.When I checked it, it's giving the revision values only for the specified.
In my report , I have kept these 2 materials in my selection screen.For revision level , I have added the matchcode object which I have created. When I pressed F4 for revision level, it's giving all the values irrespective of the material no. in the first parameter. How to solve it? Please suggest.Hi,
Try this code filling internal table fields,
DATA: BEGIN OF values,
OID TYPE ZCL_OBJECT-OBJECTID,
ODEC TYPE ZCL_OBJECT-OBJECT_DESC,
END OF values,
W_FIELD(10).
DATA: ZCL_PROJECT-PROJECTID type zcl_project-projectid,
ZCL_OBJECT-OBJECTID(5).
DATA: progname TYPE sy-repid,
dynnum TYPE sy-dynnr,
dynpro_values TYPE TABLE OF dynpread,
field_value LIKE LINE OF dynpro_values,
values_tab LIKE TABLE OF values.
CALL SCREEN 100.
*& Module VALUE_PROJECTID INPUT
text
*MODULE VALUE_PROJECTID INPUT.
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
tabname = 'ZCL_PROJECT'
fieldname = 'PROJECTID'
dynpprog = progname
dynpnr = dynnum
dynprofield = 'ZCL_PROJECT-PROJECTID'.
*ENDMODULE. " VALUE_PROJECTID INPUT
*& Module VALUE_OBJECTID INPUT
text
MODULE VALUE_OBJECTID INPUT.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = progname
dynumb = dynnum
translate_to_upper = 'X'
TABLES
dynpfields = dynpro_values.
READ TABLE dynpro_values INDEX 1 INTO field_value.
W_FIELD = FIELD_VALUE-FIELDVALUE.
SELECT OBJECTID
OBJECT_DESC
FROM ZCL_OBJECT
INTO (VALUES-OID,
VALUES-ODEC)
WHERE PROJECTID = FIELD_VALUE-FIELDVALUE.
APPEND VALUES TO VALUES_TAB.
ENDSELECT.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'OID'
dynpprog = progname
dynpnr = dynnum
dynprofield = 'ZCL_OBJECT-OBJECTID'
value_org = 'S'
TABLES
value_tab = values_tab.
ENDMODULE. " VALUE_OBJECTID INPUT
*& Module INIT OUTPUT
text
MODULE INIT OUTPUT.
progname = sy-repid.
dynnum = sy-dynnr.
CLEAR: field_value, dynpro_values.
field_value-fieldname = 'ZCL_PROJECT-PROJECTID'.
APPEND field_value TO dynpro_values.
IF SY-UCOMM = 'BACK'.
LEAVE program.
ENDIF.
IF SY-UCOMM = 'ANS'.
LEAVE TO SCREEN '0'.
ENDIF.
ENDMODULE. " INIT OUTPUT
START-OF-SELECTION.
WRITE: / field_value-fieldvalue,
W_FIELD.
LOOP AT VALUES_TAB INTO VALUES.
WRITE / VALUES.
ENDLOOP.
if sy-subrc <> 0.
WRITE / field_value-fieldvalue.
endif.
Plzz reward points if it helps -
IW31- How to add Search help for User specific fields in IW31 transaction.
Hi Experts,
I have to add Search help for standard fields USR00 to USR10 fields in IW31 transaction.
Is there any user exit for this requirement.
Please reply, it will be very helpful for me.
Regards,
B. V. RaoBala,
See the following user-exits:
IWO10015: F4 Help for user fields on operation
IWO10016: Customer enhancement to check operation user fields
PeteA
[www.pjas.com]
Maybe you are looking for
-
How can i delete mail with one click
I want to delete all mail without selecting each one individually. In other words a "delete all" button. I understand there is an app that will do this, but I can't find it. Can anyone help.
-
Voiceover recording with Logitec mic
On a Final Cut project: When recording a voiceover, the audio track records a random thud when using the voiceover function with a Logitec mic. This happens unless I reduce the input volume to below optimum levels. Can you suggest some possible adjus
-
Under Site Contents - Where is the add a Page or Web Part Page option.
It seems the only way to add a page to a site is to create a document library first.
-
Custom asserter provider for Atuhentication Basic header.
Hello, Is it possible to create an asserter provider to obtain the basic authentication header? I tried to create it by following the documentation: http://docs.oracle.com/cd/E23943_01/web.1111/e13718/ia.htm But when I configure a proxy from OSB to u
-
ODI Var not being substituted in Jython code
Hi all, I have an option VAR in a interface which value is a variable #A_VAR1 Within a KM, the jython code has the line x = r"<%s=snpRef.getOption("VAR")%>" My Interface is raising an error. I can see in Operator .... x=r"#PROJECT.A_VAR1" If I put in