Blueprism Replace Characters in a collection - blueprism

I have a collection with multiple columns. I want to search for any characters that have a fada/accent (eg. á) and replace them with the normal version of the character. So á would become a. This would be similar to ctrl f replace in excel.

Calculation stages have a "Replace" function available from the list under Functions>Text. To my knowledge, there is no standard feature available to do this once text is inside the collection. However, with this "Replace" function you should be able to have the fada/accents removed before the text goes into the Collection stage.

Ultimately I created an excel macro. The bot runs this macro and then reads the file into a collection

Related

Is there a way to search multiple keywords in a Saved Search on NetSuite?

I am creating a Saved Search for my team where users can filter by different parameters but the most important one is a ‘Keyword’ field where we have multiple text strings separated by commas. Eg: One could be (Horses, Apples, Cows, Carrots, Balloons) and another could be (Apples, Cake, Silver, Horses, Bananas)
I want to be able to use the free text search field to look up all rows where I can find a relevant entry.
Eg. Let’s say I type “Apples” and “Horses”. I want to see all entries where these are found together.
I have tried setting the criteria to “Contains” but can’t seem to use operators in the input field. I have also tried to use expressions but got You cannot use an expression builder criteria filter as an available filter" as an error.
I’m not familiar with NetSuite but willing to learn. I was able to create this in Google Sheets. Since we already store our information on NS already, I want to find a way to do it there. Is there a way to achieve this?
Thank you.
When you create the saved search, you can just specify a default value that will be used in the initial search load (e.g. contains Apples). In the Available Filters tab, select the same filter and check Show in Filter Region.
When users run the saved search, they can change the criteria by typing into the field and pressing Tab after (if you press Enter instead of Tab, the results will be downloaded into a CSV file instead of being displayed in the page). In your example, they should type 'apples%horses' then press Tab.
Additional reference: https://www.sikich.com/insight/using-formula-values-as-available-filters-in-netsuite-saved-searches/
Update:
Use 'has keywords' instead of 'contains' in the filter. When viewing the results, separate keywords with a comma. Example: 'apples, horses'

populate word template (with repeat) from excel

I have data in an Excel spreadsheet that I want to include in a report in Word.
In Excel, one line = one data entry.
In Word, each line will result in a layout block.
There are many lines, I want to define the template once and have whatever function imports from Excel duplicate it as often as necessary.
Mailmerge, AFAIK, creates seperate documents. That is not what I need, I need multiple blocks within one document.
Couldn't find a solution so far, everything points me to Mailmerge.
As requested, an example:
In Excel:
TEST - RESULT - REASON - COMMENT
Check A - failed - missing a foo - install a foo next time
Check B - success - ok - worked as designed
Check C - success - mostly ok - worked, but can be improved
In Word:
Test Report
Check Number: Check A
Check Result: failed (missing a foo)
Comment: install a foo next time
You get the idea. The actual template is not so simple, but the main idea is that fields are not identical to lines - there can be multiple fields in the same line, in different places around the template, etc.
I'm afraid you're not finished with Mail Merge yet!
multiple blocks within one document :
It's the same idea as labels... you're just not printing them onto labels, and you're making up a custo size and layout.
Office.com : Create and print labels using mail merge
More information, Google "word labels from excel data"...

Automatic Replace Rule for Word?

I have a Word document which I use for Mailings and it is linked to an Excel file.
Lets say that this Excel file contains a Code (FA139, FA140, etc.) and I would like that the Word Document replaces the code with a string of text every time within the mailing feature. This means, that when I click next, it shall get the code from the Excel File and replace it with the text.
It is not purpose of the question to modify the excel file, but do all necessary changes (if possible) in the Word file.
All you need is a series of fields in Word coded along the lines of:
{IF{MERGEFIELD Code}= "FA139" "Green"}{IF{MERGEFIELD Code}= "FA140" "Blue"}
or:
{IF«Code»= "FA139" "Green"}{IF«Code»= "FA140" "Blue"}
where 'Code' is the field name.
Note: The field brace pairs (i.e. '{ }') for the above example are all created in the document itself, via Ctrl-F9 (Cmd-F9 on a Mac); you can't simply type them or copy & paste them from this message. Nor is it practical to add them via any of the standard Word dialogues. Likewise, the chevrons (i.e. '« »') are part of the actual mergefields - which you can insert from the 'Insert Merge Field' dropdown (i.e. you can't type or copy & paste them from this message, either). The spaces represented in the field constructions are all required.

Changing Custom site column to lookup

I got thrown in to a situation where the customer has a production enviroment and needs to make some changes without losing data.
One part of the problem is changing a sitecolumn (used in CT, 2-3 lists, and multiple web parts as custom property) from a text field to a lookup.
I have tried to set the schemaxml via powershell and push the changes to the lists. I get errors.
I have also tried to update the column in the list with lookup schemaxml.
If i remove the sitecolumn and create a new the webparts stop working, since they need the sitecolumn.
What would be the best solution for solving this?
#Simon if you try to replace column type from text to lookup, you will lose data for sure.
Create extra single line of text column 'Backup' in the list.
Write powershell script to copy the data from current text column to Backup column.
Change type of column from Text to Lookup.
Use Manual or powershell approach to rewrite data in new column.
Delete temporary backup column.

OR query in eWAM - picker

So in a picker in eWam / wynsure the field usually gets passed directly to some sort of OQL statement.
Hence, if I want to search for a field whose value ends in "asdf", I enter "%asdf" into the picker field.
My question is thus: from the picker, is there anyway to specify 'I want all entries that end in "asdf" OR "qwer"'?
If not, I would recommend that this become a feature as it would be very useful to be able to enter all that right in the text field.
There is currently no way to search multiple strings in a single field beyond using wildcards. One can do this easily by creating multiple fields in the picker.
Alternatively one could customize the picker as follows:
use a presearch string (that the user fills out),
parse that string for some element (like a pipe),
Break the string up and put each part in to off screen search variables.
You are still using multiple fields, but the user get's a different experience. Keep in mind the dangers of parsing out the user input, using something like or would work out very badly splitting up words, & could show up in a company name...

Resources