Sitecore Rocks makes Sitecore developers happy.
Directly integrated into Microsoft Visual Studio 2010, Sitecore Rocks provides a fast and streamlined development experience with tools that developers are used to.
I know I can use the following syntax to publish Items, but how do I set the publishing target?
publish from /sitecore/content//*[@@templatename='Sample Item']
Thanks,
//Jose
Hi Jose. I gave you the same reply on SDN. Here is the reply for people, who do not have access to SDN:
This is not supported in 0.7.9, but I have just added it to 0.7.10.
In 0.7.10, you can write:
publish Internet, Extranet from /sitecore/content/Home
Hi Jakob,
I downloaded the latest version of SiteCore express edition and installed on Windows 7 64 bits from the setup and I installed also the SiteCore Rocks Visual Studio plugin in Visual Studio 2010 Ultimate. I can connect with the both web services (Good Old & Hard Rock) but when I try to edit an item or make any action on the SiteCore Explorer tree using the Hard Rock Web Service I get the following error:
System.WebServices.Protocols.SoapException: Server was unable to process the request. --> System.TypeLoadException: Could not load type 'SiteCore.Extensions.StringExtensions.StringExtensions' from assembly 'SiteCore.Kernel, Version 6.0.0.0, Culture=neutral, PublicToken=null'.
Also, it seems that the server components update is not working.
Please tell me what can I do.
Thanks,
Claudiu
I'm having the same problem. Has anyone else seen this and is there a fix for it??? It seems to be a issue with the web service. Here is the error message I get back:
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Sitecore.Rocks.Server.Requests.Items.GetItemFields.GetFieldRoot(XmlTextWriter output, Field field)
at Sitecore.Rocks.Server.Requests.Items.GetItemFields.GetFields(XmlTextWriter output, Item item, Boolean allFields)
at Sitecore.Rocks.Server.Requests.Items.GetItemFields.Execute(String id, String language, String version, Boolean allFields, String databaseName)
at Sitecore.Visual.Service2.GetItemFields(String id, String language, String version, Boolean allFields, String databaseName, Credentials credentials)
--- End of inner exception stack trace ---</faultstring><detail /></soap:Fault></soap:Body></soap:Envelope>
Specifically for me to get this I try to open a user defined template and the error comes up in VS2010. Also other actions produce it so its just not related to me opening a user defined template.
Thanks,
Scott
Hi Claudia and Scott
Sorry Claudia, I have completely missed your question.
It looks like Sitecore Rocks is not compatible with Sitecore Express. Do you know which version of Sitecore, you are using? As far as I know Rocks works with Sitecore 6.2 and up, and I hope that Sitecore Express is based on the latest version.
Hi Jakob,
not sure if this is the best place to report a bug but i can't find anywhere to contact the sitecore rocks devs - probably worth looking into making this more prominent - i'll just post it here.
After recently upgrading to the latest sitecore rocks version i have noticed that when you generate an update script for a sublayout the query is syntactically incorrect by default. Note that this doesn't seem to be the case for other types of item.
update set
@#Path# = '/layouts/MySite/SomeSublayout.ascx',
@#Placeholder# = 'content',
@#Open Properties After Add# = '-',
@#Cacheable# = '0',
@#VaryByData# = '0',
@#VaryByDevice# = '0',
@#VaryByLogin# = '0',
@#VaryByParm# = '0',
@#VaryByQueryString# = '0',
@#VaryByUser# = '0',
@#__Editors# = '{302510E9-5F92-48A8-AABC-3FD4F2464084}',
@#__Owner# = 'sitecore\kherskind',
from /sitecore/layout/Sublayouts/Confused/Grids/#Grid Landing Page#;
if you notice there is a comma at the end of the line before the "from" statement. This causes a parsing error when you attempt to run. This cause me a lot of confusion, so it would be nice if it could get fixed to save others the same hassle!
Thanks for an otherwise great product,
Nick
Hi
The ability to edit multiple items i great.
I have just encountered a bug/missing feature.
I have a lot of items which I want to change the template for. Now when you choose multiple items, it says N/A in the template field, although you can still choose a template. Doing so will change the template on one of the items but not the rest. Which one seems random.
Can this be done with Rocks?
Hi MrMoog. There is a plugin in the Plugin Repository which does this, I think. It is pretty old, and I don't know if it still works. Otherwise you could try either the Query Analyzer or Sitecore PowerShell.
I'm trying to use the Hard Rock Web Service in my web app, but the site doesn't allow anonymous authentication, it uses windows authentication. How do you specify an authentication type other than anonymous when setting up a new sitecore connection in Visual Studio?
Hi Brainiac10
The connections are stored as files in .../AppData/Local/Sitecore/Sitecore Rocks/Connections. There are a lot of parameters, so you should be able to setyup Windows Authentication. Let me know if it does not work.
Hi, I have some problems when I drag in image from the media library (in the Sitecore Explorer) and into the "Drag Image Here" square. When I look at the field in the regular Sitecore Content Editor the image is displayed but the src just above is blank and I can't get the src or alt data in my xslt rendering.
If I browse and selects the image in the Content Editor it works. (I get an error in the Content Editor that the image contains broken links when I open the item just after I added the image in the Sitecore Explorer and then saved the item.)
Have I missed something or is this a small bug?
Sitecore Rocks really do rock!
Hi. It sounds to me like you are not saving the item after dragging the image onto the field, or you are using the Good Old Web Service. Could you precisely describe what you are doing, so I can determine if it is a bug or not. Thanks.
Hi. I tested again and the error is still there when I save the Item. I use the Hard Rock Web Service. I selected "clear" on the image field (in sitecore rocks), saved the item. Dragged an image to the field and saved again. When I then open the item in the Content Editor the src is blank but the image is shown (and I don't get the src and alt content in my xslt rendering). I use Sitecore 6.1.
Jacob, I've installed 0.7.6 while VS was running. Everything seemed to work, but I could not edit. I restarted VS, still could not edit. Modified my connection, changed to Sitecore Rocks WS, and still could not edit. I restarted VS, could not edit. I rebooted, and I still cannot edit. My co-worker can access the site and edit items.
Hi Rick. Could you try to run Visual Studio as Administrator? This has helped other people. I assume that you can see the Sitecore Explorer, but you get no context menu when right-clicking, right?
Jacob,
My co-worked told me to try running as Administrator. I assumed I was, as it said (Administrator) in the Title bar. However, when I specifically ran VS as Administrator, it worked! I can now edit items.
Sitecore Rocks Rocks!
Thank You!
-Rick
I just installed Rocks on my machine, and I am trying to create a connection to a remote sitecore instance. Do I need to have a drive mapped to the remote server, or is there another way? I can map a drive if neccessary, but not sure if that is the correct or best practice to get the web service on the remote box.
Thanks,