Mask a {Common:ItemURL} in Nintex workflow - html

I have a form library in SharePoint 2013 with form names that have an ID appended to the end of the name, so it appears to be "Form Name-26". My customer does not want the "26" to display.
So, I have been trying to create a workflow that will start whenever a form is created. It can pull the Item URL without any problem, but then I want to 'mask' the URL. I was trying to use anchor tags within the "Set Item Value" workflow action, but this actually displayed everything and didn't read the html.
Here is the code I am trying to get to work.
<a href:ItemURL>Click here to open the form</a>

I ended up figuring out the answer to my own question.
I created a calculated column in SharePoint and set the data type to number.
Then I put in the following:
="<a href='Beginning of Link"&[Str Filename]&"'/>"&Year&" "&Department&"</a>"
This ends up 'masking' the link with the Year and Department (2 other fields I have in my library) and using the filename for the form in the link so that it dynamically changes for each item.

Related

Reference a custom field in NS on the standard HTML transaction form/SO email form

Does anyone know how to reference a NS field in the standard HTML form?
I have a custom field on my SO that links to our external website. The field uses a formula to pull the NS SO internal ID to create the link so we can send it out to the customer. That field works perfect and I was able to get that link to display properly as an element on the standard PDF form layout that gets emailed to the customer as an attachment on the SO notification email.
Now, here is the issue, I don't know how to reference it on the "a href" html tag in the HTML code on the transaction HTML layout. I know the field name/backend ID, I just don't know how to reference it in the "a href" html tag, this is what I have so far:
Securely View, Edit, & Track the status of this order
(in the curly brackets is my field name and I removed the carrots so the exact code would show up in this text box)
Does anyone know how to get that field from the SO form to show up in the Transaction HTML Layout form?
Actually I figured it out. I needed to have the href set as <NLCUSTBODYPG_LINK_SO>.

How to get hyperlinks dynamically in Microsoft Access Reports?

In a MS Access Report, I am trying to create a hyperlink that would take a user webpage. The URL is dependent on a data field in my database.
In my report, I have added the hyperlink control and used the popup to enter the hyperlink.
When I use the Hyperlink Builder, to dynamically set the value of one of the parameters, I get a garbage url that does not work. The URL that is returned is :
file:///C|/Users/gh/Dropbox%20(Bar01%20College)/BW%20Demo%20Project/="https://baruch.az1.qualtrics.com/jfe/form/SV_8uZm3rAnSWPE9gN?DocumentID="
& [documentID] & "&TransmittedScore=ENG_2100"
The expected result would be to have the URL that is customized based on the record where my parameter DocumentID would be equal to the value of my documentID field.
https://baruch.az1.qualtrics.com/jfe/form/SV_8uZm3rAnSWPE9gN?DocumentID=ZuluTest&TransmittedScore=ENG_2100
If I paste the expected URL into the address field, the URL parses properly:
The requirement of this project is that the links need to be clickable when exported to PDF.
Note: I have previously posted this question to https://www.utteraccess.com/forum/index.php?showtopic=2057701 and looking for additional assistance.
Working with TheDBGuy on the UtterAccess forum (URL in my original question). The solution that came up was to use an UNBOUND Text Box, setting the property of Is Hyperlink = Yes.
Then in the ControlSource property, built the URL string in the format of ="<DISPLAY TEXT>#URL"
So the value would have been:
="ENG 2100#https://baruch.az1.qualtrics.com/jfe/form/SV_8uZm3rAnSWPE9gN?DocumentID="& [documentID] & "&TransmittedScore=ENG_2100"

Add a link to Netsuite transaction with custom body field

We have a need for an additional ADVANCED PDF/HTML printing template in Netsuite. Also, we are currently unable to add an extra print action using scripting (I know this would be the simple solution, and hopefully in time we will be able to do this)
I want to know if it is possible by using a CUSTOM BODY FIELD, and using the formula/default values.
I currently have a custom field setup, using the following formula, however when I open the transaction I get a ERROR: Invalid Expression
<a https://system.eu2.netsuite.com/app/accounting/print/hotprint.nl?regular=T&sethotprinter=T&template=131&id='||{salesorder.internalid}||'&label=Picking+Ticket&printtype=pickingticket&trantype=salesord>PRINT</a>
The formula is invalid because it is missing the opening and closing quotation marks around the string literal.
I've also added the missing href attribute and HTML quote marks, and changed the URL to be relative so the link is valid across data centers and enviroments.
'PRINT'

Duplicate elements after clicking in a repeater list item

I've an issue after clicking in repeater list item, I get two items in the detail page instead of one element.
This repeater is for Booking elements and I've added the follow transformation: "Transformation" and "Selected item transformation".
The "Selected item transformation" is applied but I get two elements in the page after apply this transformation.
I tried to add a data list and instead of to get two elements after clicking on an element I get four.
I'm new in Kentico maybe it is a configuration issue.
Below I detail the configuration for the repeater web part:
Content/Path:/Events/%
Content filter/Page types: CMS.BookingEvent
Content filter/Category name: {%SiteContext.CurrentCategory.CategoryName#%}
Do you have any idea about what can be the problem?
If you need more information please let me know and I'll send you.
You can check following below things
Does the listed page & detail page uses same page template (is it inherited)?
Need to check Selected item transformation, is it setup right?.
For testing you can remove category filter and then check.
Make sure are you using <%# GetDocumentUrl() %> in list page Transformation
Thanks
Does the listed page uses same page template (is it inherited)? Do you have just one repeater on that page?
The selected item transformation renders on target page (detail of listed page) but the page needs to use same page template (or inherit the one that is on parent page listing page)
Alternatively, don't specify selected transformation and make the repeater on target page to display just its properties.
Check list and details pages. In your case details page should inherit template from list page.
Your repeater is responsible for showing list and details, so make sure there is no extra web part (another repeater or any other viewer) that shows details only.
Also try to check Hide on child pages setting in your repeater - this will help you to figure out if repeated renders 2 details (in case no details shows now) or there is another web part for details (in case only one item details appear now).
This page is using the selected item transformation correct? And this happens when you are navigating to the event page (/Event/CustomEvent1)?
Does this happen for every event? Does the event page url have any special characters in it? I have had an issue before if the page has an _ in the name and url, it will break the repeater. This was fixed in a hotfix in K9.
If you are still running with this issue, I'd suggest to remove SelectedItemTransformation and display detailed content on specific document i.e. /Event/CustomEvent1. You can use either repeater for read current document only and set detailed Transformation in "Transformation" property itself DON't use "SelectedItemTransformation" in this case.
Thanks so much for all the answers, they were pretty useful for me.
The problem was related with the inherited template. In my "Listed page" on template tab I chose the option "Clone template as ad-hoc". I've checked in the detail pages that the template option was in "Inherit from parent".
I realized too that in the root template which I've used in the "Listed page" there were a repeater, then I removed it and the problem was fixed.
Thanks so much again.
Kind regards,
Max

Can't access Edit button for custom JIRA field, due to HTML tag in field description

In our JIRA instance, someone thought that because you could put html tags in description fields, that meant that you needed a full complement of tags to use them-- like, including <html> and, critically </html>
So, now we've got a custom field with a description containing a </html> tag, and as you might expect, the browser is not showing anything past that last tag, including any option to delete or edit the field.
Is there any way to use an API, etc to delete this field or change its description?
I'm on JIRA 4.1.2 (I know...)
Managed to solve the issue...
I used either the JIRA Advanced search, or right-click>>Inspect
element to get the ID of the field.
Then hovered over one of the "Configure" links that were showing to get the URL to the configure screen.
Then, I put the correct ID in the URL, and I was able to get back in and remove the offending tags.
That resolved the issue on the Custom Fields screen. Unfortunately, this technique had also been used on the "Field Configuration" screen, which is organized a bit differently.
The URLs to the "Edit" screens from the field configuration are formatted differently, with id= being the particular field configuration you're working with (don't change this one), and position= being the position in the list of the field you're working with (0 based index).
The easiest thing for me was to
Go to the field above the one that was messed up
Click on the Edit link, then
Increment the position parameter in the URL to give me the field I actually needed to change.
Deleted out the rogue HTML and everything was back to normal.