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

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.

Related

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.

Cannot Preprocess Data for Web Service Submit To SharePoint from InfoPath

I recently added SharePoint web service submission functionality to a customized (InfoPath) list form (not an xml forms library form) so users could add items to another SharePoint list from the current form. Works great. Sets up repeating table from XML data connection template, and submits data to the UpdateListItems method in Lists.asmx.
List form illustration
However, users have to hand type all field values into the repeating table that is submitted to the Lists.asmx web service. I want to pre-populate some rows of the repeating table with derived values and values that come from other parts of the InfoPath form.
Several approaches I tried did not work:
Created rule to set values in the Field element in the repeating table (i.e.: set Field to "myvalue"). That does not work because it populates Field element for all rows. Cannot find a way to target one row (i.e.: to set Field to “yes” where Name attribute = Field1).
Added filter to rule in Manifest.xsf that sets the field value in attempt to target a specific row of the repeating table. Tried to filter with # symbol since I’m attempting to filter on attribute (i.e: Field[#Name = "Field1"]). Also tried without # symbol (i.e.: Field[Name="Field1"]). Neither worked as expected.
Created string field to send in the submit, and used concat to assemble the XML that UpdateListItems expects. Received SOAP error message:
Seems like a simple thing to do, but cannot get it to work. Am I missing something? First thought was to code-behind, but this is a list form, not an XML forms library form (cannot code-behind in list form template).
Has anyone else successfully automatically populated some data values and submitted to SharePoint web service to add or update another SharePoint list?

How we can set Pagination as per custom parameter in Vtiger

We are displaying today followup on Dashboard. Like
While user click on view link filter data is displayed on SalesOrder module on Vtiger list view page
.
But while we click on pagination count it displays different.
I have update query in list view while my custom parameter pass from dashboard and I will get result accordingly on list page but I don't know how we can set pagination according to my custom parameter or Custom query.
In Vtiger, Any Module List page pagination count will come from "getListViewCount()" function.
We have put this function in our salesOrder/models/Listview.php
After that i have taken one hidden variable in ListViewContents.tpl file for our custom parameter also we have update getDefaultParams Event from layouts\vlayout\modules\Vtiger\resources\List.js and pass our custom parameter with custom variable.
with the help of that we can perfect count for custom parameter query.
here you can see the result,
now, click on view link

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