Use" Copy List Item Extended Activity" to move items in sharepoint list
Hi
I use “Copy List Item Extended Activity” in my workflow to move items to special folder in document library.it’s ok. But when I use this action to move items in special folder in list, it dose not work! Why?
This action only work with document library to move or copy items?
If not, how I can address special folder of list in “this url” in Copy List Item Extended Activity action?
Thanx.
Hi luckstar,
please have a check on this article:
http://spdactivities.codeplex.com/wikipage?title=Copy%20List%20Item%20Extended%20Activity&referringTitle=Home
when copying/moving files in and out of doc. libs, path to a sub folder can be specified as the destination (ex. http://moss/site/doclib/subfolder)
if should you already done this step, then please have a check the permission from the user account that you use, do the user account
have the enough permission on that other URL.
Regards,
Aries
Microsoft Online Community Support
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Similar Messages
-
In my listbox I want to create an error message for when I click the 'move item up' button and the item is already at the top of the list, but I am not sure how to do it.
Here is the code I have right now:
if (ListBox. )
MessageBox.Show("Item is already at the top of list.");
return;
I also want to know how I would do the same for a 'move item down' button (if it is at the bottom of the list and I click 'move item down' button).
Thanks.Here is the code,
C#
public void button1_click(object sender, EventArgs e)
if (ListBox1.SelectedIndex == 0) {
//MSGBOX
return;
//'Your move up code
public void button2_click(object sender, EventArgs e)
if (ListBox1.SelectedIndex == ListBox1.Items.Count - 1) {
//MSGBOX
return;
//'Your move down code
Insert each code in their own buttons.
VB.net
Public Sub button1_click(sender As Object, e As EventArgs) Handles UpButton.click
If ListBox1.SelectedIndex = 0 Then
'MSGBOX
Exit Sub
End If
''Your move up code
End Sub
Public Sub button2_click(sender As Object, e As EventArgs) Handles DownButton.click
If ListBox1.SelectedIndex = ListBox1.Items.Count - 1 Then
'MSGBOX
Exit Sub
End If
''Your move down code
End Sub -
Is there a way to use SPD workflow to enhance the alert function in a SharePoint list?
I have a request to achieve this:
the Alert function in a list only allows a user to get alert when anything changes or created, but there is no way to specify notification before a certain field date. For Example, users want to be able to choose to receive a reminder
10 days before expiry date.
The requirement:
1) A user can set a reminder if they wish - so cannot be systematic automatic reminder
2) A user can choose how many days before expiry to receive reminder
I tried workflow by adding additional columns to set the user name to receive reminder and # of days before expiry day to send reminder. But that setting can only apply to one user at time, and the user has to set one item at time, e.g. if user A sets
5 days prior for the reminder on an item. then user B changed it to 4 days, then user A's setting if overwritten.
So this is really a customization of the alert function, but wonder if it can be achieved by workflow created in SPD (or NinTex?)
Thanks in Advance for any tips!One option i can think of is, you can set the Create and Edit access: in Advanced Setting from List setting to Create items and edit items that were created by the user, so that other users can't override the items created by other
users.
My Blog- http://www.sharepoint-journey.com|
If a post answers your question, please click Mark As Answer on that post and Vote as Helpful -
Excel Spreadsheet as Data Source & Copying that Data to an Existing SharePoint List
Hello,
I have an Excel spreadsheet that I get daily and cut and paste into an existing SharePoint list. Is there a way to make that Excel spreadsheet a data source and copy the data to an existing SharePoint list with less manual involvement?
Tools at my disposal include: SharePoint 2010 Designer, InfoPath, and Access.
I thought there might be a REST method I could use via InfoPath but I'm not aware of any offhand.
Goal is to have a method to upload/overwrite an Excel file (stored in a SharePoint library), every day, and then automate the process of copy it to a SharePoint list (actually overwriting the old data in the SharePoint list).
Any help would be greatly appreciated.Hi,
We can create a console application and use C# code to read the data from the Excel file and using SharePoint .Net Client Object Model to add the data into a SharePoint list, then create a windows job to execute the console application.
The following articles for your reference:
How to: Create a Console Application
https://msdn.microsoft.com/en-us/library/office/ms438026(v=office.14).aspx
C# How To Read .xlsx Excel File With 3 Lines of Code
http://www.codeproject.com/Tips/801032/Csharp-How-To-Read-xlsx-Excel-File-With-Lines-of
How to: Create, Update, and Delete List Items
https://msdn.microsoft.com/en-us/library/office/ee539976%28v=office.14%29.aspx?f=255&MSPPError=-2147217396
Schedule a task
http://windows.microsoft.com/en-au/windows/schedule-task#1TC=windows-7
Best Regards
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
How to move items from one JList to other
Can u pls help me out to implement this(I m using Netbeans 5.5):
I want to move items from one JList to other thru a ADD button placed between JLists, I am able to add element on Right side JList but as soon as compiler encounter removeElementAt() it throws Array Index Out of Bound Exception
and if I use
removeElement() it removes all items from left side JList and returns value false.
Pls have a look at this code:
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
Object selItem = jList1.getSelectedValue();
int selIndex = jList1.getSelectedIndex();
DefaultListModel model = new DefaultListModel();
jList2.setModel(model);
model.addElement(selItem);
DefaultListModel modelr = new DefaultListModel();
jList1.setModel(modelr);
flag = modelr.removeElement(selItem);
//modelr.removeElementAt(selIndex);
System.out.println(flag);
}hi Rodney_McKay,
Thanks for valuable time but my problem is as it is, pls have a look what I have done and what more can b done in this direction.
Here is the code:
import javax.swing.DefaultListModel;
import javax.swing.JList;
public class twoList extends javax.swing.JFrame {
/** Creates new form twoList */
public twoList() {
initComponents();
//The code shown below is automatically generated and we can�t edit this code
// <editor-fold defaultstate="collapsed" desc=" Generated Code ">
private void initComponents() {
jScrollPane1 = new javax.swing.JScrollPane();
jList1 = new javax.swing.JList();
jButton1 = new javax.swing.JButton();
jScrollPane2 = new javax.swing.JScrollPane();
jList2 = new javax.swing.JList();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
jList1.setModel(new javax.swing.AbstractListModel() {
String[] strings = { "Item 1", "Item 2", "Item 3", "Item 4", "Item 5" };
public int getSize() { return strings.length; }
public Object getElementAt(int i) { return strings[i]; }
jList1.addListSelectionListener(new javax.swing.event.ListSelectionListener() {
public void valueChanged(javax.swing.event.ListSelectionEvent evt) {
jList1ValueChanged(evt);
jScrollPane1.setViewportView(jList1);
jButton1.setText("ADD>>");
jButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton1ActionPerformed(evt);
jScrollPane2.setViewportView(jList2);
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(31, 31, 31)
.addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 44, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jButton1)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 63, javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(78, Short.MAX_VALUE))
layout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {jScrollPane1, jScrollPane2});
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(62, 62, 62)
.addComponent(jButton1))
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))
.addContainerGap(159, Short.MAX_VALUE))
layout.linkSize(javax.swing.SwingConstants.VERTICAL, new java.awt.Component[] {jScrollPane1, jScrollPane2});
pack();
}// </editor-fold>
//automatic code ends here
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
jList1 = new JList(new DefaultListModel());
jList2 = new JList(new DefaultListModel());
Object selItem = jList1.getSelectedValue();
System.out.println(selItem);
((DefaultListModel) jList1.getModel()).removeElement(selItem);
((DefaultListModel) jList2.getModel()).addElement(selItem);
//Now trying with this code it is neither adding or removing and the value �null� is coming in �selItem� .It may be bcoz JList and Jlist are already instantiated in automatic code. So, I tried this:
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
Object selItem = jList1.getSelectedValue();
System.out.println(selItem);
((DefaultListModel) jList1.getModel()).removeElement(selItem);
((DefaultListModel) jList2.getModel()).addElement(selItem);
//Now with this as soon as I click on �jButton1�, it is throwing this error:
Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: twoList$1 cannot be cast to javax.swing.DefaultListModel
at twoList.jButton1ActionPerformed(twoList.java:105)
at twoList.access$100(twoList.java:13)
at twoList$3.actionPerformed(twoList.java:50)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121) -
SSIS Data Flow task using SharePoint List Adapter Setting SiteUrl won't work with an expression
Hi,
I'm trying to populate the SiteUrl from a variable that has been set based on a query to a SQL table that has a URL field. Here are the steps I've taken and the result.
Created a table with a url in it to reference a SharePoint Task List.
Created a Execute SQL Task to grab the url putting the result set in a variable called SharePointUrl
Created a For Each container and within the collection I use the SharePointUrl as the ADO object source variable and select rows in the first table.
Still in the For Each container within the Variable mappings I have another Package Variable called PassSiteUrl2 and I set that to Index 0 or the value of the result set.
I created a script task to then display the PassSiteUrl2 variable and it works great I see my url
This is where it starts to suck eggs!!!!
I insert a Data Flow Task into my foreach loop.
I Insert a SharePoint List Adapter into my Data Flow
Within my SharePoint List Adapter I set my list to be "Tasks", My list view to be "All Tasks" and then I set the url to be another SharePoint site that has a task list just so there is some default value to start with.
Now within my Data Flow I create an expression and set the [SharePoint List Source].[SiteUrl] equal to my variable @[User::PassSiteUrl2].
I save everything and run my SSIS package and it overlays the default [SharePoint List Source].[SiteUrl] with blanks in the SharePoint List Adapter then throws the error that its missing a url
So here is my question. Why if my package variable displays fine in my Control Flow is it now not seen or seen as blanks in the Data Flow Expression. Anyone have any ideas???
Thanks
Donald R. LandryThanks Arthur,
The scope of the variable is at a package level and when I check to see if it can be moved Package level is the highest level. The evaluateasexpression property is set to True. Any other ideas?
I also tried to do the following. Take the variable that has the URL in it and just assign it to the description of the data flow task to see if it would show up there (the idea being the value of my @[User::PassSiteUrl] should just show in the
description field when the package is run. That also shows up blank.
So i'm thinking its my expression. All I do in the expression is set [SharePoint List Source].[SiteUrl] equal to @[User::PassSiteUrl] by dragging and dropping the variable into the expression box. Maybe the expression should be something
else or is their a way to say @[User::PassSiteUrl] = Dts.Variables("User::PassSiteUrl2").Value.ToString()
In my script task I use Dts.Variables("User::PassSiteUrl2").Value.ToString() to display
the value in the message box and that works fine.
Donald R. Landry -
Creating a Report Using a SharePoint List
I am using a SharePoint List that Named as 'Service Requests'. It has some fields with Date, Time, Status. The Date & Time will be entered. The Status as three values & those will be selected using a Drop Down List Box. The Statuses are 'In Progress,
Completed, In completed'.
I want to create a Report using this SharePoint List that include status with other fields in monthly basis. As an example I want the report about the Service Requests within the December month.
I also need to know how am I able to link this report to a Web Menu that in the SharePoint Site. Because there is a web menu in that SharePoint Site. I have not developed this site so I don't know the type of the web menu of this site.
I think someone can help me to solve these problems.
Regards,
ChiranthakaHi Chiranthaka,
According to your description, my understanding is that you want to create a report based on a SharePoint list.
I agree with Trevor’s and Mohammad’s suggestion to use SQL Server Reporting Service to create the report for SharePoint list.
You need to configure Reporting Services for SharePoint 2010 and then use it to create reports.
Here are two links with the detailed steps to create report using SSRS with SharePoint for you to refer:
http://aaclage.blogspot.in/2011/11/create-reports-with-sharepoint-2010-and.html
http://nikpatel.net/2010/06/11/step-by-step-consuming-sharepoint-2010-lists-data-in-the-ssrs-2008-r2-reports/
Best regards.
Thanks
Victoria Xia
TechNet Community Support -
How to use SSIS 2014 to read from Sharepoint List ?
Hi there,
I have designed a simple entry form for users using List in Sharepoint 2013.
I need to use the information to merge into my datawarehouse.
Question :
1. How can I setup SSIS (SQL 2014) to get the source from List in Sharepoint?
I have tried to download the script as suggested in codeplex but it seems not working with SQL 2014 as there is no SSIS toolbar displayed.
Any help is much appreciated
Thank you and Best RegardsHi SylviaO,
The current
SharePoint List Adapter that extracting and loading SharePoint Data in SQL Server Integration Services supports x86/x64 systems using SQL 2005 / SQL 2008 / SQL 2008 R2/ SQL 2012. It doesn’t support SQL 2014. Maybe we need wating the update.
Besides, the
OData Source component can also be used to read from SharePoint lists. So we can download and install the 64 bit ODataSourceForSQLServer2014-amd64.msi or 32 bit ODataSourceForSQLServer2014-x86.msi from the
Microsoft® SQL Server® 2014 Feature Pack.
The following blog about using the SSIS OData Source Connector to read data from SharePoint lists is for your reference:
http://whitepages.unlimitedviz.com/2014/03/using-the-odata-source-connector-with-sharepoint-online-authentication/
If there are any other questions, please feel free to ask.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
PS CS5 Extended on Windows
When trying to use the clone stamp and/or healing brush as soon as I move the cursor from the toolbar over to the image I get an exact copy of the existing layer that moves around the window with the movement of the clone stamp/healing brush. This just started tonight. What's causing this weird behaviour?What are the settings in Window > Clone Source?
-
Copy Attachments of sharepoint list item to a document library using Javascript on click of a button
The requirement is as follows:
1. We have a SP list. All items in the list have mulitple attachments.
2. On click of a button, All the attachments of all items should be copied to a document library
This is to be done from client side only. No server code is acceptable. We have tried following things:
1. USing Asynch call
context = new SP.ClientContext("my site name");
this.oWebsite = context.get_web();
var lists = oWebsite.get_lists();
var list = lists.getByTitle('my list name');
context.load(oWebsite);
var folderPath = 'Lists/<my list name>/Attachments/' + folderId;
var Folder = oWebsite.getFolderByServerRelativeUrl(folderPath);
context.load(Folder);
Files = Folder.get_files();
context.load(Files);
context.executeQueryAsync(Function.createDelegate(this, this.ExecuteCopyOnSuccess), Function.createDelegate(this, this.ExecuteCopyOnFailure));
function ExecuteCopyOnSuccess(sender, args) {
for(var p=0;p<this.Files.get_count();p++)
var file = Files.itemAt(p);
var filename = file.get_name();
if (filename != null) {
var newUrl = 'document library url';
file.copyTo(newUrl, true);
context.executeQueryAsync(null,null);
In this case, Files.get_count() throws error - The collection has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested.
2. Using copy.asmx service
It copies files to document library but some files are blank and are having size 0.
Thanks!Hi,
I think you can use Document Content types or document sets -
Here are links that you can refer to
http://office.microsoft.com/en-us/windows-sharepoint-services-help/introduction-to-content-types-HA010121570.aspx
http://msdn.microsoft.com/en-us/library/office/ms472236(v=office.14).aspx
http://office.microsoft.com/en-us/sharepoint-server-help/create-and-configure-a-new-document-set-content-type-HA101782461.aspx
http://office.microsoft.com/en-us/sharepoint-server-help/introduction-to-document-sets-HA101782466.aspx?CTT=5&origin=HA101782461
Hope this helps!
MCITP: SharePoint 2010 Administrator
MCTS - MOSS 2007 Configuring, .NET 2.0
| SharePoint Architect | Evangelist |
http://www.sharepointdeveloper.in/
http://ramakrishnaraja.blogspot.com/ -
Items in Tree control move around when data is submitted using custom ItemRenderer
I'm working on a Tree control with an XMLListCollection as
its dataProvider.
The dataProvider has information looking like this :
quote:
<?xml version='1.0' encoding='utf-8'?>
<INFO>
<FIELD label="STR_USER_NAME"
type="text"
value=""
>
</FIELD>
<FIELD label="STR_USER_EMAIL"
type="text"
value=""
>
</FIELD>
<FIELD label="STR_OPTIONAL"
type="branch"
value="0"
>
<FIELD label="STR_USER_ADDRESS"
type="text"
value=""
>
</FIELD>
<FIELD label="STR_USER_POSTAL_CODE"
type="text"
value=""
>
</FIELD>
</FIELD>
</INFO>
So in the Tree control I'd like the information to show up
with a label and
an
editable textbox for each item :
[Label] [textbox]
To do this I made a tree like this :
quote:
<mx:Tree id="userTree"
editable="true"
rendererIsEditor="true"
editorDataField="curVal"
itemRenderer="{new ClassFactory(ItemRendererUser)}"
itemEditEnd="e_ProcessData(event);"
dataDescriptor="{new DataDescriptorUsers()}"
showRoot="false"
verticalScrollPolicy="{ScrollPolicy.AUTO}"
/>
where the e_ProcessData() function looks like this (I used
http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/js/html/wwhelp.htm?href=c
elleditor_073_16.html#202105 as a guide) :
quote:
public function e_ProcessData(event:ListEvent):void
event.preventDefault();
userTree.editedItemRenderer.data.@value =
ItemRendererUsers(event.currentTarget.itemEditorInstance).curVal;
userTree.destroyItemEditor();
userTree.dataProvider.notifyItemUpdate(userTree.editedItemRenderer);
} // END OF e_ProcessData()
I attached the rest of the files because they're a little
bit longer.
When I run the program, the data shows up fine when it is
initialized the
very
first time, and I made a test button that just dumps the
contents of the
dataProvider in a trace statement to verify that the data has
been set
properly.
The problem I've run into is whenever the textfield is
edited, the item
that
I've selected jumps around the list.
For example, if I edit the item "STR_USER_NAME" after I
finish the edit, it
will move from the very first position in the Tree to the
bottom of the
Tree.
I traced the contents of the dataProvider and the
dataProvider structure
stays
the same, with the "STR_USER_NAME" at the top, but if I look
at the flex app
in
the web browser, its position is at the bottom of the Tree.
This happens for every other item I try to edit... I read in
the
documentation
that the ItemRenderers are recycled, so it means I should be
checking to
make
sure the initial states are covered, but I'm not sure how
this affects my
application.
Can anyone help me out with this ? Its very confusing - I've
tried making
an
ItemRenderer using pure actionscript, mxml and the
combination you see in
this
example and I always end up with the same behaviour - So I
must be missing
something critical...
// ItemRendererUsers.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="
http://www.adobe.com/2006/mxml"
verticalScrollPolicy="{ScrollPolicy.OFF}"
horizontalScrollPolicy="{ScrollPolicy.OFF}"
creationComplete="initItemRendererUsers();"
>
From my FAQ:
Q: I've created a custom itemRenderer component to use in a
List
based component (Datagrid, TileList, HorizontalList, etc.).
When my List
first displays, everything looks fine, but when I scroll it
or change the
dataProvider, some of the itemRenderers show values or
formatting that
aren't right. How do I fix this?
A: List-based components don't draw a renderer for every item
in the
dataProvider. Instead, they create enough to display what is
on screen now,
plus one or two more waiting in the wings. This means they
recycle the
renderers rather than creating new ones when you change
dataProvider or
scroll up and down. When you use a creationComplete event to
set up the
itemRenderer, that event doesn't happen again when the
renderer is used for
a different set of data. The solution to this is to override
the set data
protected function that most components have.
For more information, check out the following resources:
http://www.adobe.com/devnet/flex/articles/itemrenderers_pt1.html?devcon=f1
http://blogs.adobe.com/aharui/2007/03/thinking_about_item_renderers_1.html
Please note, I post this FAQ weekly, and you can find a
permanent copy of it
here
http://www.magnoliamultimedia.com/flex_examples/Amys_Flex_FAQ.pdf"peterh8234" <[email protected]> wrote in
message
news:gaqttd$kft$[email protected]..
> Yes - the set and get functions are listed down below.
But the quirky
> behaviour
> is the same regardless of whether I override the set and
get functions or
> not.
>
> I noticed there was another variable called listData -
should I be using
> that
> one or the data variable to read and write to the
dataProvider ?
>
> // _data
> [Bindable] public var _data:Object;
> [Bindable("dataChange")]
> //
> override public function get data():Object
> {
> trace('[ItemRendererDefault.GET data()] called for {' +
> _data.attribute("label") + '}.');
> return _data;
> } // END OF get data()
>
> //
> override public function set data(value:Object):void
> {
> _data.@value = inputText.text;
> trace('[ItemRendererDefault.SET data()] called for {' +
> _data.attribute("label") + '}.');
>
> invalidateProperties();
> } // END OF set data()
Your set data needs to set a flag that gets picked up in
commitProperties()
and does your thing that you were doing before in
creationComplete. You
should see examples of this in the links I posted. Instead of
this:
_data.@value = inputText.text;
you should look at implementing IDropInListItemRenderer,
which will allow
you to dynamically determine which field to look at, instead
of hardcoding
it. You also might wind up overwriting the stored value with
a null value
when the List passes the stored value in. I'd encourage you
to really go
through those links I posted and make sure you understand
what they're
saying. The itemRenderer life cycle is one of the hardest
things to
understand, but once you understand it, it makes many things
in Flex much
easier. It's worth investing the time. -
How to move items from one list to other
hi all,
in jsp page i have twolist boxes. i want to move item from one list to other list on click of add or move button. can u plz suggest me an answer for the above. thank u
Regards sangeetThis link should help. Remove from one list and add to the other using Javascript.
http://www.mredkj.com/tutorials/tutorial006.html -
How to move rows up and down on a SharePoint List Item
Hello,
I have created a simple Project Plan Template for my team using a SharePoint list.
I have listed a sample below:
Date
Tasks
Owner
03/09/14 Gather requirement
X
05/09/14 Develop
Y
07/09/14 Deploy
Y
Currently there is no functionality in the template to add another task to update the Plan. eg: I want to add another task with a due date 04/09/14 to confirm requirements.
So basically I want to be able to add an item (task) towards the end and then move it to desired position depending on the due date.
Please suggest how this can be implemented without complex code changes as I am new to working with SharePoint.
Many Thanks in advance,
BHHi ,
Thanks for the response.
But I am looking to move the rows in a particular list A and not between 2 separate list items A and B according to the date.
List Project A has separate tasks defined which needs to accomplished in a timely manner for the project to complete on schedule.
I want to be able to move these tasks which are in a table on the SharePoint List.
Hope this is clear.
Please let me know if you have suggestions for this.
-BH -
Get particular item count in sharepoint list using designer Workflow
How to get specific item count in sharepoint list using designer Workflow 2013.
For Example
Title Count
x 1
y 1
x 2
x 3HI Thiru,
Can you please elaborate your problem. Is that Title and count are your list columns you want to fetch the value of count column based on title?
If my interpretation in not wrong, then it's not possible in SPD with the case you have mentioned in your question as Title='x' is having 3 different entries and SPD activity will always return first matching item and ignore the rest with warning message.
Regards,
Brij K -
How to update an existing item in a sharepoint list using the WSS adapter for Biztalk
Is there a way that a record in SP list be updated using WSS adapter in biztalk ?
BizTalk 2013 and SP 2013 ..
Regards
Ritu Raj
When you see answers and helpful posts,
please click Vote As Helpful, Propose As Answer, and/or Mark As AnswerA ListItem has its own unique row id so in all likelihood, an insert with the same data will result in a new list entry. The Lists Web Service however, has an UpdateListItem method which will take an update request. [refer
http://msdn.microsoft.com/en-us/library/office/websvclists.lists.updatelistitems(v=office.15).aspx ]
There is another note in the conference (marked answered) to your List Item Update problem. Probably worth a try too. [refer
http://social.msdn.microsoft.com/Forums/en-US/bee8f6c6-3259-4764-bafa-6689f5fd6ec9/how-to-update-an-existing-item-in-a-sharepoint-list-using-the-wss-adapter-for-biztalk?forum=biztalkgeneral ]
Regards.
Maybe you are looking for
-
HI frds:) I need some help regarding writeing soem queries.. I have to use view in retreving data and by useing member functions of object. 1) i have to create a nested table by useing type object. 2) i have to create a object wtih member functions i
-
Does a dial-up modem just "go out"?
I gave my G3 350 iMac running Panther to a friend in need (PC user). He uses dial-up, so I got the machine all set up with his account info (Earthlink), and he had service when he got home. He got the Earthlink CD in the mail, and stuck it in, and sa
-
The Application Resource Monitor in my Blackberry-9360 is continuously flashing the message that the Blackberry is "Low on Memory" and asks for a restart. I have done the reboot of the phone many-a-times, but still it shows the same message again. H
-
Need help with setting the entry point for application
Hi there, I am kinda new to creating JAR files for application. I checked out the tutorials for creating the jar files, and I understood most of the concepts. There is one part in the tutorial which I still don't understand it says: We want to execut
-
Has anyone found a good cigarrette lighter power adapter for the zen touch? thanks, -jay