Amend URL of site
Hi I upload files to a newsite folder during developmental stage and then transfer to another folder but I dont' seem to be able to amend the URL of my site within incontext editing,?
Horsemad,
I think I understand your question. InContext does not update links to files when you move a site page to another folder.
It is probably best to do this in Dreamweaver, as it will give you the option to update all links at once. If you make an editable region within a div, you can create a new link or edit an existing one from the InContext Properties bar. But once again NOT site wide changes.
Hope this answers your question,
-Tom
Similar Messages
-
Usage of relative url across site collections in sharepoint 2010
Hi
I have a webapplication with 2 sitecollections. In one sitecollection, created a link by going to navigation under sitesettings.
Added relative url to map to 2nd site collection. Eg: /sites/site2/page1.aspx
But by doing so, it is giving error. Help me out how to give relative url pointing to different site collection from another sitecolleciton.
Thanks in advance
NainaSay, Site Collection 1 URL: http://sitecollection1.domain.com/
Site Collection 2 URL : https://sitecollection2.domain.com/
Now, on "Site Collection 1", In Site Actions-->Site Settings-->Navigation, when you use "relative URLs", it will always refer to the current Site Collection i.e Relative URL "/sites/site2" will always be "http://sitecollection1.domain.com/sites/site2".
Anyways, what is the "requirement". What are you trying to solve by using "relative URL" for Site Collection 2 on Navigation of Site Collection 1. Reason for asking is, there might be different approach for your "requirement".
Naveed.DG MCITP, MCTS -SharePoint 2010 Administrator "Vote As Helpful" If it helps!! -
I have a 2009 MacBook Pro running Snow Leopard.
I use Firefox v3.6.3
I don't recall when this happened, or what I could have done to cause it. In the area at the top of the FF window, where the URL is displayed, I have two fields. A small one that is labelled "mozilla.com" with a drop-down menu to the right of it. If I click on the drop down I see a list of websites and their URLs. This may be places I have been, but definitly isn't the most recent sites I have visited. Then to the right of that, taking up more than half of the width of the page is a filed where I can type something to search. There is also a drop down menu at the left end of the field, where I can select what Search Engine I want to use. I can manage that list - add or delete search engines. I prefer to use the standard search window, and be able to see the URL of what ever page I am at. Help!!!Try to place the mouse between the small location bar and the large search bar. The mouse pointer should change to a resize pointer that you can drag to the right by pressing the left mouse button to make the location bar wider.
-
RRCPT does not add the URL (update sites) when run the AUT.
Hello,
I would like to ask two question:
1 ) Why RRCPT not add the update sites url of my Eclipse when running it through RRCPT.
I have checked it by running the APP without RRCPT and the urls are ok (by default), but not when running it with RRCPT.
Is it a bug or am I missing something? I have attached a screenshot of both situations in order to clarify.
2) Is there a problem when a make a test which restart the AUT? Basically, when I run this kind of test, the AUT does work similar as the first run.
Regards,
Agustin CelentanoHi Ulyana,
2) When I restart the AUT through a test, I get this exception.
Failed to close report node
java.lang.NullPointerException
at restart-studio (/studio-q7-sanity/recorder.test:1)
Connection is not Available
Stack Trace: Connection is not Available
java.io.EOFException
at java.io.DataInputStream.readByte(DataInputStream.java:267)
at org.eclipse.rcptt.ecl.internal.core.EMFStreamPipe.take(EMFStreamPipe.java:91)
at org.eclipse.rcptt.ecl.client.tcp.EclTcpSession.writeOutput(EclTcpSession.java:199)
at org.eclipse.rcptt.ecl.client.tcp.EclTcpSession.access$6(EclTcpSession.java:196)
at org.eclipse.rcptt.ecl.client.tcp.EclTcpSession$1.run(EclTcpSession.java:96)
at java.lang.Thread.run(Thread.java:745)
It seems to lose the AUT connection
Regards,
Agustin Celentano -
Creating top level shortcuts (Vanity URLs) in Site Studio
At our university, we have over 70 academic programs (many with very long names). I'd like to create shortcuts (vanity URLs) to from promotional purposes that will send visitors to the proper area of our site.
In advance, thanks! :-)Have you considered using the WebURLMapPlugin feature of UCM?
This would let you map a call to the SS_GET_PAGE service call e.g.
biology/ -> <!--$cgipath-->?IdcService=SS_GET_PAGE&siteId=mySite&nodeId=500
physics/ -> <!--$cgipath-->?IdcService=SS_GET_PAGE&siteId=mySite&nodeId=501
This should (not tested) work as long as your siteId's do not clash with these shortcuts but might require some tweaking.
Tim -
How to get RSS feed url for site?
Is there a way to get the RSS feed url for a blog using Safari? I'm currently using FF for this since it is very simple. But that's about the only reason I use FF. Would be nice not to need two tools.
I don't want to subscribe to the site in Safari. I have an RSS Reader app that I plug the url into. I just want to see the url.For some reason they removed that handy feature from Safari. But, there is an Extension called RSS Menu, which will add a button on your toolbar, giving you that function back.
-
How to edit the url of sites in new tab page of firefox
If we open newtab in firefox 9 tabs are visible. How to edit the url address of the previously pinned tab.
I found solution for this problem.
1. Type ''about:config'' in firefox url and click enter.
2. An alert will be shown on click on "I'll be careful, I promise!" button.
3. Type ''browser.newtabpage.pinned'' in textbox and click enter.
4. Right click and select '''Modify''' option to edit the url address.
''I want to change this url address''
[{"url":"http://localhost:8080/Admin/login","title":null},]
After change the url address in firefox is
[{"url":"http://localhost:8080/Admin","title":"Admin"},] -
Javascript : How to retrieve OneDrive Site URL
I am trying to access Personal Site URL (OneDrive Site) using below code. Is it possible to retrieve the URL of the site?
//Get Current Context
var clientContext = new SP.ClientContext.get_current();
var profileloader= SP.UserProfiles.ProfileLoader.getProfileLoader(context)
var profle = profileloader.getUserProfile();
var oSite = profle.get_personalSite();try this:
function getPersonalUrl() {
var context = SP.ClientContext.get_current();
var peopleManager = new SP.UserProfiles.PeopleManager(context);
userProfileProperties = peopleManager.getMyProperties();
context.load(userProfileProperties, 'PersonalUrl');
context.executeQueryAsync(success, fail);
function success(){
var mySiteUrl = userProfileProperties.get_personalUrl(); -
Hi Community
I have an issue on a live SP2013 farm that is really causing me grief. Although I ( Farm Admin) and my other users can follow items which are subsequently confirmed in our respective News Feeds -
none of my users are are actually getting emails notifications .
Alerts ( did) work fine.
I have written some PS to vew and set the SPS-EmailOptin for each user
$up[$upManagerAttribute].Value = $managerNTName
# check if the email check boxes are unchecked '1' then if so check all
write-host -fore white "User Profile for user"$NTName "Now has email opt in currently set to" $up[$upEmailOptin].Value
if ($up[$upEmailOptin].Value -gt 0)
$up[$upEmailOptin].Value = 0
write-host -fore white "User Profile for user"$NTName "Now has email opt in all checked."
Very few are unchecked. $up["SPS-PrivacyActivity"].Value = 4095 is set for all users as in
the the privacy settings on the newsfeed are all checked
For my currrent client I set up a development intranet which had the seperate web apps for the main portal and mysites. Test users were able to follow documents, sites without any problems. Before go live I was asked to accomodate a requirement
where there is only one web application (don't ask!) effectivley http://myintranet
so mysites sits under http://myintranet/mysites . I made the appropriate changes to my AutoSPInstaller scritpt and al appearedd l good : services , Service appplications, mysites are all started. I am using
the two app pool accounts one for the portal and one for mysites.
A quick look at the the releated threads on this forum indicated permssions could be DB permissions related tho I am not seeing anything in ULS to strongly point to this
$webApp = Get-SPWebApplication http://myintranet
$webApp.GrantAccessToProcessIdentity("mydomain\SP_ProfilesAppPool")
- checked and SPAcess Data is given to the mysites app pool accout to the portal web app .
I am seeing some odd errors in ULS
Ignoring the space ' critical' warning which I have flagged up to Ops and I doubt is my real problem. The errors I see that are related are :
System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002), StackTrace:
at Microsoft.SharePoint.SPWeb.GetList(String strUrl)
at Microsoft.Office.Server.Microfeed.MBUtilities.GetPublishedFeedListPrivate(SPWeb web, String relativeUrl)
at Microsoft.Office.Server.UserProfiles.FollowedItem.CreateFollowedSite(SPWeb site, FollowedItemData data)
at Microsoft.Office.Server.UserProfiles.FollowedItem.Create(SPSite site, SPWeb existingWeb, Uri url, FollowedItemData data)
at Microsoft.Office.Server.UserProfiles.FollowedItem.RecreateByReferencedItem(SPSite site, SPWeb web)
at Microsoft.Office.Server.UserProfiles.FollowedContent.RefreshFollowedItem(FollowedItem item, SPS2SAppExecutionPolicy policy)
at Microsoft.Office.Server.UserProfiles.FollowedContent.Follow(Uri url, FollowedItemData data)
at Microsoft.Office.Server.UserProfiles.FollowedContentServerStub.InvokeMethod(Object target, String methodName, XmlNodeList xmlargs, ProxyContext proxyContext, Boolean& isVoid)
at Microsoft.SharePoint.Client.ServerStub.InvokeMethodWithMonitoredScope(Object target, String methodName, XmlNodeList args, ProxyContext proxyContext, Boolean& isVoid)
at Microsoft.SharePoint.Client.ClientMethodsProcessor.InvokeMethod(Object obj, String methodName, XmlNodeList xmlargs, Boolean& isVoid)
at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessMethod(XmlElement xe)
and
5b93b0ef-b1ff-437d-b674-5285be9b9395 Stack trace:
at Microsoft.SharePoint.SPSite.InitUserToken(SPRequest request)
at Microsoft.SharePoint.SPSite.SPSiteConstructor(SPFarm farm, Guid applicationId, Guid contentDatabaseId, Guid siteId, Guid siteSubscriptionId, SPUrlZone zone, Uri requestUri, String serverRelativeUrl, Boolean hostHeaderIsSiteName, SPUserToken userToken, Boolean appWebRequest, String appHostHeaderRedirectDomain, String appSiteDomainPrefix, String subscriptionName, String appSiteDomainId, Uri primaryUri)
at Microsoft.SharePoint.SPSite..ctor(SPFarm farm, Uri requestUri, Boolean contextSite, Boolean swapSchemeForPathBasedSites, SPUserToken userToken)
at Microsoft.SharePoint.SPSite..ctor(SPFarm farm, Uri requestUri, Boolean contextSite, SPUserToken userToken)
at Microsoft.SharePoint.SPSite..ctor(String requestUrl)
at Microsoft.Office.Server.UserProfiles.SPS2SAppUtility.TryOpenWeb(Uri url, SPSite& site, SPWeb& web, Boolean& inSPContext)
at Microsoft.Office.Server.UserProfiles.SPS2SAppExecutionContext.InitializeForSite()
at Microsoft.Office.Server.UserProfiles.SPS2SAppExecutionContext.EnsureInitialized()
Also, I am testing with my account which does have all the mysites newsfeed options checked in the CA -> UPA ->"Manage User Profile"
Anybody seen this whilist I follow the where those exceptions take me.
Freelance consultantHi,
Thank you for your question. I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience. Thank you for your understanding and support.
Thanks,
Linda Li
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Linda Li
TechNet Community Support -
URGENT - Posting a XML file to a listener URL
Hi all,
I have a situation like this: A servlet Client should post a XML file
to a listener URL, and the listener responds back with a XML file
after the processing the posted XML file.
1. Before posting, the servlet client should establish a session with
the server on which the listener URL is sitting and the Server will
return a cookie with the authentication credentials to the servlet
client.
2. That cookie should be added to the HTTPResponse and then the
posting of the file should happen.
The first part is happening okay ..and i could add that cookie to the
HTTPresponse.
Now, did anyone successfully post a XML file to a listener URL like this from a servlet?
I tried using URLConnection, but my cookie got lost and i got back a 401 error. The key there is i should use the same HTTPrequest and HTTPresponse objects, as the cokie needs to be retained!
Any example code please!!
thanks a lot
RoxThanks for your response, but i dont think using authenticator would work. To tell you exactly what is happening there, the url to which the sevlet posts the XML file is protected by Siteminder ( a Enterprise securty platform) and all it requires is a cookie with authenticated credentials on the httprequest/httpresponse objects which are trying to post to that URL. If it find the cookie with the credentials, then the requestor will not be challenged for credentials.
Here is what i am doing:
String urlString = "http://webservicesURL.com/ws";
Cookie SMSESSION = setSMSession();
if(SMSESSION != null)
response.addCookie(SMSESSION);
System.out.println("\n..Cookie confirmation..\n"+SMSESSION.getName()+" : "+SMSESSION.getValue());
URL u = new URL(urlString);
URLConnection conn = u.openConnection();
conn.setDoOutput(true);
conn.setDoInput(true);
conn.setRequestProperty(SMSESSION.getName(),SMSESSION.getValue());
OutputStream out = conn.getOutputStream();
BufferedReader in = new BufferedReader(new FileReader(file));
while((s = in.readLine())!= null)
xml_line = xml_line+s;
writer.println("The XML file is ..\n");
writer.println(xml_line);
writer.println("\n\n\n");
out.write(xml_line.getBytes());
InputStream ins = conn.getInputStream();
when i execute the servlet, i get a tomcat error 401 on the last line above.
So the new URLConnection that is being opened, is not carying the credentials with it, or the siteminder is unable to read the credentails from the URLConnection. But i am positive that it can read the credentials from the cookie from the HttpResponse object.
Do you have any more ideas, please?
thanks -
How to restore a site deleted from SharePoint Designer 2010
Hi All,
I have opened a test server site in share point designer 2010, & deleted that particular site in SP designer 2010,can anyone let me know how to restore the site by using SharePoint Designer?
I followed below mentioned procedure to restore the site using SharePoint Designer
Open SharePoint Designer, File tab, Sites under File Tab, Open site, specified the URL of site,opened..
It is getting connected to the Organisation network & showing "path does not exist,check the path and try again".
Whether, Is it possible to restore the site deleted from share point designer in site collection recycle bin. or
Is it possible to copy the site from Production server to test server.
Waiting for an response at the earlier.
Thanks in Advance.
BadriHi Badri,
1.You could not restore site deleted from SharePoint designer in site collection, you can only restore the site deleted from
UI in site collection recycle bin, deleted from end user recycle bin.
2.You can export the site from production server, then import it to test server.
http://technet.microsoft.com/en-us/library/ff607895(v=office.14).aspx
Best Regards.
Kelly Chen
TechNet Community Support -
Deleting iweb site from mobileme
I have moved my web site to a new hosting service. All OK.
However, I realise now that I did things in the wrong order really. I wanted to leave a stub on the old MobileMe site redirecting my audience. I did this by deleting my website from MobileMe on my iDisk (I stupidly did not delete the index.html file - but have realised my error and redeleted my 'new' stub website and the index.html file and then republished. Even though I gave the site the same name as my old site MobileMe has insisted on changing it by taking off the last letter and adding _1, so that when anyone tries to visit the old site they just get a whole lot of stuff from MobileMe which is not useful.
I realise now I should first have duplicated my site - given the duplicate a new name and published this to the new host, deleted all the pages from my original website except the new Home page, and republished this to MobileMe. Alas I did not do this. Is there any way of getting my 'new' marker website to publish to the original MobileMe address?
I guess it's no big deal really. Mine is not a major website - it's just a family history website (now at www.dearmanmollett.id.au - originally http://web.me.com/dearmanmollett/Dearman_Mollett_Family ( think)) After all MobileMe will make it all disappear anyway on June 30 I assume - but I would really like to delete all trace of the former website except for a marker site redirecting traffic.
Hoping at the very least that my problem will help others.You could replace the first page of the old site on MMe with a blank one containing an HTML snippet with the following code:
<script type="text/javascript">
parent.window.location = "URL TO SITE YOU WANT TO REDIRECT TO"; </script>
Thanks to Cyclosaurus for this code
When a visitor lands on the page they will immediately be redirected to your new website.
OT -
Multiple sites on CRM-ISA web proxy IIS
Hello,
We're upgrading to CRM v6 (2007), with Internet Sales / Web Channel B2B in scope. As part of the system landscape, we have a Windows server running IIS acting as a web proxy.
Now, the question is, can we share this web proxy so that it works for multiple sites?
We would like to put the Dev and the QA CRM systems to both use the same web proxy, which would have two sites configured in it.
Has anyone done this before? Success or fail? I could not find any docu from SAP telling whether or not this would work.
Also are there any requirements for the version of the IIS?
We're currently on Win2k / IIS v5 but are going to Win2003 / IIS v6.
Thanks and Regards,
RasmusI figured it out:
You need to change which URL the site responds to under the 'Aliases' section.
I haven't seen this anywhere else, so I hope this will help someone along the line... -
I have included JS file in command Action Using below command
<CommandUIHandlers>
<CommandUIHandler
Command="EnableCustomGroup"
CommandAction="javascript:return true;" />
<CommandUIHandler
Command="CustomGroupHelloWorld"
CommandAction="javascript:openPopup();" />
</CommandUIHandlers>
</CommandUIExtension>
</CustomAction>
<CustomAction Id="Ribbon.Library.Actions.Scripts"
Location ="ScriptLink"
ScriptSrc="/_layouts/15/images/Scripts/Popup.js" />
It was working fine now I am embeding my project to Development Project in which we have divided the Modules in to two different projects One project with all Branding work including all CSS and JS files (including the above Popup.JS file) which once deployed
and the js file is residing in Style Library.
The Second project has the Command Action to call the JS file which is already residing in Site (Style Library) I am unable to refer that file path I tried using "/Style Library...... Popup.js" and also the full URL "http://site collection/style
Library/... Popup.js" just to make sure if it is working or not. But it is throwing error saying file is not found. Can anyone help me how to refer the file what source URL should i give. Thanks in Advance
Thanks and Regards,
Raj Kamal Singh RathoreHi,
According to your description, my understanding is that you want to reference the custom JavaScript file which stored in the style library in custom action.
I suggest you can reference the js file using the relative path of Style library like below:
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<CustomAction
Title="test"
ScriptSrc="~SiteCollection/Style Library/jquery-1.11.2.min.js"
Location="ScriptLink"
Sequence="100"
>
</CustomAction>
More information:
Referencing JS files using CustomAction element
Thanks
Best Regards
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] -
Powershell to add/delete content type to particular library alone in a site collection
Hi,
I am trying to add and delete content type from a particular picture library (site collection) using powershell.
I have tried the below, but it is not working.
Below scenarios are not working:
1) If the content type to be added is there in library, then the loop is still moving to "No content type exists".
2) Content type is not getting deleted from library
3) Set the newly added content type as default content type.
Below is the powershell, which I am trying:
function ChangeContentType($url)
$site = Get-SPSite($url);
$web =$site.RootWeb
$lookForList = "PicLibrary"
$lookForCT = "Img1ContentType"
$lookForRemoveCT = "Image2CT"
write-host "Checking site:"$web.Title
#Make sure content types are allowed on the list specified
$docLibrary = $web.Lists[$lookForList]
if ($docLibrary -ne $null)
$docLibrary.ContentTypesEnabled = $true
$docLibrary.Update()
if (($web.ContentTypes | where { $web.Name -eq $lookForCT }) -eq $null)
write-host "No content type exists with the name" $lookForCT "on list" $docLibrary.Title
#Add site content types to the list
write-host "Adding content type " $lookForCT "on list" $docLibrary.Title
$ctToAdd = $web.ContentTypes[$lookForCT]
$ct = $docLibrary.ContentTypes.Add($ctToAdd)
write-host "Content type" $ct.Name "added to list" $docLibrary.Title
$docLibrary.Update();
else
write-host "content type exists with the name" $lookForCT "on list" $docLibrary.Title
#Remove Content type
if (($web.ContentTypes | where { $web.Name -eq $lookForRemoveCT }) -eq $null)
write-host "No content type exists with the name" $lookForRemoveCT "on list" $docLibrary.Title
else
$ctToRemove = $web.ContentTypes[$lookForRemoveCT]
write-host "Removing content type" $ctToRemove.Name "from list" $docLibrary.Title
$docLibrary.ContentTypes.Delete($ctToRemove.Id)
$docLibrary.Update()
else
write-host "The list" $lookForList "does not exist in site" $web.Title
#Dispose object
$site.Dispose()
$web.Dispose()
How to fix this?
ThanksHi,
Thanks for the reply.
I checked it. If the script is run multiple times, the add and delete content type will throw error.
How to delete content type? I have tried the below:
$docLibrary = $web.Lists[$lookForList]
if ($docLibrary -ne $null)
$docLibrary.ContentTypesEnabled = $true
$docLibrary.Update()
#get the content Type
Write-host "Getting content type $lookForCT in site $web"
#Confirm that the content type exists.
$contentType = $web.ContentTypes | where {$web.ContentTypes.Name -eq $lookForCT}
##Abort if not found.
if ($contentType -eq $null)
Write-host "$lookForCT not found in site collection."
else
if ($web.ContentTypes.Name -eq $lookForCT)
Write-host $docLibrary.ContentTypes.Name
if($docLibrary.ContentTypes.Name -eq $lookForCT)
write-host "Content type $lookForCT is already added to list" $docLibrary.Title
else
write-host "No content type exists with the name" $lookForCT "on list" $docLibrary.Title
write-host "Adding Content Type"
$ctToAdd = $web.ContentTypes[$lookForCT]
$ct = $docLibrary.ContentTypes.Add($ctToAdd)
$docLibrary.Update()
write-host "Content type" $ct.Name "added to list" $docLibrary.Title
#get the content Type
Write-host "Getting content type $lookForRemoveCT in site $web"
#Confirm that the content type exists.
$contentType = $web.ContentTypes | where {$web.ContentTypes.Name -eq $lookForRemoveCT}
##Abort if not found.
if ($contentType -eq $null)
Write-host "$lookForRemoveCT not found in site collection."
else
if ($web.ContentTypes.Name -eq $lookForRemoveCT)
Write-host $docLibrary.ContentTypes.Name
if($docLibrary.ContentTypes.Name -eq $lookForRemoveCT)
write-host "Content type $lookForRemoveCT is added to list" $docLibrary.Title.
write-host "Removing Content type $lookForRemoveCT"
$ctToRemove = $web.ContentTypes[$lookForRemoveCT]
$docLibrary.ContentTypes.Delete($ctToRemove.Id)
$docLibrary.Update()
else
write-host "No content type exists with the name" $lookForRemoveCT "on list" $docLibrary.Title
I am getting error in delete now. Error is "Exception calling "Delete" with "1" argument(s): "Specified argument was out of the range of valid values.
Parameter name: id"
Thanks
Maybe you are looking for
-
How to add a field object to group header section in crystal report document?
Hi All, I have got two questions mentioned below, please share your inputs. 1)I want to know whether it is possible to add a field object to header section in crystal report document programmatically? I am using crystal runtime for visual studio. I k
-
I just got a new router from ATT and I cannot get my pinter to connect it fails at no filtering
I have a Envy 100 e-all-in-one D410a printer. Every time I try to connect, it finds the wireless SSid name, then I enter the WPA password, it tries but then fails. It fails on the no filtering. The router is an ATT Westell. This question was solv
-
I have pictures of the pop up to send you.
-
Starting and Stopping Server from Administration Console without using system ID
Hi, I tried to create another user in the ACL and add it to the Administrators group. When I connect to the admin console using this user I receive error message NoAccessRuntimeException. Can anybody show me how ti configure user to access the consol
-
Background in slideshow...
Hello wise ones, Is it possible to put a fixed background image in my slide show? In the slideshow timeline i see there are more than one video tracks but i can only activate one... is there a way?