If no picture comes from CRM, then blank white - visual-studio-2010

We'd like to use SSRS reports via fetch XML in CRM 2011 for generating our quotes.
So instead of having the pictures for all the products in the report,
I'm converting the picture coming from the product form in a picture on the quote.
(That's the entity "annotation", where I use the picture attached to the productform via note.)
I use the following string in the Field on the report, which should have the pictures in it:
=System.Convert.FromBase64String(Fields!ac_documentbody.Value))
The problem is, none of the "manual products" which you can create "on the fly" in Opportunity(Product) have a picture because they don't have an annotation or note.
"Manual product" may not be the correct term to use but I hope it's understandable.
My goal is that I want to edit the String on my picturefield on the report so that when manual products are on it, there will be a blank white picture showing instead of the little red "X".

You are referring to in-write products.
You can add an IIF condition to check Fields!ac_documentbody.Value, if contains a value you convert it and display it, otherwise you display tour blank white picture.

Related

suggestion where to look to find why my report has extra blank pages

I am on Msoft SQL Server Report Builder, v15.0
I have a multi page report that no matter that forces a blank page every 2nd page.
I have searched through the tablix properties, report properties, header & footer properties and have not found a culprit yet.
I fear that there are somehow some hidden pieces that are causing this issue, but I do not know how to be able to see the hidden pieces.
I have opened the .rdl file up in notepad++ and started walking through the code, but I am not certain where I should look at in there that would cause my problem.
It is a 10 column report that is generated from a dataset culled down, but the report has 3 calculated fields in it, including a column which generates a ranking number.
If you know of a explicit piece of code I should search for that would be awesome, but I know that is a needle in a snowpile.....
Found finally what I had done...
my durn body was the same width as the page sheet so it was pushing the margins off and creating a new page.
Here is a good walk through of what I found.....
http://www.keepitsimpleandfast.com/2009/12/export-of-reporting-server-reports-to.html

telerik report barcode control add blank page

I have a Telerik report that is working as expected. The report list items in several pages.
The report consist of several columns displaying items' fields.
Once I add a barcode control to the items' columns, the report begin to produce a blank page after every single page.
I am sure that the barcode control is behind this issue as once I remove the barcode control, things are back to normal.
Even If I add a textbox instead of barcode the report print as expected.
I have tried all the available features to get rid of the added blank page but could not succeed.
Please advise and many thanks
ps. I am using Telerik Reporting Q1 2016
I believe your issue is related to the barcode.
I have found that the field can grow and cause objects to move around when you don't want them.
I would put the barcode on to another report against the same data to see how wide the actual barcode is. This will help you get an idea as to what Telerik is doing and then come up with a game plan.

If no image, show no product: shopify

I think this one is pretty easy but cannot quite wrap my head around it.
Pretty straight forward command, since I am working with no completed database I'd like to show products only if they have at least one image associated with them.
Shortly, I'd need something like: if product doesn't have an image, then hide product.
How would I go about this on Shopify? Many thanks
There is no straight forward way to hide it using the settings. However since Shopify is extensible product. You can write your own plug-in to hide.
Another simple way is it to export your products as CSV. Open it in Excel and set the Hidden column's value based on the Image column's value, such that if Image column is blank Hidden column's value is true. You can use a formula for that.
Once done save the CSV and import it back in to your Shopify.

How to filter rows of the embedded view in lotus notes?

I have placed an embedded view in a Form. This view is supposed to display all documents related to that form (Registration No.). I want the view rows to be filtered based on a key (Registration No.). I assume i have to write some lotus script code, as we normally do through lotus script by using like view.GetAllDocumentsByKey("key",True) but don't know how to do that for embedded view. Please help!
Thanks
You do not need to use LotusScript.
You need to use the "Show Single Category" option for the embedded view.
You also need to use the Registration No. as the first column of the view, and sort it Categorised, Ascending.
To be extra sure, add an extra character or two to the end of the Registration No (e.g. reg_Number + "##") and also add that to the formula for the Single Category when you embed the view.
This will prevent the view displaying documents for registration number 1234, when 123 is required. This should not happen, but sometimes does, so the "##" is a useful delimiter to prevent it.
Look at the help document entitled "To show a single category in embedded views"

Interactive sorting to matrix report in reporting services 2005

i created a matrix report that have 2 rows and 6 columns.
picture 1 (see album picture in the bottom)
i want so active a interactive sort on the last columns that named 'Matrix1_ObjName'.
to do so i clicked right click on the field and go to properties > interactive sort.
than i entered the parameters like in the picture 2 (see album picture in the bottom).
i have done some research and the closes answer was posted on this link
the interactive sort doesn't work.
to be clear i want that the LoginName column will be sorted by the grade that shown in the objName row.
sea picture 3 (see album picture in the bottom)
album pictures
thanks to all...
I never use interactive sort. When I want to be able to change sorting behavior, I do it with a parameter. Create a new report parameter and specify values. Use something descriptive for the labels, then I use integers beginning at zero for the values. After the param is set up right click on a field in report design and go to Row Group then Group Properties. Select Sorting from the menu and build an expression with an if statement similar to this:
=IIf(Parameters!sort.Value=0,Fields!First_Sort.Value,Fields!Second_Sort.Value)
Might help you.

Resources