How to set the default theme value while creating new user in Vtiger CRM? - vtiger

In Vtiger 6.4 while creating new user (xyz.com/index.php?module=Users&parent=Settings&view=Edit) there is a dropdown to select theme. It is defaulted to the "softed".
I want to change it to my custom theme. I tried to search the View file for this but could not find it anywhere.

Default value set at database level so can you please use below sql query
UPDATE vtiger_field SET defaultvalue = 'Nature' WHERE vtiger_field.columnname = 'theme';

Related

List column(Text) not saving/showing data after setting attribute multiple=true on Attachments control so to enable uploading multiple Files at a time

By default we can only upload one file at a time so I followed solution given here(https://www.c-sharpcorner.com/article/attach-multiple-files-to-sharepoint-list-item-with-default-attachment-of-new-for/). Now I am unable to store RFI No column(text). It maybe stores value on form submit but the value does not show. Following is my column setting:
List view and inspect element:
I simply added the code in NewForm.aspx which works and enables user to upload multiple files but now New Item form does not save RFI No value which is not in anyway dependent on Attachments field
If I log the value of RFI No column to workflow history list through Workflow it is showing the saved value there..
If so, the value is saved in the RFI No column. Looks like there are some code in the list view page which hided the column value, that's why the value does not show.
You could click Edit page in the site settings to check if there are script editor or content editor web partin the view page.

I am unable to migrate data into the Sitecore/Content Field items through GatherContent module

I am unable to fill data into the Sitecore/Content Field items through GatherContent module in Sitecore for content gathering mapping to Sitecore items.
I am unable to migrate the Home data items from Gathercontent to the sitecore/Content/Home data items.
I mean to field to field level data mapping or sharing.
Kindly prefer the below images.
I want to migrtate GC(Gathercontent)home item title and text data into
Sitecore fields Home items title and text.
Thanks in Advance.
I got the solutions.
In content migration from Gather content to sitecore items , doesn't
directly map with the already created Sitecore items,it create new
items to the Sitecore with new GC Content Id:,GCPath
[shared]:,MappingId: and Last syn date.
kindly prefer the below image
just update this all same data with the already created sitecore items field.
suppose want to add in the home item field ..
Now click the Update from Sitecore ribbon gathercontent update button to update the content and select the appropriate project and template.
next
Now confirm the locations items and click update , this update already created all Sitecore items.
comment below if you find best solutions, for this.

Sitecore WFFM - fixing wrong wizard titles

I use the WFFM module for a client. The problem is just that there are wrong texts in the wizard for inserting a form:
Select "Insert an existing form", press next.
The subtitle under "Select a Form" is now "Copy an existing form." This is misleading as the user expects to insert a form, without duplicating it.
The last step in the wizard states "Confirm the configuration of the new form." which is equally misleading.
Is there any way I can correct this?
Info:
Sitecore.NET 8.1 (rev. 160519)
Web Forms for Marketers 8.1.rev. 160523
Login “Desktop” mode
Select “core” database
Open “Content Editor”
Search for required text e.g. “Copy an existing form”
Find right Dictionary item
Set its “Phrase” field to the new value
Save item. Get back to "master" database. Now WFFM wizard should
show new values.

Sitecore users to add fields to template

I'm building a products table to show all the products attributes. However I need to allow users to add/edit/remove those attributes from the products later on in production without any dev work. I thought about branch templates but when I edit the branch template, existing products are not getting updated. Maybe I'm looking in the wrong direction? Any suggestions?
In an older project we have a similar setup with product and attributes and used a custom database to help us out:
products are stored as items in Sitecore
attributes are stored as items in Sitecore
a custom database stores the values of all attributes for all products
publish events are used to keep the custom database in sync when deleting products
on a product template we added an extra tab in the content editor including an aspx page that offers an editor on our custom database for that product. We use the products Sitecore ID and display all possible attributes in an editable way.
Most attributes have simple string values but that is extendable. Our attributes have a type (string, bool, (multi-)list, ..) and we use that to create the editor. The lists refer back to Sitecore items (a parent is selected on the attribute item).
Adding an extra tab in the editor can be done by creating a new item in the core database (/sitecore/content/Applications/Content Editor/Editors) that point towards your aspx file. In the standard values of your product template, you select the created "editor" in the Appearance section. (note that this is in Sitecore 6 - might have been changed although the path to the editors is still valid)
This solution does mean that the values of your attributes are stored outside Sitecore, but it worked for our requirements.

Sitecore 8: The model item passed into the dictionary is of type 'Sitecore.Mvc.Presentation.RenderingModel'

I'm randomly getting the following error when I try to login to the Sitecore back end.
The model item passed into the dictionary is of type 'Sitecore.Mvc.Presentation.RenderingModel', but this dictionary requires a model item of type 'Sitecore.ExperienceAnalytics.Client.Mvc.Presentation.ExperienceAnalyticsLineChartViewModel'.
I experience this issue after I have build the Sitecore link databases using Sitecore Launchpad --> Control Panel --> Rebuild link databases.
When I clear the Sitecore cache using http://{your website}/sitecore/admin/cache.aspx this is error is not throwing for sometime.
Is there anyway to eliminate this error permanently ?
When you Remove Broken Links on the Core database, the Model property of the ExperienceAnalyticsLineChart rendering is erroneously deleted.
Navigate to the Core database in the Content Editor of your Sitecore instance at http://{your-sitecore-url}/sitecore/shell/default.aspx?sc_content=core.
Navigate to the ExperienceAnalyticsLineChart rendering in the item tree at /sitecore/client/Applications/ExperienceAnalytics/Common/Layouts/Renderings/ExperienceAnalyticsLineChart.
Set the Model field to Sitecore.ExperienceAnalytics.Client.Mvc.Presentation.ExperienceAnalyticsLineChartViewModel, Sitecore.ExperienceAnalytics.Client.
Save the item and click OK if prompted that the item contains broken links.
Log back into Sitecore and the Launchpad will load.
In your view you're using Sitecore.ExperienceAnalytics.Client.Mvc.Presentation.ExperienceAnalyticsLineChartViewModel instead of Sitecore.Mvc.Presentation.RenderingModel witch is the default.
If you want to use your own model you have to register it in Sitecore
Navigate to /sitecore/layout/Models and add a new model in the model type add "Sitecore.ExperienceAnalytics.Client.Mvc.Presentation.ExperienceAnalyticsLineChartViewModel, YourAssemblyName"
go to your View rendering item in sitecore and select your model in the Model field.
https://community.sitecore.net/developers/f/8/t/109 looks like they have same issue like you