Nintex for SharePoint Forum
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results forÂ
I have figured out how to create a Workflow constant with PowerShell, but I can't figure out how to create the constant as a Site Collection level constant.
Anyone have any idea's?
Nevermind I figured it out. Just set the Web.Id parameter of the constructor to Empty.Guid
$web = Get-SPWeb -Identity "SiteUrlHere"
$guidEmpty = [System.Guid]::Empty;
$wfConstant = New-Object Nintex.Workflow.WorkflowConstant("MaxRulesTheConstants", "Werd", "WHAT!?YEAH!?", $false, $web.Site.Id, $guidEmpty, "String", $false);
$wfConstant.Update()
I'm so glad you posted this! I'm interested in your work on what brought up this question. Please blog what you were working on!
Hi, James Stafford​! I agree with Andrew, it would be a good blog post!
Be happy to. I have actually never put up a blog post so I am not sure where I should go.
From: "andrewg@intellinet.com" <community@nintex.com>
To: James Stafford <thisisjimmy@yahoo.com>
Sent: Tuesday, December 29, 2015 6:55 PM
Subject: Re: - Use PowerShell to create Site Collection Nintex Workflow Constants
#yiv9803593542 * #yiv9803593542 a #yiv9803593542 body {font-family:Helvetica, Arial, sans-serif;}#yiv9803593542 #yiv9803593542 h1, #yiv9803593542 h2, #yiv9803593542 h3, #yiv9803593542 h4, #yiv9803593542 h5, #yiv9803593542 h6, #yiv9803593542 p, #yiv9803593542 hr {}#yiv9803593542 .yiv9803593542button td {}
|
Nintex Community |
|
Use PowerShell to create Site Collection Nintex Workflow Constants
reply from Andrew Glasser in Dev Talk - View the full discussionI'm so glad you posted this! I'm interested in your work on what brought up this question. Please blog what you were working on!
Reply to this message by replying to this email, or go to the message on Nintex Community |
Start a new discussion in Dev Talk by email or at Nintex Community |
Following Use PowerShell to create Site Collection Nintex Workflow Constants in these streams: Inbox |
This email was sent by Nintex Community because you are a registered user.
You may unsubscribe instantly from Nintex Community, or adjust email frequency in your email preferences |
|
Happy to help. If you visit Dev Talk​, you'll see a link for "actions" at the upper-right. (image below)
Just click that and select "blog," and type away..
No rush. I just wanted to take the opportunity to let you know I am happy to see content created by members with good stuff to share.
All the best!
Frank
Huh.
Maybe I don't have permissions for blogs?
The only things I see under actions after I log in is Discussions and Feeds.#yiv9360426397 * #yiv9360426397 a #yiv9360426397 body {font-family:Helvetica, Arial, sans-serif;}#yiv9360426397 #yiv9360426397 h1, #yiv9360426397 h2, #yiv9360426397 h3, #yiv9360426397 h4, #yiv9360426397 h5, #yiv9360426397 h6, #yiv9360426397 p, #yiv9360426397 hr {}#yiv9360426397 .yiv9360426397button td {}
Try the same thing in the Learn More forum.
Dropped the blog post in Using Power Shell to create Site Collection Level Workflow Constants
Sorry if I misled you! I moved the blog to Dev Talk for you.
Thanks for posting it!