Conga Composer IF statement with static text and merge field? - salesforce

I am trying to show or hide fields and their identifying static field based on if the field in Salesforce is blank or not. My IF statment is shown below:
`{{ IF {{OPPORTUNITY_LINEITEM_CREATIVE_SIZES}} <> “” “Creative Sizes: {{OPPORTUNITY_LINEITEM_CREATIVE_SIZES}}” “” }}`
Image of what the entire block looks like.
Unfortunately even if the "Creative Sizes" field is blank it will still pull in the bolded static text identifier. Please help! I've been trying different things for almost 4 hours now and I'm going insane!

Related

What field needs to be changed to update this specific header?

In my mobile app, we use the docusign API to create a pdf enveloppe in a mobile app and change its content to match our customers expectations.
There are text components of the pdf that I'm supposed to be able to change, like DocuSign_SignerPlacedCompleteConfirm. Problem is, when changing the value, nothing appears on the enveloppe, while the change does happen for other fields.
Our doc includes the Docusign-Signing-Resource-File pdf v2.0 and the original resource file from docusign (master downloaded on their site).
I've already observed a difference between our master resource file and what the doc says about what's inside.
So I guessed that the field key was not the right one and I tried other names for the key, like placing "_Mobile" at the end.
But it still doesn't work.
I really feel like the doc is missing something, and it bothers me as everything looks changeable and this item is supposed to be but I can't get it to change.
<data name="DocuSign_SignerPlacedCompleteConfirm">Bla bla bla</data>
doesn't change the field I want. But
<data name="DocuSign_HelpfulStart_Mobile">Click on START to start</data>
does change something, a text which is near the previous one.
The field I want to change is circled in black here :
Field to change
App is coded in React Native, opens a WebView in which you can see above page, generated by DocuSign.
I can't see any error log from docusign, and I just expect my text in the header to be set at 'Bla bla bla' for example. Instead, it's set at the default value.
I'm sorry Axel, but I'm afraid what you are asking is not possible.
Changing the UI of the actual signature tabs in a signed envelope is not supported at this time.
It is a major security concern to enable this type of change, as it would potentially allow someone to make it look like someone else signed their envelope.

SSRS - Spacing between lines in single TextBox

I have a flat-file to be load in SSRS report. Which already contains New Line and required spacing. Like the below image:
Want to display same layout and newlines(CRLF) into SSRS. Which works fine If I use
≪Place Holder Property → Markup type = "None - Plain text only"≫
But I want to increase the spacing between Individual new lines.
So I tried below expression with the same other properties:
=REPLACE(Fields!Column1.Value, Chr(13), vbCrLf)
But It has increased the space almost double than my expectation. I also tried to convert ≪Place Holder Property≫ into ≪ HTML - Interpret HTML tags as styles ≫, but It has removed normal new lines which exist into flat-file.
I tried many existing solutions over StackOverflow but none of them are matching my requirement.
Could anyone please give it a try!
Edit-1:
Textbox.line-height is providing a facility to change spacing between lines, but not reflecting PDF output, only showing the effect on a web browser. My target output is PDF.
I am afraid that the thing you are asking about isn't possible.
“<br>” ,”<p>”,vbcrlf, font setting in textbox of any report ,the list mark , do not work with SSRS.

solr highlighting in old and new versions

I am migrating a web site from an old version of solr (1.4.1) to the current release version (5.2.1) on a different machine and noticing some differences.
In the old version, I could get highlighting with a url like this:
http://localhost:8983/solr/select?indent=on&q=text:software/&start=0&rows=10&fl=id,score,title&wt=json&hl=on&hl.fragsize=200
In the new version, one thing that's different is I need to specify a collection. Another difference is that the new version gives an error if I put text: in front of the value of q.
So, taking into account those differences, I end up with a URL like this:
http://localhost:8983/solr/default/select?indent=on&q=software/&start=0&rows=10&fl=id,score,title&wt=json&hl=on&hl.snippets=1&hl.fl=%2a&hl.fragsize=200
That second URL does not give me highlighting fragments/snippets. That is to say, where the old URL would give something like this:
"highlighting":{
"document0_id":{"text":["The <em>software</em> is awesome"]}}
The new URL gives something like this:
"highlighting":{
"document0_id":{}}
What do I need to do to get highlighting fragments returned in solr 5.2.1?
[edited]
In addition, I tried selecting a single document by its id on both machines. On the old machine, a url like
http://localhost:8983/solr/select?wt=json&indent=true&q=id:thedocumentid
returns some JSON that includes a text field containing the full searchable text of the original HTML document. On the new machine a similar url (but one that includes the collection):
http://localhost:8983/solr/default/select?wt=json&indent=true&q=id:thedocumentid
...returns similar JSON that does not include the text field.
I note that searching returns the correct results; the problem is that on the new machine, the results do not include the highlighting fragments.
So it seems like maybe the issue is that I need to specify that these documents have a text field when I index them; how do I do that?
A colleague (not tempted by the bounty) noticed that my text field had stored="false" in my schema.xml and suggsted changing it to true. That did the trick.
In the first query you are specifically searching in the text field and in the second its not.
And in the second you have mentioned hl.fl which means "Specifies a list of fields to highlight. Accepts a comma- or space-delimited list of fields for which Solr should generate highlighted snippets. If left blank, highlights the defaultSearchField"
Try again by making the changes...
http://localhost:8983/solr/default/select?q=text:software&start=0&rows=10&fl=id,score,title&wt=json&hl=on&hl.fragsize=200

solr search results don't return as expected if the highlight field contains html flag

I am using setHighlightSimplePre and setHighlightSimplePost to change the default <em> to <strong>, setting the text which appears around a highlighted term.
My search keyword is 'Testing for Add SON'. I got confused when the returned data displayed all in bold. Then I dumped the data out and found that it returned incorrectly. The </p> has been separated as below:
<p><strong>Testing</strong> for <strong>Add</strong> <strong>SON</p</strong>>
Then the contents after the flag all turned to be bold text.
Has anyone else ever had this problem?
Note: I am using Solr 3.4 built on ColdFusion 10.

Generate highlighted snippets in Solr for PDFs

I'm new to solr. I've set up a solr server and have indexed a few thousand PDFs. I am trying to query solr via the rest API in a PHP page. I am trying to build something similar to the solritas interface included in the tutorial (solrserver/browse), but I don't know how to generate highlighted snippets. I found in the documentation "hl" is a query parameter and is by default set to false.
When I get http://solrserver/?q=search+term&hl=true I get back a response with a hightlighting section, but it only contains the document IDs, no generated snippets.
I am using the tutorial provided schema and config for solr 4.2.1. I believe that the configuration is fine because solritas is able to display highlighted snippets using the same indexed data. I've tried seeing how solritas is built but it's separated out in .vm template files and I haven't been able to find what I'm looking for yet.
I can see the full text of the PDF in the doc->content area, so it is stored. I think I just don't understand the proper way to generate snippets! Can someone please help!
Thanks :)
I would suggest, you should try using hl.fl parameter. So your query should be something like this:
?q=search+term&hl=true&hl.fl=field1,field2,field3
Where field1, field2 and field3 are three source fields you would like to generate highlights.
In your case, if the field name you want to use for highlighting is content, your query can be:
?q=search+term&hl=true&hl.fl=content
More details: http://docs.lucidworks.com/display/solr/Highlighting
With highlighting, you can even specify fragment size, HTML tags around highlighted text etc...

Resources