How can I use Power Automate to rename an attachment using the entered Title on SharePoint Lists - power-automate

I am looking to automate the renaming of an attachment using the Title entered when the attachment is uploaded to SharePoint lists, i.e. have the user designate the name/title of their attachment.
Thus far I can add a date stamp in Add Attachment, File name. But this uses the current file name. concat(formatDateTime(addHours(utcNow(), -8),'MMM-dd'), items('Apply_to_each')?['DisplayName']).
Would appreciate any suggestions on how to apply the SharePoint List Title in the renaming or add file command.
Thanks!

Try an expression like below to use the title of the list item from the trigger action:
concat(formatDateTime(addHours(utcNow(), -8),'MMM-dd'), triggeroutputs()?['Title'])

Related

NetSuite- Advanced PDF Template, How Can I get Each Item's Component Information Through Salesorder Record

I am trying to customize a pdf template so I can print my own Picking Ticket. I can get all salesorder's information/data by use ${record.[fieldId]}, and I can also get all items' general/header information in the current salesorder's record using ${item.[fieldId]}. However, can anyone tell me how to get each item's components list through "item.[...]"
I tried to use "item.member", where member is the components list of each item, and it always said "item.member" is not a sequence or list.
Any idea? Thanks,
You can print this information with NetSuite's new Saved Search printing feature that was released in 2017.1. Make an item saved search with Member Item being one of the results. Then create a template from the saved search with the "New Template" button. Use this tag somewhere in your document:
${result.memberitem}
See SuiteAnswers article "Advanced Templates for Printing Saved Search Results" if you want to learn how to print all results on one page.
You don't need record - just use ${item.[field]}
You'll notice in the source code at the start of the item list table it has <#list record.item as item>

Inserting a hyperlink in a TASK in Dynamics CRM 2013. Hyperlink does not render as HTML hyperlink

Using {Record URL(Dynamic)(Entity Name)} I have inserted it as part of system requirments into the "Description" of a TASK Activity.
But the URL does not render as a HTML hyperlink.
I have also tried using the <hyperlink> tag. But this does not work.
(Important Note : I heard notice this is achievable in an Email
Activity with the Record URL(Dynamic)(Entity Name) attribute. But I am
trying to achieve this in a Task Activity.)
Sample example of code in Workflow that creates this task is the Text given below:
..... project record, available here: {Record URL(Dynamic)(Entity Name)}.
We are using CRM 2013 for this cutomization and configuration.
Can you tell me what I am doing wrong and what I need to change to achieve this feature.?
Unlike email, the Description field of Tasks is plain text and doesn't support hyperlinks. Adding a formula to the task description will just display the formula text, not calculate it or generate a hyperlink.
If you need a link from a task to a specific record, add a custom lookup field to that entity. Another option would be to add an HTML Web Resource where you could show rich HTML with hyperlinks, but you'll need to create its content (with the link) on your own, no formula will generate the content for you.

Setup Project: user enters a value then store it in a text file or database

As the title said, how can i do that?
I've search some tuts on google, but only for creating simple setup projects.sample
When the user enters 'something', that value will be stored in a textfile or database after installation and is located in the application location (ProgramFiles). thank you ^_^
That dialog looks like a TextBoxes dialog, and that dialog has uppercase property names for the content. If it's TextBoxes(A) the property name is probably EDITA1 so you use it in the format [EDITA1] to pass it to custom actions. Without knowing exactly what kind of custom action you'll be using I can't be explicit, but you'll probably start by having [EDITA1] in the CustomActionData property of the custom action. For (a bad) example, in a VBScript custom action you'd use the value session.property ("CustomActionData").

Visual Studio: Use csv file for "Find Text" validation in web performance test

I can use csv files to enter data into input field after a test is recorded. I was wondering if csv file could be used for "Find Text" validation field. I don't see options to add csv file so I have directly hardcode text be checked. If I could add a csv file then I would just need to change the csv file once the website texts are changed. Could this be done by using codedUI test?
Thank you
The fields of a data source can be used in many places within a Web Performance Test. There are two main ways.
In the properties panel for the call of the validation rule, click in the value field for the required property. You should get a box allowing the data source field to be chosen.
Alternatively enter text similar to the following into the field
{{DataSource1.YourFileName#csv.FieldName}}
Note the doubled curly braces {{ and }} around the full data source string. You can also add extra text to this sort of entry, eg
Some text{{DataSource1.YourFileName#csv.FieldName}}and even more text

Converting a german text to english text in vb6.0

i am a newbie to vb 6.0 ,i want to convert the german text to english text as one of
my requirement can anybody help me with this.
thanks
One way you could achieve this is to create a string resource DLL. Have a look at this article for an example of how to use this. When you have this, you can either make calls to the equivelent of LoadString() in the example for every resource or, alternatively, you could write a control to add to every form that automated this process (i.e. itterate through each control and replace the text based on the locale).

Resources