Multiple lines of text column not showing in Content query webpart sharepoint - sharepoint

I want to add custom column Document Description in CQWP for this I added below code in ItemStyle.xsl
xsl:value-of select="#Document_x0020_Description" disable-output-escaping="yes"
In wepart I used below code
property name="CommonViewFields" type="string">Document_x0020_Description,Note
but even after doing this CQWP not showing its value, it is coming blank but when I do same steps for "Single line of text" type column then in that case all are workin fine.
Please let me know how to add Multiple lines of text column in CQWP

Try also setting the properties "DataMappingViewFields" and "DataMappings" in the webpart like:
<property name="DataMappings" type="string">LinkUrl:{94f89715-e097-4e8b-ba79-ea02aa8b7adb},FileRef,Lookup;|Description:{691b9a4b-512e-4341-b3f1-68914130d5b2},ShortComment,Text;|ImageUrl:{b9e6f3ae-5632-4b13-b636-9d1a2bd67120},EncodedAbsThumbnailUrl,Computed;{543bc2cf-1f30-488e-8f25-6fe3b689d9ac},PublishingRollupImage,Image;|Title:{fa564e0f-0c70-4ab9-b863-0177e6ddd247},Title,Text;|Ingress:{C0ECDC73-85A2-478B-823D-B882219ACA8A},Ingress,Note;|</property>
<property name="DataMappingViewFields" type="string">{94f89715-e097-4e8b-ba79-ea02aa8b7adb},Lookup;{b9e6f3ae-5632-4b13-b636-9d1a2bd67120},Computed;{543bc2cf-1f30-488e-8f25-6fe3b689d9ac},Image;{fa564e0f-0c70-4ab9-b863-0177e6ddd247},Text;{691b9a4b-512e-4341-b3f1-68914130d5b2},Text;{C0ECDC73-85A2-478B-823D-B882219ACA8A},Note;</property>
The last property here called "Ingress" is a Note-field. Maybe this will make the field available in the xsl?

Related

Netsuite custom field does not display data in search results

I'm new to Netsuite, so please bear with me. I have created a saved item search that is working fine with one exception; one of the result columns I have chosen is not displaying data in the returned rows. This is a custom field created by our old Netsuite Administrator and it does display data on an item record, just not in search results. I've done some searching and thought I found the problem when I read another post that said that "Global Search" and "Show In List" needed to be checked on the custom field. I did that, but the search results still do not display any data for that column.
The field is a custom item field of the type decimal number. Store value, show in list and global search is checked. The field is applied to inventory items, non-inventory items, kit/package and assembly/bill of materials. What am I missing? TIA
I suspect the field has field level access permissions. Go to the field definition and click the 'Access' tab. The 'Default Level or Searching/Reporting' should be at least 'Run'.
Global Search on a field makes it so if you enter a value in the Global Search bar that matches the field's value for an item then that item will be shown as a possible match. It has nothing to do with your issue. Neither does Show in List.

Changing the Type of the Custom field

How can i change the Type of the Custom field in Acumatica?
I created a new custom field of "ComboBox" Type for the Sales Order Header Section.Now i would like to change its type to "TextEdit" so the user can manually enter any value in it. So far there are only few Sales order where user has entered the value in this field.
Thanks
Combo boxes are stored in string fields in the database - you can therefore easily replace the control on the page with a text edit field. The simplest way is to remove the combo box from the layout editor, and then adding it back as a text box from the "Add Data Fields" tab. If you want to modify the properties of the field itself, you have to go to the Data Access section and modify the attributes of the field (PXDBString + remove PXStringList attribute if you have one). Lastly, if this is a field you were creating as part of your customization project, you might have to manually edit the Table node of the project XML (File -> View Project XML)

Format lookup column to display Name (FileLeafRef)

I have a custom publishing page layout I have created. The content type behind the page layout has a lookup column pointing to a document library where I store images. Basically, the pages I am creating from the layout are 'articles' and I have an associated image with each.
As you can probably guess by now, I want to display the lookup image on the page. However, I cannot for the life of me figure out how to do this. I have been inserting columns into the page layout via controls, but I'm not sure how to format it to look at the source document behind the lookup column. I am wondering if it is possible somehow through controls, and if not this way, if it can be done through modifying the XSL of a webpart. My last option which I don't want to use but I know it would work is a workflow (on new item creation, copy Name (FileLeafRef) into a hidden single line text field I coult utilize).
Does anyone know how to format a lookup column to display Name (FileLeafRef)?
Help is greatly appreciated!
-Josh

Associating DispForm with with an spfield item

I have a custom view of a list that doesn't include the "Title" field, I need to associate the display from with another spfield, how do I go about this?
Thanks
Achieved by setting the LinkToItemAllowed and ListItemMenuAllowed properties of the spfield to SPField.ListItemMenuState.Required;
Although not the nicest but a simple SPD workflow that populates a custom column of type Hyperlink/Picture with the DisplayForm URL. And then you can display this column into your respective view.
However, what's the reason you want to do this? You don't have the value in title? You can use the Title(linked to item) instead of Title(linked to Edit Menu). You may want to verify the names though as what I have put in terms of paranthesis might not be exact.

MOSS 2007 filtering a list ONLY if filter specified

Hi I have a sharepoint list that I want to filter based on text in the title, I want to beable to do a "Title contains" filter rather than an exact match, so I have gone to SPD and added a text box and go button to a page that contains the list. I have connected the 2 via a parameter and filtered based on that in the web part. This all works great
BUT..... When the page is initially shown the list is blank because the filter is blank and that doesn't match any Tiotkes in the list.....
What I'd really like to be able to do is show the entire list if the parameter is blank and opnly apply the filter if there is some text in it but I cant for the life of me figure out how to achieve it.
Any help would be really appreciated.
Thanks
In This case you would have to tweak your xsltto handle a default condition and create a default value for the parameter. If you want complete solution please paste your data view webpart xslt here

Resources