Sitecore Rocks makes Sitecore developers happy.
Directly integrated into Microsoft Visual Studio 2010/2012/2013, Sitecore Rocks provides a fast and streamlined development experience with tools that developers are used to.
Please explain where the documentation for this actually lives at? I can not seem to get it to do anything and all I'd like is some documentation. The Sitecore rocks wiki is amazingly void of anything even remotely useful at all. Is there something I'm missing?
Among the other many, many steps, I have walked through just to get it to connect, which I could write a book on, the one thing I really wanted to do was to generate entities from my templates. Every single time I try to choose "generate class" (there are 2 of them, by the way), it throws an error. It would be really helpful if I even know what I was doing in trying to generate classes from my templates?
I was wondering if anyone has ever automated the anti-package creation of Sitecore Rocks? I have a CI build of a rather large Sitecore project and I would like to add creating an anti-package as part of the process.
Thanks in advance,
That is an interesting question. It is not designed for that, but you might be able to hack it.
You can call the Hard Rock Web Service's execute method with the typename set to "Packages.CreateAntiPackage". This method accepts the filename of the package to create an anti-package for.
Fire up Reflector and have a look at the class Sitecore.Rocks.Server.Requests.Packages.CreateAntiPackage in the Sitecore.Rocks.Server assembly.
Possibly you can rip out all the code to create your own assembly.
Anyone know why the Tools menu on nodes under a non-locally hosted Sitecore connection would not contain all the items typically available?
I am specifically looking for the Query Analyzer tool; for non-local connections the Tools menu only contains the section containing 'Sites' thru 'Validation', Recycle Bin, and Switch Language.
Thanks for any help.
You are probably using the Good Old Web Service which does not support all features. However to use the Hard Rock Web Service, you need physical access to install additional assemblies in the website. This is for security reasons.
We use Sitecore at work and in trying to keep with the cutting edge I've been attempting to learn SPEAK, however the logs show that only Ultimate and Pro versions of Visual Studio are supported. I try to leave my computer at work for security reasons and can't practice while at home because of this limitation.
Love the idea of Sitecore Rocks but cant seem to connect to local instance. Keep getting the "Could not establish trust relationship for the SSL/TLS secure channel with authority 'localhost'. Remote certificate invalid..."
Here's my setup..
1. local sitecore instance setup in local IIS using :80 & :443. 443 Uses self-signed cert.
2. Content is displayed by just going to http://localhost. Stage is displayed by going to https://localhost/sitecore/login.
3. DB's are remote.
Data provider: Hard Rock Web Service
Host name: localhost OR https://localhost
User name: smu\XXXXXXXX
Any ideas why I cant connect? Is a self-signed cert not enough to authorize connection?
I am no security expert.
I have a clean machine - no weird stuff from our IT department, and it works.
Remote database should be no problem.
Does it work, if you have no certificates installed (I have no idea if is possible to set up, once you do have certificates on your machine).
What happens if you request the /sitecore/shell/webservice/service2.asmx page directly?
Are you running as Windows Administrator? If not, try that.
Are you using Active Directory to login into Sitecore?
I'm using Sitecore Rocks 188.8.131.52 with VS.NET 2012 and am following the YouTube Sitecore SPEAK series - http://www.youtube.com/watch?v=PfnTJsUKxiY
When I add a SPEAK component to a MVC 4 project I am not prompted to select where to place the rendering as in the video.
Am I missing something obvious?
While using the new Sitecore Rocks (184.108.40.206), I ran a query that returned several records. In the results pane I selected all of the rows and then used the context menu (I tried commandy also) to publish all the items. The problem is that only the active (selected) row item is published. For example, I Ctrl+A or Shift+Click to select all, then right-click the first row and do Publish Item, only the first row is published. This also did not work in 220.127.116.11, but I believe this used to work in previous version(s).
I then tried the "publish web from /sitecore/..." query command to publish the items, but this query resulted in all items in the result pane and their descendants to be published (which I did not want).
Is there something I need to do differently to publish all items that are selected in the results pane?
Is is possible to provide the ability to set whether I want to publish items or items + subitems in the query analyzer publish command?
Sorry, I cannot reproduce this. I can select multiple items in the Query Analyzer, click Publish Item and the Job Viewer shows a number of publishing tasks.
>Is is possible to provide the ability to set whether I want to publish items or items + subitems in the query analyzer publish command?
No, not yet - I will add this to my wish list.
I see what my issue is now and how to reproduce. The issue for me is that I have two publishing targets, "stage" and a "prod". If I run a query and do:
select all rows > right-click > Tools > Publishing > Publish Item
it does work as expected, although this publishes to both "stage" and "prod" when I only wanted to publish to "stage". So to publish only to "stage" I did:
select all rows > right-click > Tools > Publishing > Advanced Publishing > Where: = "stage" > click Publish
This second use case is where only the item that was right-clicked on is published.
I'm currently running the Windows 8 update to 8.1 and experiencing a fair amount of difficulty in getting Sitecore Rocks to work properly. The extension works fine until I try to create a new Sitecore connection. It promptly locks up Visual Studio to the point of not responding. I've tried various means of debugging the issue, but each has turned into a wild goose chase. I've uninstalled all my other extensions figuring it was a conflict to no avail.
Finally, I tried installing the standalone Sitecore Rocks for Windows, and this exhibited the same behavior (trying to create a new connection, the program stops responding). Has this at all been tested on 8.1, and could that be the issue? I'd love to get a chance to use this tool.
Just realized my previous reply was rather short. Reinstalling the extension, stopping the IIS and disconnecting all connections (wired and wireless) did not help. I have VS2010, VS2012, and VS2013 installed on the machine (with vs2010 being rarely used). The extension is crashing in VS2012 and VS 2013 (vs2010 has not yet been tested).
I have some difficulties reproducing this.
Could you try 2 things for me:
- Run either Visual Studio as Administor or the Sitecore Rocks Windows as administrator.
- Try installing IIS 6 Management Compatibility in "Turn Windows features on or off".
I have added an option to Sitecore Rocks to disable IIS Integration, but it is a work around.
Looks like installing the vsix from this page and running Visual Studio as Administrator did the trick! Do you know what access rights it might be missing when run in regular mode?
Also another thing, if the Sitecore Explorer window has been left opened while running it as administrator, and the visual studio is closed and reopened as a context user, the IDE will fail to load. To fix that, you have to run it as an admin and close the sitecore explorer window (running the IDE not as an Administrator is sometimes required for installing extensions and updates).
In the *.package file there are some options which I can't seem to edit in Visual Studio.
Do these option work if set properly?
If so, what do I have to enter to implement the various merge modes?
These options along with the more dynamic options are not supported by Rocks since they require SheerUI to get user confirmations.
If you need these options, you need to use the web client.
I am using the following query to filter items whith certain text in the mediapath of an image field:
select @@Name as Name, @@Path, @HeaderIcon, Attribute(@HeaderIcon, 'mediapath') as MediaPath
from /sitecore/content/Parks//*[@@templatename='SocialQuickLink' and Contains(Attribute(@HeaderIcon, 'mediapath'), 'Header')]
order by Path;
I keep getting a timeout message:
"The HTTP request to 'http://my.domain.com/sitecore/shell/webservice/service2.asmx' has exceeded the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout.
The request was aborted: The request was canceled."
1. Is the Contains(Attribute()) chaining causing the query to take too long?
2. What Can I do to increase the 1 minute timeout for just this service?
3. Is there a log or viewer I can monitor as the query is taking place, like you can with SQL Server Profiler?
It is the recursive descendent operator //* that is taking a long time - there is nothing you can do about that.
You can increase the timeout in the connection xml file located in c:\users\[YOU]\AppData\Local\Sitecore\Sitecore.Rocks\Connections.
There is currently no log viewer or monitor.