Does anyone know how you can modify the fields in an out-of-the-box (OOTB) Workflow Task (specifically Priority and Due Date)? The OOTB Approval workflow doesn't allow you to set these fields (it allows setting a due date, but not a due time).
I had a cunning plan to create a custom workflow in Visual Studio to set these fields automat...
Hello. I found something quite odd(I think!). If I try to put a breakpoint in the yes() method, it will never pause the program when it executes the function. If I try to do the same to any other line of code, it will work just as expected. Is it a bug, or is there something that's escaping me?
The filter will return the 2 objects, ever...
Hello Fellow Developers:
I have an issue that I am sure someone out here have solved easier than what I am thinking to do. I have a list that have name and number. Name is required and could be duplicate and number could only be one, but not required.
|name|number|
|A |2 |
|A | |
|B | |
|C | |
|C | |...
Hello,
i have an issue i could use some help with, i have python list that looks like this:
fail = [
['da39a3ee5e6b4b0d3255bfef95601890afd80709', 'ron\\b\\include', 'Test.java']
['b5cc17d3a35877ca8b76f0b2e07497039c250696', 'ron\\c', 'apa1.txt']
['95d1543adea47e88923c3d4ad56e9f65c2b40c76', 'ron\\c', 'knark.txt']
['da39a3ee5e6b4b0d3255bf...
I have a simple list like this:
<ul id="cyclelist">
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
and I am using jQuery to cycle through the list. The first problem is finding if the list has more than one elements to start with. I expect something like this to work:
var $list = $('#cyclelist');
if ($list.length > 1...
I'm trying to learn Erlang using the Karate Chop Kata. I translated the runit test supplied in the kata to an eunit test and coded up a small function to perform the task at hand.
-module(chop).
-export([chop/2]).
-import(lists).
-include_lib("eunit/include/eunit.hrl").
-ifdef(TEST).
chop_test_() -> [
?_assertMatch(-1, chop(3, []))...
I am trying to get NerdDinner to work, and having a bit of trouble.
I have quick watched at the point where the actionResult for index happens, and seen that the items from the dinnerRepository are on the right side of the asignment operator.
However it seems when I step through to the next line of the code, dinners, which is passed to...
I am a LINQ newbie trying to use it to acheive the following:
I have a list of ints:-
List intList = new List(new int[]{1,2,3,3,2,1});
Now, I want to compare the sum of the first three elements [index range 0-2] with the last three [index range 3-5] using LINQ. I tried the LINQ Select and Take extension methods as well as the SelectMa...
If I have:
List<string> myList1;
List<string> myList2;
int placeToCheckValues = 0; //Used for breakpoints since the values don't get updated until after the line is executed
myList1 = getMeAList();
placeToCheckValues = 0; //Checked myList1 here, it contains 4 strings
myList2 = getMeAnotherList();
placeToCheckValues = 0; //Checke...
I cave created a custom list in sharepoint (created and provisioned to the 12 hive)
how can i perform validation on certain fields of the list when a new list item is added?
i think i can do it through the "itemadding" event reciever, but is there a more elegant sharepoint way?
eg i just want to check an email field has a valid email ...
how can i redirect to a "Thank You" page after a user has entered a new item into a custom list that I have provisioned.
one way i can think of is in the item adding event receiver but is there a CAML way of doing it?
...
Hello,
i have a list of lists that looks like this:
dupe = [['95d1543adea47e88923c3d4ad56e9f65c2b40c76', 'ron\\c', 'apa.txt'], ['95d1543adea47e88923c3d4ad56e9f65c2b40c76', 'ron\\c', 'knark.txt'], ['b5cc17d3a35877ca8b76f0b2e07497039c250696', 'ron\\a', 'apa2.txt'], ['b5cc17d3a35877ca8b76f0b2e07497039c250696', 'ron\\a', 'jude.txt']]
I w...
Hey everyone, great community you got here. I'm an Electrical Engineer doing some "programming" work on the side to help pay for bills. I say this because I want you to take into consideration that I don't have proper Computer Science training, but I have been coding for the past 7 years.
I have several excel tables with information (a...
I am using VSeWSS 1.3 to create a custom list definition scoped to 'Site'.
<Elements Id="8924acef-84ef-4584-ade4-e3eaeb8df345" xmlns="http://schemas.microsoft.com/sharepoint/">
<ListTemplate Name="MyListDefinition"
DisplayName="MyList"
Description=""
BaseType="0"
...
The following code makes a list of names and 'numbers' and gives each person a random age between 15 and 90.
#!/bin/sh
file=$1
n=$2
# if number is zero exit
if [ "$n" -eq "0" ]
then
exit 0
fi
echo "Generating list of $n people."
for i in `seq 1 $n`;
do
let "NUM=($RANDOM%75)+15"
echo "name$i $NUM (###)###-####" >> $file
d...
In java i would read the whole file in to byte array and do some processing with it. Now i want to implement the same algorithm in clojure.
What i am wondering is can i use a list instead of an array?
I know i can create array from clojure but what is the lisp way of handling this?
...
Recently, I was discussing with another programmer the best way to refactor a huge(1000 lines) method full of "if" statements.
The code is written in Java, but I guess this issue could happen in other languages such as C# as well.
To solve this problem, he suggested using a chain-of-responsibility pattern.
He proposed having a base "Ha...
String[] a = c.toArray(new String[0]);
First: Do I need type cast here? (I think we should write like (String[])c.toArray(); BUT I have seen it as just c.toArray() without using type cast. Is this valid?
Second: Also why we write new String[0]?
...
I have a handful of records that I would like to sort based on a computed value. Got the answer over here... like so:
sorted (Profile.objects.all (), key = lambda p: p.reputation)
on a Profile class like this:
class Profile(models.Model):
...
@property
def reputation(self):
...
Unfortunately the generic view i...
Using C#, is there a direct way to export a List of Lists (i.e., List<List<T>>) to Excel 2003?
I am parsing out large text files and exporting to Excel. Writing one cell at a time creates way too much overhead. I chose to use List<T> so that I would not have to worry about specifying the number of rows or columns.
Currently, I wait unt...