4. August 2014 09:50
=System.Convert.FromBase64String(Fields!ac_documentbody.Value)
4. August 2014 12:18
edit: Der Code oben stammt ja direkt von dem Feld auf dem Bericht, wo die Bilder angezeigt werden.
Wäre hier anzusetzen mit so etwas wie: if exists? if not, blank white.
4. August 2014 12:25
=IIf(IsNothing(Fields!ac_documentbody.Value), "" , System.Convert.FromBase64String(Fields!ac_documentbody.Value))
4. August 2014 13:11
4. August 2014 13:29
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
<entity name="quote" enableprefiltering="1" >
<attribute name="name" />
<attribute name="customerid" />
<attribute name="totalamount" />
<attribute name="new_angebotsnummer" />
<attribute name="opportunityid" />
<attribute name="createdon" />
<attribute name="new_beschreibung" />
<order attribute="name" descending="false"/>
<link-entity name="quotedetail" alias="aa" to="quoteid" from="quoteid">
<attribute name="lineitemnumber"/>
<attribute name="extendedamount"/>
<attribute name="productid"/>
<attribute name="priceperunit"/>
<attribute name="quantity"/>
<attribute name="description"/>
<attribute name="new_position"/>
<attribute name="new_option"/>
<attribute name="new_oberflaeche"/>
<attribute name="new_festigkeit"/>
<attribute name="new_werkzeugkosten"/>
<attribute name="new_gewindebeschichtung2"/>
<link-entity name="product" from="productid" to="productid" alias="ab">
<attribute name="productnumber"/>
<link-entity name="annotation" from="objectid" to="productid" alias="ac">
<attribute name="mimetype"/>
<attribute name="documentbody"/>
</link-entity>
</link-entity>
</link-entity>
<link-entity name="account" from="accountid" to="customerid" alias="ad">
<attribute name="accountid" />
<attribute name="name" />
<attribute name="address1_city" />
<attribute name="address1_country" />
<attribute name="address1_name" />
<attribute name="address1_postalcode" />
<attribute name="telephone1" />
<attribute name="address1_line1" />
</link-entity>
<link-entity name="opportunity" from="opportunityid" to="opportunityid" alias="ae">
<attribute name="parentcontactid" />
<attribute name="name" />
<link-entity name="systemuser" from="systemuserid" to="new_bearbeiter" alias="af">
<attribute name="firstname" />
<attribute name="lastname" />
<attribute name="internalemailaddress" />
<attribute name="address1_telephone1" />
<attribute name="address1_fax" />
</link-entity>
<link-entity name="systemuser" from="systemuserid" to="new_nachfasser" alias="ah">
<attribute name="firstname" />
<attribute name="lastname" />
<attribute name="internalemailaddress" />
<attribute name="address1_telephone1" />
<attribute name="address1_fax" />
</link-entity>
<link-entity name="contact" from="contactid" to="new_kontakt" alias="ag">
<attribute name="new_anrede" />
<attribute name="firstname" />
<attribute name="lastname" />
<attribute name="emailaddress1" />
<attribute name="telephone1" />
</link-entity>
</link-entity>
</entity>
</fetch>
3. September 2014 09:14
=IIf(IsNothing(Fields!ac_documentbody.Value), " " , System.Convert.FromBase64String(Fields!ac_documentbody.Value))