How can I display the Database tool in WebStorm? - webstorm

How can I display the Database tool in WebStorm?

You can use the database features inside WebStorm if you have Database Tools and SQL
plugin installed in Preferences/Settings | Plugins.
For individual users the plugin costs $3/month or $30/year; for organizations it’s $7/month or $70/year.
Users with the active All Products Pack
or DataGrip subscriptions can use the plugin at no additional cost.
See https://blog.jetbrains.com/webstorm/2020/09/support-for-database-tools-and-sql-inside-webstorm/ for more info

Related

Does Sitecore Personalize replace my current Sitecore CMS

we currently use Sitecore 9.x CMS and are looking to adopt Sitecore Personalize/CDP
Does Sitecore Personalize/CDP replace our Sitecore 9.x CMS or do they work together
If it is a replacement then our Project Managers have a bigger job on their hands than they currently think
thanks
Sitecore Personalize/CDP is not a CMS. It's a CDP, Customer Data Platform.
You use it for personalization, profiling and can use that to create various experiences directly - or use it to feed that data to other systems as well as gathering data from other system so you get a full view/profile of the users/customers.
You should more compare sitecore CDP to personalization in Sitecore XP/xDB.
So you can use Sitecore CDP with you current Sitecore XP is you want to. Note that Sitecore CDP can be used with any platform basically, also non-Sitecore.

How can develop module in Sitecore?

I have started Sitecore learning few months ago.That time first question come in my mind is that how can I develop module? but can not able to find documentation. Can anybody provide me documentation how can I develop custom module?
If you mean you would like to create a module for the Sitecore marketplace, as others have done, then the process is fairly simple.
Write your code (ASCX, ASPX, CS, JS, etc.)
Create your Sitecore items (Layouts, renderings/sublayouts, custom buttons, etc.)
Create your configuration files (if necessary) for the App_Config\Include folder.
Build your solution and test it in a Sitecore instance locally.
Package the published files and item together using the Sitecore packaging utility.
Contribute your module on the marketplace and upload the package for review.
What you are hoping to achieve here is that another person could grab your package, install it on their system, and be able to use it without needing to recompile your source code.
If you want to develop a module, come up with the idea and then build it.
You can then submit it to the Sitecore a Marketplace under the contribute section.
https://marketplace.sitecore.net/Contribute.aspx?sc_lang=en
Typically you'll submit a package to this section and documentation on how to setup and use the module.
Sitecore will then test the module and inform you whether it is suitable for the marketplace. Your module will then be published on the marketplace ready for others to download.
When developing your module you should consider compatibility with Sitecore versions, and you should also test it thoroughly.
Here's some more info on best practices when building modules:
https://kb.sitecore.net/articles/831724

TeamCity integration with Sitecore CMS

Is there any out-of-the-box feature available to integrate Sitecore CMS with TeamCity? I checked the list of runners available, but I don't seem to find any.
My customer has a ASP.NET project and uses Sitecore CMS for the website. I am trying to build a pipe to automatically trigger a build at a certain time of the week and deploy to Sitecore. Any help is appreciated.
Deploying Sitecore is much like deploying any standard .NET web application, except for the content.
I've written a blog post on automating your deployments with TeamCity and Team Development for Sitecore (TDS). You can ignore the TDS-specific information if you are looking just to push the code. However, if you plan on deploying content items immediately, TDS is helpful for that.
There is also a post by Jason Bert that covers using OctoDeploy with TeamCity and TDS for continuous deployment.
You may want to just start by setting up a standard .NET MSBuild step and then deploying the build of the code out to your site. That will get you started and then you can begin to tweak from there and choose which other tools will fit your needs.

Redmine project data for all projects

I am working on creating a dashboard which would access Redmine project data. This dashboard will be a consolidation of project data (delivery date, manager, start date, total issues, open issues, closed issues, bug count etc.) for all projects in the Redmine database.
Any ideas on how to do this? An SQL query to achieve this would be a good start. I have Redmine setup on my local system and can access the Redmine database.
I plan on creating an HTML5 .Net based web application. Once I figure out the queries to be used, I would write an IIS (or REST) service to fetch the desired data from the Redmine production database.
Any help/pointers would be deeply appreciated.
Regards,
Pranjal
You have basically three options:
use the REST API
develop a redmine plug-in
do some custom SQL stuff
REST API
The best you could do is to use the redmine REST API. Using it, you can fetch the data directly from redmine without any SQL queries or manipulating the server. It should even work when the redmine server is updated.
Redmine Plug-in
The next best thing is probably to develop a redmine plug-in. Your plug-in can access redmine classes (Project, User, etc.). For example, you could do something like Projects.all.map {|p| [p.id, p.identifier]} to get the id and identifier of all projects in an array. This approach is way more powerful than using the REST API, but you have to modify the redmine server (install and maintain your plug-in). A plug-in is probably more fragile when redmine changes internal structures, than the REST API.
Custom SQL stuff
I do not recommend developing custom SQL solutions, but it is an option. Such a solution is harder to develop, more fragile, harder to set up, but might offer better performance.
You can see the the redmine database structure listed in db/schema.rb. Having the right schema, you could develop your custom SQL queries and return them to your dashboard.
Think about security
Apart from the usual security stuff (which you should consider too :)), remember that redmine has a rich permission system. Consider which object you make (publicly) available. This is most important for the last two options. When using the plug-in approach, you should have a look at the User#allowed_to method.
With the little information I have about your requirements, I have the feeling that you should go for the REST API.

Sharepoint 2010 RTM alerts templates

I'm trying to modify and set alert templates on a SP (working on a copy of alerttemplates.xml), but I'd like to deploy them just on some specific sites, not the whole farm. Is this possible? I'm using SharePoint 2010 RTM.
Thanks
Changes take effect at the site collection level (aka top level site) and include all subsites in them
stsadm -o updatealerttempaltes
If you want more granular control you would have to look into IAlertNotifier, workflow or various 3rd party apps.
SO - Customise SharePoint Alerts