Cruisecontrol Email Notification Task - cruisecontrol.net

i have a problem in ccnet email notification task, how to send mail for some person in To Field, for some person in Cc field and some more in Bcc field, the current email notification comes with only To field, for ex
<email from="raj.u#ccnet.com" mailhost="<somemailhost>" includeDetails="TRUE">
<users>
<user name="mark.s" group="buildmaster" address="mark.s#ccnet.com"/>
<user name="david.b" group="buildmaster" address="david.b#ccnet.com"/>
<user name="sally.t" group="buildmaster" address="sally.t#ccnet.com"/>
<user name="raj.u" group="buildguru" address="raj.u#ccnet.com"/>
</users>

this is for the moment not possible,
but maybe you can bypass it by using mail groups / mail address at the mail server. So a mail sent to X, does a CC to Y and a BCC to Z.

Related

Unable to translate "Verification code has been sent. Please copy it to the input box below." message

I'm unable to translate the text "Verification code has been sent. Please copy it to the input box below." on my Sing up page using Azure AD B2C.
I tried the solution on Cant customize the Verification code message, but it didn't work for me. I was able to translate all the other texts on the page, but not this one.
I tried doing the following with no success:
<ContentDefinition Id="api.localaccountsignup">
<LoadUri>~/tenant/templates/AzureBlue/selfAsserted.cshtml</LoadUri>
<RecoveryUri>~/common/default_page_error.html</RecoveryUri>
<DataUri>urn:com:microsoft:aad:b2c:elements:contract:selfasserted:2.1.1</DataUri>
<Metadata>
<Item Key="DisplayName">Local account Signup</Item>
</Metadata>
<LocalizedResourcesReferences MergeBehavior="Prepend">
<LocalizedResourcesReference Language="pt" LocalizedResourcesReferenceId="localaccountsignup.pt" />
</LocalizedResourcesReferences>
</ContentDefinition>
...
<LocalizedResources Id="localaccountsignup.pt">
<LocalizedStrings>
<LocalizedString ElementType="UxElement" StringId="verification_control_code_sent">Test.</LocalizedString>
...
When I try inserting the code above, I get the error:
Validation failed: 1 validation error(s) found in policy
"B2C_1A_PHONE_EMAIL_BASE" of tenant "MYWEBSITE.com".The
localized string with ElementType: UxElement and StringId:
verification_control_code_sent has an invalid StringIdThe localized
string with ElementType: UxElement and StringId:
verification_control_code_sent has an invalid StringId
I tried a lot of other things too, with no success.
I ended up getting this to work by changing the localization string to have the ElementType of a DisplayControl.
<LocalizedResources Id="localaccountsignup.pt">
<LocalizedStrings>
<LocalizedString ElementType="DisplayControl" ElementId="NAME_OF_YOUR_PHONE_CONTROL" StringId="success_send_code_msg"> </LocalizedString>
</LocalizedStrings>
</LocalizedResources>
I found the code by looking in the attribute in the web console:
Made an issue on github about this: https://github.com/MicrosoftDocs/azure-docs/issues/70611
Thanks and Please try and let us know if you need more information.
urn:com:microsoft:aad:b2c:elements:contract:selfasserted:2.0.0
and add "contract" into all content definition dataURIs like this, only selfasserted needs to be 2.0.0
https://learn.microsoft.com/en-us/azure/active-directory-b2c/contentdefinitions#migrating-to-page-layout
and then follow this https://learn.microsoft.com/en-us/azure/active-directory-b2c/javascript-samples#add-the-scriptexecution-element

Data Driven SSRS Subscription using the XML-Based Query Language for SharePoint List Connections

I have an SSRS report that uses the SharePoint List data connection. It works just fine using the query below. I want a Data Driven Subscription to email the report to the user whose email address shows in the report. The problem is that a user can show up multiple times in the same run of the report and SSRS seems to want to send them an email for each time their email address shows up. I used to do this all the time with reports that used standard t-SQL using Select Distinct but this xml based query language doesnt seem to have such a function.
Does anyone have any ideas about how to either get SSRS to be smart enough to send only one email per person OR get a variation on this query to only return each email address once?
Thanks
<RSSharePointList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ListName>SSRS_Subscriptions</ListName>
<ViewFields>
<FieldRef Name="Title" />
<FieldRef Name="count" />
<FieldRef Name="eMail" />
<FieldRef Name="Org" />
</ViewFields>
<Query>
<Where>
<Gt>
<FieldRef Name="count" />
<Value Type="Number">0</Value>
</Gt>
</Where>
</Query>
</RSSharePointList>

Disable 'assign to' at workflow notifications

I'm working with Liferay Workflow and I've got a problem. The workflow goes this way: the user submits an asset and when the reviewer approves it, a notification is sent to the author. If the user opens the notification, there will be an option to assign the next workflow task to himself. But the user has not the responsible role to do this. It happens only at notifications, if the user goes to My account > My workflow tasks, there will be nothing assigned to him or his roles.
Any ideas how to solve it? Thanks in advance!
this is some code from a working workflow where the "asset creator" does not need to assign the task to himself. I think you need to put in the assignment, "user" reflects to the asset creator.
<task>
<name>update</name>
<metadata><![CDATA[{"xy":[160,208],"transitions":{"resubmit":{"bendpoints":[[178,171]]},"Submit changes":{"xy":[-18,2],"bendpoints":[[178,171]]}}}]]></metadata>
<actions>
<notification>
<name>update notification</name>
<template>${taskComments}</template>
<template-language>freemarker</template-language>
<notification-type>user-notification</notification-type>
<recipients>
<user/>
</recipients>
<execution-type>onEntry</execution-type>
</notification>
<notification>
<name>update email notification</name>
<description>Update required</description>
<template>Dear ${userName}<br></template>
<template-language>freemarker</template-language>
<notification-type>email</notification-type>
<recipients>
<user/>
</recipients>
<execution-type>onEntry</execution-type>
</notification>
</actions>
<assignments>
<user></user>
</assignments>
<task-timers>
<task-timer>
<name>default-assignment</name>
<delay>
<duration>1</duration>
<scale>minute</scale>
</delay>
<blocking>true</blocking>
<timer-actions>
<timer-notification>
<name>reminder update</name>
<description>Reminder: update needed</description>
<template>Dear ${userName}<br></template>
<template-language>freemarker</template-language>
<notification-type>email</notification-type>
</timer-notification>
<reassignments>
<user></user>
</reassignments>
</timer-actions>
</task-timer>
</task-timers>
<transitions>
<transition>
<name>submit changes</name>
<target>review</target>
</transition>
</transitions>
</task>

Can i format the Note section of Email to have HTML in Docusign Templates?

I am trying to understand if I can add HTML elements to the note in DOCUSIGN template.
The reason is I want certain text of NOTE to be BOLD and certain to be regular characters.
Appreciate your help
Based on my testing, it's possible to specify BOLD text within a note by using the API, but not by using the DocuSign web console (UI).
For example, if I submit a "Create Envelope" API request with the following recipients structure -- including a recipient note that specifies BOLD text -- the bold text correctly renders both in the email that the recipient receives, as well as in the Note that's displayed to the recipient when they open the Envelope:
<recipients>
<signers>
<signer>
<email>johnsemail#outlook.com</email>
<name>John Doe</name>
<recipientId>1</recipientId>
<routingOrder>1</routingOrder>
<note>Test note with <b>BOLD text</b>.</note>
<tabs>
<signHereTabs>
<signHere>
<documentId>1</documentId>
<pageNumber>1</pageNumber>
<xPosition>10</xPosition>
<yPosition>100</yPosition>
</signHere>
</signHereTabs>
</tabs>
</signer>
</signers>
</recipients>
However, using that same technique to specify bold text within a Note using the DocuSign web console (UI) doesn't work -- the text is NOT bold in either the email that the recipient receives or in the note they see within the Envelope itself. i.e., here's how I specified the Note via the DocuSign UI:
And here's how it renders both in the email and in the Envelope for the recipient:

SharePoint update list item through web service using DisplayName

To add a list item in SharePoint 2007/2010 I currently use the following XML:
<Batch OnError='Continue' ListVersion="1">
<Method ID="1" Cmd="New">
<Field Name="ID">New</Field>
<Field Name="Title">anyTitle</Field>
<Field Name="Account_x0020_Name">SomeText</Field>
</Method>
</Batch>
Sometimes the internal name is not equal to the display name. For example here the DisplayName is "Account Name" but its internal name is "Account_x0020_Name".
Is there any way to create a new list item using the DisplayName instead of the internal name?
I've already tried using <Field DisplayName="Account Name">SomeText</Field> but that gives a SoapException.
Any Ideas?
You need to use the Internal Field Name. The easiest way to get it is via list/library settings, selecting the field and looking for the name in the URL.

Resources