2013 Workflows - Trigger a workflow from a Content Type
So now that a workflow cannot be triggered from a Content Type, how are people doing this now?
Any suggestions appreciated.
Thanks
J Sykes
Hi,
According to your description, my understanding is that you want to trigger a workflow from a Content Type.
As we all know, we can attach a workflow to a Content Type, but the workflow cannot run until the Content Type is added to a list or library.
The elements of a list content type include the columns of metadata that are associated with the content type and workflows that can run on items of that content type.
More information about the content type and workflow are provided in the link below:
http://technet.microsoft.com/en-us/library/cc262735.aspx
Best regards.
Thanks
Victoria Xia
TechNet Community Support
Similar Messages
-
Sharepoint 2013 and SSRS 2012 Integration - Report Server Content Types not displayed
Hello, Everyone:
I installed SSRS 2012 on our Sharepoint 2013 application server following the step-by-step instruction from the posting below:
http://msdn.microsoft.com/en-us/library/jj219068.aspx
Everything goes well after STEP 3 is completed.
I did see the reporting services started and SSRS service application created.
However, when I created a new site and tried to enable the predefined Reporting Services content types, I do not see the Shared data source (.rsds) files, report models (.smdl), and Report Builder report definition (.rdl) 3 types of files listed at
all.
Further more, when I go to the Provision Subscriptions and Alerts page, I keep getting a "SQL Server Agent state cannot be determined" error, even though the username and password provided is the admin user
for the database.
Any experience of what is wrong with the SSRS - Sharepoint integration? Please help!
TinaHello, Treavor:
Now that the content types problem is resolved, I need to come back to the
Provision Subscriptions and Alerts page.
I guess I'm a little confused about what is being asked for the Provision Subscriptions and Alerts page.
The user I provided on the Provision Subscriptions and Alerts page is my user-defined sysadmin role. And the page takes that.
When I downloaded the SQL script, it was trying to give the automatically generated user "sa-SPDevContentAppPo" permission.
Which user are we using to detect the SQL Server Agent?
Thanks again!
Tina -
Not able to crawl all items from External content type
Hello All,
"All the records in my external content source are not getting crawled, only 1/3 rd of the data are getting crawled."
Steps:
I created "External content type" using sharepoint designer which connects to a SQL Server database.
Have written a SQL View joining 2 tables, which return 9,00,000 rows when executed using the SQL Server management studio.
I used the default "Business Data Connectivity Service" and "Search Service Application" and made sure the necessary permissions are set.
Created a External Content source for the search service application and selected the "Business Data Connectivity Service" -> "Crawl selected External datasource" -> <my external datasource i created in sharepoint designer>
Issue
When i ran the full crawl for the first time it crawled "3,49,923" records in 01 hour and 07 seconds. And returned 1 error "Error crawling LOB Contents.(Error caused by exception: System.InvalidOperationException. There is an error in XML
document...)
Later i removed the below item from the index and started a full recrawl, this time it crawled "3,49,924" records 1 record extra from my previous crawl
and no errors were returned.
Please let me know what could be the issue. It doesn't look like the permission related issues as i am able to crawl the 1/3rd of my total data. Also i am able to search the crawled data. I also set the throtteling limit for the "Business data catalog"
to -maximum 10000000 -default 1000000 which is less than the data it has to crawl.
SRIRAMHi ,
I started the change suggested in the link shared by you, but got stuck at a point,
The field which i set as identifier in BCS earlier is not having unique values. Total rows returned by the sql view is 899000, but the unique values present in the column that is set as identifier is
3,49,923, which is equal to the number of rows crawled. - Is this the reason why it didnt crawl all records?
The table that is used in the sql view has composite key, - Is it possible to have multiple identifier in BCS as well?
Is it possible to make BCS to ignore the identifier? i mean creating BCS without an identifier column?
Please let me know your suggestions on this.
Thanks,
SRIRAM
Yes, BCS needs a UID. This is so it can figure out changes over time to a single record. Otherwise all changes to a row could be a potential new row without BCS knowing any better.
Yes, or just have it run off the composite key instead of the field you're using now.
Nope, BCS needs a UID field like in answer 1 :)
Good luck!
My CodePlex -
My Blog - My Twitter
Join me at the San Francisco SharePoint User Group!
If this post helped you or answered your question please remember to mark it! :) -
Missing Columns from List Content Type
Hi,
I'm having some strange problems with one of my site collections, I have site content types with a few columns in it and I'm using them in 3 different libraries.
However recently something happened and it seems the list content types in one of the libraries have stopped using some of the columns set out in the site content type (according to library settings). The columns still show as part of the list (and the metadata
is still in there), when I've tried adding them back to the list content types, I do not see them in the list columns group, only in their original column group. If I try to add them to the list from their original group I get the errors similar to the following:
11.14.2014 13:16:52.85 w3wp.exe (0x1B84)
0x0770 SharePoint Foundation
General 8e2s
Medium Unknown SPRequest error occurred. More information: 0x8007054f
fd09cc9c-cf7b-1059-3bcb-0e44d3bf3743
11.14.2014 13:16:52.85 w3wp.exe (0x1B84)
0x0770 SharePoint Foundation
General aix9j
High SPRequest.AddField: UserPrincipalName=, AppPrincipalName= ,bstrUrl=http://servername/sitecollection ,bstrListName={7F184ACA-48C3-4728-AF42-A12CB55941B4} ,bstrSchemaXml=<Field Type="Lookup" DisplayName="DocumentOwner"
Required="FALSE" EnforceUniqueValues="FALSE" List="{57d71ec0-a996-4977-abf7-4cd4e0cc105c}" WebId="53a31862-077a-4031-8aad-7f2a43e33a46" ShowField="Title" UnlimitedLengthInDocumentLibrary="FALSE" Group="_QMS"
ID="{ca4bc17d-bb96-4aee-bb96-e645c939a013}" ,grfAdd=18
fd09cc9c-cf7b-1059-3bcb-0e44d3bf3743
11.14.2014 13:16:52.85 w3wp.exe (0x1B84)
0x0770 SharePoint Foundation
General ai1wu
Medium System.Runtime.InteropServices.COMException: An internal error occurred. (Exception from HRESULT: 0x8007054F), StackTrace: at Microsoft.SharePoint.SPFieldCollection.AddFieldAsXmlInternal(String
schemaXml, Boolean addToDefaultView, SPAddFieldOptions op, Boolean isMigration, Boolean fResetCTCol) at Microsoft.SharePoint.ApplicationPages.AddFieldToContentTypePage.AddFieldToList(SPField fldSrc) at Microsoft.SharePoint.ApplicationPages.AddFieldToContentTypePage.UpdateList()
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error) at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext
context, AsyncCallback cb) at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer,
IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr
pHandler, RequestNotificationStatus& notificationStatus) at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr
rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
fd09cc9c-cf7b-1059-3bcb-0e44d3bf3743
11.14.2014 13:16:52.85 w3wp.exe (0x1B84)
0x0770 SharePoint Foundation
General 8nca
Medium Application error when access /_layouts/15/fldpick.aspx, Error=An internal error occurred. (Exception from HRESULT: 0x8007054F) at Microsoft.SharePoint.Library.SPRequestInternalClass.AddField(String
bstrUrl, String bstrListName, String bstrSchemaXml, Int32 grfAdd) at Microsoft.SharePoint.Library.SPRequest.AddField(String bstrUrl, String bstrListName, String bstrSchemaXml, Int32 grfAdd)
fd09cc9c-cf7b-1059-3bcb-0e44d3bf3743
11.14.2014 13:16:52.85 w3wp.exe (0x1B84)
0x0770 SharePoint Foundation
Runtime tkau
Unexpected System.Runtime.InteropServices.COMException: An internal error occurred. (Exception from HRESULT: 0x8007054F) at Microsoft.SharePoint.Library.SPRequestInternalClass.AddField(String bstrUrl,
String bstrListName, String bstrSchemaXml, Int32 grfAdd) at Microsoft.SharePoint.Library.SPRequest.AddField(String bstrUrl, String bstrListName, String bstrSchemaXml, Int32 grfAdd)
fd09cc9c-cf7b-1059-3bcb-0e44d3bf3743
11.14.2014 13:16:52.85 w3wp.exe (0x1B84)
0x0770 SharePoint Foundation
General ajlz0
High Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.SharePoint.SPException: An internal error
occurred. (Exception from HRESULT: 0x8007054F) ---> System.Runtime.InteropServices.COMException: An internal error occurred. (Exception from HRESULT: 0x8007054F) at Microsoft.SharePoint.Library.SPRequestInternalClass.AddField(String bstrUrl,
String bstrListName, String bstrSchemaXml, Int32 grfAdd) at Microsoft.SharePoint.Library.SPRequest.AddField(String bstrUrl, String bstrListName, String bstrSchemaXml, Int32 grfAdd) --- End of inner exception stack trace ---
at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx) at Microsoft.SharePoint.Library.SPRequest.AddField(String bstrUrl, String bstrListName, String bstrSchemaXml, Int32 grfAdd) at Microsoft.SharePoint.SPFieldCollection.AddFieldAsXmlInternal(String
schemaXml, Boolean addToDefaultView, SPAddFieldOptions op, Boolean isMigration, Boolean fResetCTCol) at Microsoft.SharePoint.ApplicationPages.AddFieldToContentTypePage.AddFieldToList(SPField fldSrc) at Microsoft.SharePoint.ApplicationPages.AddFieldToContentTypePage.UpdateList()
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.HandleError(Exception
e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
fd09cc9c-cf7b-1059-3bcb-0e44d3bf3743
I've tried to make changes to the parent site content type, however those changes to not push down to the library in question. The missing columns have varied types (single line of text, lookup, managed metadata and so forth). All of these content types &
site columns were created through the user interface of SharePoint.
Can anyone help me with any ideas what has happened and/or how to fix this problem?Hi Hans,
As I understand, you have custom content type in 3 libraries, while the issue occurs to the columns in this content type.
I wonder if the issue occurs to other two libraries as well?
From your description, "I've tried to make changes to the parent site content type, however those changes to not push down to the library in question", do you mean that changes in content type are not reflected to the list which is added to this
content type. If that is the case, I'd suggest you recreate content type.
If the site content type works well in other two libraries, please create a new library and add this content type. If it works well, then move the list content to this new list.
Regards,
Rebecca Tu
TechNet Community Support -
How to delete a custom columns from a content-type in Sharepoint Client object model
I have a windows interface where I create a content-type and then create a column and adds that column to the content-type.
//availableCT is my content-type where the column is present.
//get all available fields within this content-type
FieldCollection fieldColl = availableCT.Fields;
clientContext.Load(fieldColl);
clientContext.ExecuteQuery();
foreach (Field field in fieldColl)
//columnFromList is the column that is to be deleted
if (field.InternalName.Equals(columnFromList))
field.DeleteObject();
clientContext.ExecuteQuery(); // this throws an exception
// Additional information: Site columns which are included in content types or on lists cannot be deleted. Please remove all instances of this site column prior to deleting it.hi,
you can use the below code to delete it
using (ClientContext sourceContext = new ClientContext(cmdSpoSite))
Web web = sourceContext.Web;
sourceContext.Load(web);
sourceContext.Load(web.AvailableContentTypes, type => type.Include(c => c.FieldLinks, c => c.Name));
sourceContext.ExecuteQuery();
List<ContentType> ExistingContentType = web.AvailableContentTypes.ToList();
IEnumerable<ContentType> contentTypesList = ExistingContentType.Where(ct => ct.Name == "<ContentTypeName>");
ContentType ctype = contentTypesList.ElementAt(0);
IQueryable<FieldLink> flinks = ctype.FieldLinks.Where(f => f.Name == "<FiledName");
foreach (FieldLink flink in flinks)
flink.DeleteObject();
ctype.Update(true);
sourceContext.ExecuteQuery();
The difference being in your code and above code is you are removeing fileds which is eventually is deleting site column but a site column cannot be deleted if is alreday being used. So you need to deled the FieldLink in content type taht way column is removed
from content type but not from site column.
Now if you want to delete site column you can use your code to deleted Field.
Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer -
Can't change column order from document content type
Hi,
I noticed a strange error in our SharePoint 2010 environment:
We are using a SharePoint 2010 Enterprise Edition which was migrated from a MOSS 2007 Enterprise Edition with one central document library.
In this library are several content types plus the given document content type which was already there.
When I try to edit the column order in the document content type settings the following error occurs:
Server Error in '/' Application.
Object reference not set to an instance of an object.
Description:
An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and
where it originated in the code.
Exception Details:
System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location
of the exception can be identified using the exception stack trace below.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
Microsoft.SharePoint.ApplicationPages.ChangeFieldOrderPage.OnLoad(EventArgs e) +376
System.Web.UI.Control.LoadRecursive() +65
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2427
This error only occurs with the document content type. Furthermore I am not able to reproduce this error on other libraries except when
I am using a template from this library.
I tried to delete this content type but every time an error occurs which is saying that the content type is still in use. I checked the entire library and all informations from the SharePoint Manager 2010 Tool but the content type is definitely no longer in
use.
I appreciate every little bit of help regarding this problem.
PS:
There is also another error concerning every content type in this library: I can’t create a new or use the standard Microsoft document information panel template because every time I try to there also occurs an error which
states out a NullReferenceException regarding the metadata of this library. But that is another story which is next on my to-do list. First I would like to solve the first error concerning the column order.
Thanks and regards,
Thomas K.Hi TKellner,
Thanks for your post.
1.
Please try to use the code below to check whether the Content Type is in used.
http://www.learningsharepoint.com/forum/sharepoint-2007-programming/check-where-the-content-type-is-used-in-sharepoint-site/
2.
Can you open the Document Library in SharePoint Designer 2010? Also, can you open the template file correctly?
Share the result. -
Represent fields from VO, Content type...
Hi! When I put VO field in form then I can choose how to represent it (see: http://www.jetScreenshot.com/demo/20110523-nfx-38kb.jpg).
I want to represent my field from VO in checkbox element. When I choose checkbox element, then I can say - Selected State Value and Unselected State Value (see: http://www.jetScreenshot.com/demo/20110523-ups-36kb.jpg).
In VO also I can say how to represent field. It I can do in Control Hints -> Control Type. But there I can't find where I can say Selected State Value and Unselected State Value? Can anyone say, how can I do that?
If You need more details, please, let me know.
Best regards, Debuger!please note that this is mapped to the pagedef..
is the option given by the executable to convert a normal VO attribute as a selectBooleanCheckBox with two values.. selected and unselected values
<button IterBinding="EmpView1Iterator" id="Deptno" DTSupportsMRU="false"
StaticList="true">
<AttrNames>
<Item Value="Deptno"/>
</AttrNames>
<ValueList>
<Item Value="yes"/>
<Item Value="no"/>
</ValueList>
</button> -
Multiple "Workflow Task (SharePoint 2013)" content type found
Users on one specific sub-site reported that they are unable to add site columns to content type. When user clicks "add existing site column" user get error message - upon looking up on ULS, it indicate there were duplicate column "System.ArgumentException:
No two choices should have the same ID". I came across similar issue on different site before and resolved it by deleting duplicate column, plus that site column was not used on any list or associated with any content type but this time duplicate
column is "Task outcome" column which is associated with "Workflow Task(SharePoint2013)" content type. So looking up these two specific site column and content type I noticed there are 8 occurrence of each at affected site
level (see below on image).
Similarly there are 8 "Task Outcome" columns under Site Columns. So I refreshed staging env with prod copy and tried to delete "Workflow Task(SharePoint 2013" content type and got error message as shown below. Under Site features, I noticed
"SharePoint 2013 Task List" feature was enabled, hoping this will do the trick I disabled it as we still use SharePoint 2010 workflows, but to no avail.
Sorry, something went wrong
The content type "Workflow Task (SharePoint 2013)" is part of an application feature.
Not sure how it got started and something will try to find out but any advise on how to fix this issue?
Thanks,
MK SinHi Sin,
According to your description, my understanding is that the users got an error when clicking “add existing site column”.
For deleting the duplicate “Task outcome”column, you need to go to the “Workflow Task(SharePoint 2013)” content type, click the “Task outcome” column, and remove it from the content type.
Then go to site columns, find the duplicate columns, and delete them and make sure only one “Task outcome” column exists.
After the above, re-add the “Task outcome” into the “Workflow Task(SharePoint 2013)” content type.
Best Regards,
Wendy
Wendy Li
TechNet Community Support -
SP 2013 Workflow Associations - get the content type for associated tasks with PowerShell
I am creating a PowerShell script to document SharePoint 2013 workflow associations on a site. I can get the Subscription object for the workflow association, but I can't figure out how to dig into it to find out the Content Type for tasks generated
by workflows created by this WF association. I can get the Task List ID from the Subscription.PropertyDefinitions, and from there can get the Task List. But the task list may use many different content types, because when you associate a 2013 workflow
to a list, SharePoint adds the workflow's content type to the set of content types used by the workflow task list. If you have a lot of workflows that use the same task list, that task list gets a lot of content types.
I have the Subscription object for the workflow association. How can I divine the content type for tasks that the workflow will generate?
Leigh WebberI would suggest you to consider using the SPListItem that running the workflow instance to check the task content type.
First, find the list item that associated with the workflow, then SPListItem.Tasks returns a collection of workflow tasks for the item, you can check the content type from the task item.
Qiao Wei
TechNet Community Support -
OOTB Approval Workflow for a Content Type sends emails for 2 content types
My environment: SP 2013 Server (WFE-APP) + SQL
I have a few Content Types configured in a document library. Every content type has an OOTB approval workflow to fire an e-mail to the approver on each new/edit.
When I create a new file for testing, it first becomes checked out with no properties added. I then edit the properties to specify its content type and other fields. When I check in the document, SharePoint sends out an e-mail to the approver for that content
type which is correct. What SharePoint also does for this very same file is sends out an approval request e-mail for the default content type for that library which is something else than a desired content type.
This is something I cannot understand. I thought that the workflows start on a file 'Check in'. If I check in a file that is a certain content type, why does the approval for a default content type for a library trigger as well?Hi,
Is it SharePoint 2013 workflow or previous 2010 model workflow? If it's SharePoint 2013, how are you associating workflow to content type. As per
MSDN "Unlike previous versions, SharePoint 2013 does not support workflows that are scoped to a
content type. However, the messaging infrastructure is extensible, so it can support
any arbitrary scope. As a developer, you can set to", workflow association with content type (which was possible in SharePiont 2010) is no longer available out of the box. You need to do it manually, (not sure how as there's no documentation yet
from MS) and programmatically.
Thanks,
Sohel Rana
http://ranaictiu-technicalblog.blogspot.com -
Error when associating workflow with Task Content Type
Using SharePoint Designer 2010, I have created a simple workflow that sends an email out when a tasks due date has past. I created this as a Global Workflow and then tried to "Associated to Content Type", selecting "Task". I am then taken
to... COMPANY PORTAL--> Site Settings--> Site Content Types--> Task--> Add a Workflow. When I try to associate the new "Global" workflow and select OK I get the following error...
Error
Workflows may not be associated with content types whose base is on 'WorkflowTask'.
I have looked up the error but find no real explination of what it means. And I have associated global workflows with custom content types and never had this issue.
So what's going on?
Thanks
Steve
Thanks in advance for your time. StevenHi ,
I understand that when you bind the workflow to Tasks content type, there is an error. I can reproduce this error. This is because we cannot add a reusable workflow to a workflow tasks content type. When you add the reusable workflow to the Tasks content
type, you must have checked the ‘Add this workflow to all content types that inherit from this content type’. In this way, the workflow will be added to all the Tasks content type and workflowtasks content type. There will an error. After you close the error
message, the workflow is added to the Tasks content type.
The workaround is the check No to ‘Add this workflow to all content types that inherit from this content type’.
Thanks,
Entan Ming
Entan Ming
TechNet Community Support -
How to publish workflows created under content type to make it available in all my-sites.
Hi,
i followed this procedure to publish workflows in my-sites but even after activating workflow feature am unable to get created workflow templates in my-site.
Create a workflow and associate it with your content type in the hub.
Before publishing this content type, export the reusable workflow and import it in all the subscriber site collections or deploy your workflow to the farm if it is a farm solution
Activate your workflow feature
Now, your workflow is available in the hub as well as all the subscriber site collections.
Publish the content type. The workflow association will be publish.
can anyone help me out of this issue.Hi,
As I understand, you encountered the issue after activating workflow feature.
Per my test, I can get the created workflow templates
after activating workflow feature by workflow 2010.
1. Check if you use SharePoint 2010 workflow because SharePoint 2013 workflow doesn’t work.
2. Reactive the workflow template feature in your site collection.
3. If it still doesn’t work, open the site collection you want to use the workflow in the SharePoint designer and associated the workflow with the content type in the site collection. After these steps, you can use workflow in your all site collection.
There is a similar thread:
https://social.technet.microsoft.com/Forums/office/en-US/714d1e48-a31d-4daa-9572-62d56c3b8c93/create-workflow-for-content-type-which-can-be-accessed-as-a-template-in-all-sites-including-mysite?forum=sharepointadmin
Best regards,
Sara Fan -
Hi,
I have a requirement to read the External Content Type and storing the Data in a Session Variable. The Reading of the content from External Content Type with out creating a External List.
Please help I am trying to find the solution, but unable to do that.
Thanks,
PradeepHi,
Firstly an external content type designed to work with SharePoint list and there is no way to read apart from this.
If you are looking the solution out of the " Business Connectivity" then find that data source has been exposed through WCF and Web Service ?
So you can use REST API and CSOM to consume those data in SharePoint.
You can also leverage the ADO.NET option if the datasources based on MS technologies.
Murugesa Pandian| MCPD | MCTS |SharePoint 2010 -
How to Enforce Sharepoint 2013 content type validation rules when modifying document using Word 2013
Good day,
I have two date columns (Start Date and End Date) in a content type in Sharepoint 2013. A file library uses this content type.
In the document template I have the two dates (Start Date and End Date) showing in the Document Panel. I can edit them well enough and they show in the document correctly.
In the content type I have validation rules that the End Date must be greater than the Start Date.
The question is, how can I enforce this validation on the client side in Word. Is there anyway to achieve this?
The user will not have access to change the document properties in Sharepoint. (Not my call)
Thank-you!The "panel" is called the Document Information Panel in SharePoint. You can customize this using InfoPath from the page where you created / edited your Content Type. Go to Settings, Site Settings Content Types, edit your content type, click Document
Information Panel and then click "Edit this template". In InfoPath you can create a Rule to enforce your dates.
This may require the Enterprise Edition of SharePoint to support the InfoPath Forms Services.
Mike Smith TechTrainingNotes.blogspot.com
Books:
SharePoint 2007 2010 Customization for the Site Owner,
SharePoint 2010 Security for the Site Owner -
How to change content/type from applicaiton/xml to text/xml??
Hi B2B Gurus,
Now that i have worked out file transfer. I was now trying to post the same document onto a HTTP URL.
I see in the headers that the
Content-Type=application/XML
However i need the Content-Type to be text/XML
Where can i get this changed?
Edited by: user773213 on Apr 8, 2009 4:48 AMi tried it but it still shows the same content-type
***************************B2B.LOG************************************************
2009.04.08 at 18:45:29:500: Thread-10: Repository - (INFORMATION) BIND VARS = (5B7A966871774858A1C935F4ADEECA85-95-1, 95, 1, N, http://ap604fin.us.oracle.com:7787/HTTPService/Receiver, <0AB05E5912085DE6D600000082D60500@AS2_Mycompany>, null, null, , Processing, oracle.tip.repos.core.driver.BinaryImpl@10bbd42, , null, , oracle.tip.repos.core.driver.BinaryImpl@1b6772a, null, null, null, HTTP, , 1.0, Wed Apr 08 18:45:29 GMT+05:30 2009, , Message-ID=<0AB05E5912085DE6D600000082D60500@AS2_Mycompany>
Content-Transfer-Encoding=binary
MIME-version=1.0
From=AS2_Mycompany
Receipt-Delivery-Option=file://localhost/ORACLE_HOME\MyCompany
Disposition-Notification-To=[email protected]
AS2-To=AS2_Supplier1
User-Agent=AS2 Server
Date=Wed, 08 Apr 2009 13:15:17 GMT
AS2-Version=1.1
AS2-From=AS2_Mycompany
Content-Type=application/XML; name=ShipOrder
Connection=close
, null, 0AB05E5912085DE72520000082D60600, null, 3C4DF09FF3304FA698C287DA35154FDB, 826050DF70374FF389E372DB6D126D46)
2009.04.08 at 18:45:29:906: Thread-10: Repository - (DEBUG) CatalogDriver.writeObjectList()
***********************************************************************************
Maybe you are looking for
-
Find My Phone, From 3000 Miles Away
This is a story of how Find My Phone was used to try to locate and recover a stolen iPhone. It took place from 6AM one morning to 9PM that night, 15 hours. * My wife and I wake up to find a 3-hour old message on her phone, from her daughter’s (Tina)
-
Please help! I dont know how the email address doesnt exist and how it can still be an apple id but not let my access my purchases or update old appplications thanks, Kiah.
-
Lost iPhoto Library due to system wipe
I had to wipe my Mac due to a hard drive problem. I lost all of my iPhoto pictures from a year back in time. I had iCloud turned off on my phone because I didn't like how every single picture (even deleted pictures) were added to my library. My photo
-
I Need Help For Setting Up A New Account
So, obviously in Mail, I have my .Mac Account. I would also like to add my MSN hotmail account. There are only a couple of issues. I can't figure out if the hotmail account is POP, IMAP, or Exchange. And on top of that, I don't know what to put after
-
Hi Guys, I am doing a scenario File to SOAP where XI pick up the flat file from FTP and does content conversion and sends it ti SOAP receiver.In file communication channnel what Quality of service do I use(EO,EOIO,BF) and why? Thanks