Workflow error in project server
Hi,
I have created stages in project server and trying to create workflow using sharepoint designer if i click on check error its showing no errors found,but if i am trying to publish the workflow its showing an error
"Errors were found when compiling the workflow.the workflow files were saved but cannot be run" i am trying to delete that site workflow but unable to delete the workflow also,kindly help me. waiting for response
Thanks&Regards,
Harini
something wrong with your SSL certificate or its settings
import the certificate to the Certificate store of the crawler and in SharePoint Cert Store [Central Admin > Security > Manage Trust] upload the root certificate of
the repository
If it is not solving issue
http://social.msdn.microsoft.com/Forums/en-US/564c8110-8fe4-4a4d-847e-9d3624127693/can-not-publish-a-workflow-sharepoint-designer-2013
http://blogs.technet.com/b/sharepointdevelopersupport/archive/2013/06/13/could-not-establish-trust-relationship-for-ssl-tls-secure-channel.aspx
these blog will help you to resolve the issue
kirtesh
Similar Messages
-
Hello,
The project server workflows were running fine on my servers (2 App and 2 WFE). suddenly workflows are not working anymore.
and I am getting the below error:
DBNull.. Trace: at Microsoft.Office.Project.Server.Schema.WorkflowDataSet.WorkflowInstanceRow.get_WORKFLOW_INSTANCE_UID() at Microsoft.Office.Project.Server.BusinessLayer.Workflow.StartWorkflow(Guid projectGuid, Guid enterpriseProjectTypeUid, Boolean
isNewProject, Guid previousEntepriseProjectTypeUid, Boolean skipStage, Guid stageToSkipTo):
WorkflowExceptionStartingWorkflow (35115). Details: id='35115' name='WorkflowExceptionStartingWorkflow' uid='047a6f2d-8a44-e411-8bf4-0050568b37eb'.
I checked all DBs; all running fine. Also I tried to re-register the workflow with my site collection. but nothing worked.
Any suggestions?
Twitter : @MShoubaki | http://jo.linkedin.com/in/mshoubakiHi Mohammad,
I was able to resolve my issue by installing KB2880963. I did not have any of the other updates mentioned installed, but it did resolve the issue.
Note: I did need to restart my servers.
See Below from
http://social.technet.microsoft.com/Forums/windowsserver/en-US/b189e4b8-bb9e-4ade-a3d5-cd2e0f90e93f/workflow-not-working-after-installing-service-pack-1-and-patches?forum=sharepointadmin
Here is
the security update which you will need to install.
Update 2880963 for SharePoint Server 2013
http://support.microsoft.com/kb/2880963
Chcek the link for details.
http://expertsharepoint.blogspot.de/2014/08/workflow-not-working-after-installing.html -
Odd circumstances regarding an 'unexpected error' in Project Server 2010
A couple of days ago, a client of mine started experiencing an odd error upon trying to save their project files in Project Professional 2010 while connected to Project Server 2010. They'd receive the following error:
An unexpected error occurred during command execution.
Try the following:
Verify that all argument names and values are correct and are of the correct type.
You may have run out of memory. To free up available memory, close programs, projects, or windows that you are not using.
I am familiar with troubleshooting both of the cases as listed above in this error message and quickly determined that the client was not experiencing memory issues. I also could not find any instances where there were incorrect values in any project schedule
fields.
We eventually were able to replicate the issue by following these steps:
A user creates a new project via PWA using an Enterprise Project Type that has been pre-defined to have a specific project template applied to it. Please note that this Enterprise Project Type did not create a workflow... only created a Project Details
page, Project Information page, and Project Schedule based upon this template.
This new project is given some basic Project level custom field information and set to the PM owner and then saved and published without any issues.
Now, when the project schedule is opened immediately afterwards in Project Professional 2010, changes cannot be saved or published. Even the most basic of change at this point such as a new task line or renaming a task name will result in the error message
given at the top of this post. The user is then forced to close the project file and check it back in. Note this applies to anyone performing some or all of these steps.
Note: If a project file was created from this same template through Project Professional instead of through PWA, it was fine and no errors would occur upon further editing.
Because of the above, I decided to try and open the existing project templates used in the Enterprise Project Types that were being affected and simply re-save them with new names. I made no other changes to these templates than just giving them a new name.
I then created new Enterprise Project Types that would then use these new templates. Other than this change, these Enterprise Project Types were exactly the same as the previous ones which caused errors.
Upon trying the new Enterprise Project Types, the project schedules behaved normally and new projects created from them would not cause the error listed.
This is extremely puzzling obviously and now my client is concerned that this is a symptom of a deeper problem in the database that we might not yet know about.
Is this an issue that anyone here has experienced before, and if so, knows how to correct and prevent from occurring again in the future?
Thank you.
Daniel E CrabtreeDaniel,
Issue could be due to corruption ? Please provide us information about current server and client patch level for Project. Also ULS log information would be beneficial to investigate this issue
Hrishi Deshpande Senior Consultant -
Saving Error in Project Server 2013, Need Help!
Hey All,
I am running into issues with a Projects saving from Project Pro 2013 to our Project Server 2013 Farm.
It is strange, when someone tries to save a project out of Project Pro 2013 to Project Server, it will run through the "Synchronizing Data to the Server", and then bombs out with error
Job Type: Save
Error ID:9000(0x2328)
The project could not be saved to the server, Etc..
My understanding is that this is a generic save error that could mean many things.
In the ULS logs under "Active Cache Save" , I am getting:
"Cancelling correlation 1339927b-e9e5-e311-941d-00155d2bc10d as save is an overwrite or resubmit"
What is strange at this point is if I check the project back in, and re-open/re-checkout the project, and try to save again, it is successful in saving.
Just a few details about the environment:
Project Server Version: 2013 RTM (In the process of upgrading)
SharePoint Version: 2013 RTM (In the process of upgrading)
Project Structure: One Master Project with all other projects being subprojects of the master
Published Status: All Published
SQL Version: SQL Server 2012 SP1
User Count: About 5 currently
Deployment: 1 WFE, 1 APP Server, 1 SQL Server
It is just odd, as it seems to be completely random. We have tried clearing caches out to see if that resolves it but it did not. It is just odd that it takes two saves for it to actually work correctly, and is problematic as the many times they are saving
from the master and it bombs out there.
I am not sure how it could be an issue as it is usually just a single user working on the individual subprojects.
Maybe it is an issue in the RTM? I couldn't find any info in any of the CU's or SP's that addresses this directly
Has anyone seen this, or have any suggestions?
MS Support has not been any help at all.
Thanks allI have heard of issues with Master and Sub-Projects and both being published to Project Server, as a rule it is a feature I learnt to avoid as a result of bad experiences with earlier versions of Project Server.
Whilst this will not resolve the issue you have encountered the following suggestion may help you avoid pain in the future and leverages the potential of Project Server to represent common attributes for projects.
Typically a Master/Sub Project environment is intended to reflect projects that are commonly aligned - it is not unusual for a Master Project to represent a programme and for there to be multiple sub-projects forming the programme - there can be programme
level events that have multiple predecessors from multiple sub-projects.
Rather than create a master and sub-project situation I would suggest looking to define two Enterprise Custom Project fields to assist with such situations. The first being a Project Field called Programme that has a look up table with a list of current
programmes you can select from. The second Project Field would be a Programme Status Field with an associated lookup table with 3 values, Master, Sub-Project, Standalone.
You can have a project represent the Master (Programme) project and open it and all sub-projects in the programme (albeit this would have to be a one by one action to begin with). With all the projects open go and open a New Window in Project Professional
and elect to include all the open projects in the new window - this will create a new project with all the selected projects showing as
"embedded objects" and then create dependencies from sub-projects to programme level events in the Master Project (I would suggest what I call
"one way traffic" when creating "cross project dependencies" to avoid further headaches). Close the project, you will be prompted to save changes which you should do but do not save the new window
"container" project. The dependencies across the projects will persist - in each project you will be able to see external successors - tasks in the master project. In the master project you will be able to see external predecessors.
In PWA you can create Project Centre Programme views that filter to exclude projects that ARE Standalone and group them by Programme and sort by Programme Status Field - this will ensure that the "Master" sits at the top of the pile for each programme grouping.
Just a suggestion - I hope the issue you have encountered is resolved soon.
Dominic Moss | MAPM Microsoft Certified Technology Specialist | Our Newsletter:
PM News Project Server Specialists
Project Server PRIME | Twitter:
@Twitter | Facebook:
@Facebook | Linkedin:
Wellingtone -
Access permission to the Project server workflow tasks in project server 2013.
Hi All,
I am creating an OOB Project server workflow, where it contains few phases and each phases have some stages, there are few approval levels of the workflow.
Scenario - 1st stage - when project is submitted, a task is assigned to resource, when the resource click on the task link provided in mail, it redirects to the project server workflow task list.
1) When users view the task list, for all user the delete Item and approve button is enabled even we have given permission as edit,view permission in sharepoint group for that user.
2) Task list should be viewable by specific user but in my case even after giving the permission it can be apporved by any one who is not authorised also.
3) then i tried below things
1. deleted the user in pwa
2. deleted the user in sharepoint site.
even after doing the above, the user able to do all activity in the stie content page, have access to the sharepoint portal. how this is possible?
When checked with not existing user permission there are few defalut permission set for that user after AD sync. because of this he as access, even if he is not in pwa or in sharepoint site. how to retrict this?
Can anyone faced the same issue?
How to fix this permission issue?
Thanks in advance.
SunithaHello Treb Gatte,
I ma creating Data Connection from SSRS Report, and then creating Data Set for "Project
Server Workflow Tasks".
And then when I pull data from the database, it is returning empty. For any other sharepoint list this
is working absolutely fine. I am facing issue only wrt "Project Server Workflow Tasks" list.
Thanks,
Shanky -
Error in project server weekly Alerts configuration
Hi
While configuring weekly alert on my projects
i am getting the below error
w3wp.exe (0x6DAC) 0x2B04 SharePoint Foundation Authentication
Authorization agb9s Medium Non-OAuth request. IsAuthenticated=True, UserIdentityName=0#.w|birlasoft\somil.raturi, ClaimsCount=23 9c73a39c-3134-6067-2f76-6ad9b2b5c9e3
please help
Thanks
ParuYou are setting an alert for changes to the "page," not the project. So, if someone edits the Schedule PDP, then you should get an alert. In other words, you're telling SharePoint to send an alert when someone edits the PDP, not when someone edits the project.
The correct way to do this would be to use an event handler and custom code, but you will most certainly create a spam machine given the rate of change of most projects.
Sending an email every time a project is modified is a silly requirement. No doubt you need to refine this requirement. Stakeholders usually do not want to know about *every* change, they want to know about significant changes such as the finish date changed
by more than X-days, or by percent, or something like that.
With that said, the best way to meet this type of requirement is to use SSRS to create a report and then push it via email to the users.
Gary Chefetz, MCITP, MCP, MVP msProjectExperts
Project and Project ServerFAQs
Project Server Help BLOG -
Hi,
I set myself as team member in Project Server 2013, when i click on Project,Approvals and Timesheet i receive the below error:
"Cannot communicate with the server. Verify your connection and try again"
I have other account with Project Manager rights, with that account i can open these pages.
Please help.
K.GokulrajHi Gokulraj,
What permission mode are you using in project server 2013? Is it "project permissions mode" or "SharePoint permissions mode"?
If you are using "project permissions mode", then go to Server Settings -> Manage users and click on the user with "team member" permissions to edit.
In the next page, expand "Global Permissions" and "View Approval" permission.
It could be the issue with the categories and category level permissions.
Happy troubleshooting...
Vikram Daruru - MSFT -
Hi sir,
when I have try to fetch the value of project start date and finish date and some other field value , I have recived error message like The property or field 'StartDate' has not been initialized. It has not been requested or the request has not been
executed. It may need to be explicitly requested.
I have used client context for project server 2013.
I have also load and execute query.but fail to resolve it Please suggest me and provide solution.
vijayHi,
If you use the Include<TSource> Method in the Load method, we will retrieve only the ids of items in this query, so
the listItems.ListItemCollectionPosition will not be initialized.
You can use the <ViewFields> tag in CAML Query to specify the field values to return with each item instead.
Best regards
Patrick Liang
TechNet Community Support -
Error creating Project Server 2013 Server Side Event Handlers
Hi,
I have created a WCF service and deployed it successfully. Now when trying to add a new event receiver for Project CheckIn event, nothing happens. Checking the service using Services panel, it shows Microsoft Project Server Events Service 2013
is started. I check the ULS logs and see exception:
System.Data.SqlClient.SqlException (0x80131904): Could not find stored procedure 'pub.MSP_ADMIN_SetEventReceivers15RTM'
I have service pack 1 installed for Project Server and SharePoint, version 15.0.4571.1502. Any ideas? I see there is a stored procedure without '15RTM' suffixed in PWA database. I read another post on the forum relating to this same issue
but didn't want to create each additional item in the DB (table, data type, stored procedure, etc). Am I missing something? Looking for suggestions here. Your help is always appreciated.
Thanks,
kashifHi Gokulraj,
What permission mode are you using in project server 2013? Is it "project permissions mode" or "SharePoint permissions mode"?
If you are using "project permissions mode", then go to Server Settings -> Manage users and click on the user with "team member" permissions to edit.
In the next page, expand "Global Permissions" and "View Approval" permission.
It could be the issue with the categories and category level permissions.
Happy troubleshooting...
Vikram Daruru - MSFT -
8315 Error in Project Server 2013
Hey all,
My Project 2013 server just recently started throwing an 8315 error. Its details are:
Machine 'NTPRJWEB2 (SharePoint - 80(_LM_W3SVC_1989583194_ROOT))' failed ping validation and has been unavailable since '6/18/2014 2:27:52 PM'.
and:
Machine 'NTPRJWEB1 (SharePoint - 80(_LM_W3SVC_1989583194_ROOT))' failed ping validation and has been unavailable since '6/18/2014 2:27:49 PM'.
I have never had to deal with this error before. Can some one advise me what I need to do to resolve this?
Thanks,
JonathanHi Jonathan,
Are you having RTM version of SharePoint 2013? 8315, 8316, 8317, 8318 are known issues related to Request
management service in RTM build of SharePoint 2013. These issues should go off once you upgrade to the latest SP/CU.
Hope this helps,
Guillaume Rouyre, MBA, MCP, MCTS | -
ProjectResource Not Found Error in Project Server
Hi,
I've been trying to remove a resource from project given the project resource has no assignments using the following code
projContext.Load(projContext.Projects);
projContext.ExecuteQuery();
PublishedProject pp = projContext.Projects.GetByGuid(new Guid("0dbf7918-5609-e311-b791-1078d24a5e38"));
projContext.Load(pp);
projContext.ExecuteQuery();
DraftProject dp = pp.CheckOut();
DraftProjectResource dpr = dp.ProjectResources.GetByGuid(new Guid("e59a4729-0b03-e311-b791-1078d24a5e38"));
projContext.Load(dpr);
projContext.ExecuteQuery();
DraftProjectResourceCollection resoColl = dp.ProjectResources;
Console.WriteLine(dpr.Id +""+dpr.Name);
resoColl.Remove(dpr);
try
QueueJob qJob = dp.Update();
qJob = dp.Publish(false);
JobState jobState = projContext.WaitForQueue(qJob, 30);
if (jobState == JobState.Success)
Console.WriteLine("\nResource replacement Successful!");
else
Console.WriteLine("\nThere is a problem in the queue. Timeout is
{0} seconds.", 30);
when i execute this code, I get an error which says
PJClientCallableException: ProjectResourceNotFound
ProjectResourceNotFound
column = RES_UID
Am i missing something?
Thanks & Regards,
VarunDivyang,
I am not a programmer, but I think the obvious check is to make sure that the resource you are trying to remove is actually in the project scheudle.
Another item to check is whether the resource is a LOCAL resource instead of an ENTERPRISE resource.
Prasanna Adavi,PMP,MCTS,MCITP,MCT http://thinkepm.blogspot.com -
Queue Error in Project Server 2007
Hi,
When i submit the timesheet I see the status " Waiting to be processed(sleeping)" in the queue for long time and it gets failed.
What does it mean? i have restarted the queue service but still it doesn't work.
How to overcome this issue?
K.GokulrajOne of the tasks is causing the issue. I usually see this when user submits more time than remaining work. To find the task, I would recall the timesheet and clear out half the times with zero and resubmit. Continuing doing
until you find the one task causing issue.
cheers
Michael Wharton, MVP, MBA, PMP, MCT, MCTS, MCSD, MCSE+I, MCDBA
Website http://www.WhartonComputer.com
Blog http://MyProjectExpert.com contains my field notes and SQL queries -
Error Workflow Project Server 2013
I have Sharepoint 2013 farm.
In SPD 2013 create workflow Sharepoint 2013-Project Server.
And want to write in workflow log Project UID.
But in during i see error:
System.ApplicationException: HTTP 403 {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["2"],"SPClientServiceRequestDuration":["120"],"SPRequestGuid":["4b9dff8b-d69b-8e93-0f66-fd65358fdc26"],"request-id":["4b9dff8b-d69b-8e93-0f66-fd65358fdc26"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"MicrosoftSharePointTeamServices":["15.0.0.4420"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
RequireReadOnly"],"Cache-Control":["max-age=0, private"],"Date":["Tue, 26 Feb 2013 07:58:54 GMT"],"Server":["Microsoft-IIS\/8.0"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]}
{"error":{"code":"35120, Microsoft.ProjectServer.PJClientCallableException","message":{"lang":"ru-RU","value":"WorkflowActivityInvalidArgument"}}} в Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext
context) в System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManagerHi guys, I have this error in a Project Server environment with SP1 installed. Is the CU of December included within the SP1? Or are there other reasons the error persists?
Here is the complete error message I got (looks the same as above right?):
RequestorId: 74967e53-aaf2-c09f-db28-36781c2c6f50. Details: System.ApplicationException: HTTP 403 {"error":{"code":"35120, Microsoft.ProjectServer.PJClientCallableException","message":{"lang":"en-US","value":"WorkflowActivityInvalidArgument"}}}
{"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["0"],"SPClientServiceRequestDuration":["62"],"SPRequestGuid":["d4a58ef4-480e-4a4e-96ed-cf413fe705b5"],"request-id":["d4a58ef4-480e-4a4e-96ed-cf413fe705b5"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"MicrosoftSharePointTeamServices":["15.0.0.4420"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
RequireReadOnly"],"Cache-Control":["max-age=0, private"],"Date":["Mon, 13 Oct 2014 11:00:04 GMT"],"Server":["Microsoft-IIS\/7.5"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]}
at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor
executor, BookmarkManager bookmarkManager, Location resultLocation) -
Configure Workflow Manager 1.0 in Project Server 2013 with FBA
Hi,
Please suggest the ways to configure Workflow manger in Project server 2013 where PWA using FBA
we have tried for below situation, but no luck!!
The workflow manager configured using windows login account, we are associating a FBA site with workflow manager which is
Register-SPWorkflowService -SPSite 'http://FBAsite' -WorkflowHostUri 'http://workflowmanagerapplication:12291'
Following steps are taken care while creating workflow.
We have added users to the user service profile services
User profile synchronization is started
The user by whom we are logged is available in User Profile list
we are not running workflow with share point system account
Final step full synchronization of User Profile Application
Below the error we are getting when workflow run
Resume this workflow
RequestorId: 879e36f9-9db0-3c16-0000-000000000000. Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.ApplicationException: HTTP 401 {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["0"],"SPClientServiceRequestDuration":["440"],"SPRequestGuid":["879e36f9-9db0-3c16-a91c-356d29becb34"],"request-id":["879e36f9-9db0-3c16-a91c-356d29becb34"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"MicrosoftSharePointTeamServices":["15.0.0.4605"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
RequireReadOnly"],"Cache-Control":["max-age=0, private"],"Date":["Sun, 15 Jun 2014 12:44:03 GMT"],"Server":["Microsoft-IIS\/7.5"],"WWW-Authenticate":["NTLM"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]}
at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor
executor, BookmarkManager bookmarkManager, Location resultLocation)Hi Mafeer,
Since this issue is related to Project Server, I would like to recommend you to post there for more effective support:
Project Server General Questions and Answers
Thanks for your understanding. -
There was an error in callback while hooking Ribbon button in project server
Hi All,
We are getting sporadic issue related to Callback error in project server after implementation of to hook save ribbon button.
Error Description:-
eThere was an error in the callback.384|/wEWLALXmdD0DAKpn5bCCwLNrvW5AwK9+p7tAgLo7L7kCgKNqJ6SDALd66mOAgK28832DwKP8832DwKz87HKBgK386WtDQK186WtDQKJ84mABALh4KLMBgLY4KLMBgLk4N7wDwLg4MqXBALi4MqXBALe4Oa6DQKThqG1AwKqhqG1AwKWht2JCgKShsnuAQKQhsnuAQKshuXDCAK9ptOEBQKEptOEBQK4pq+4DAK8prvfBwK+prvfBwKCppfyDgLA+vSFDQL5+vSFDQLF+oi5BALB+pzeDwLD+pzeDwL/+rDzBgLHtYnXAgL+tYnXAgLCtfXrCwLGteEMAsS14QwC+LXNoQkCyOSp1g+AouWT1aul62L1BetYTwN/Gc1roQ==s<RESULT
/>
Please have a look at code implementation for hooking save button;-
OnPreRender implemented java script code to hook the ribbon “Save” button. Attached code for your reference.
Code:-
protected override void OnPreRender(EventArgs e)
base.OnPreRender(e);
var saveFunc = Page.ClientScript.GetPostBackClientHyperlink(_lnbSaveProject, "");
//register script for hooking up into the page structure.
var uniqueScriptName = "PDP Class " + ClientID;
var script = string.Format(@"
var WPDP_{0} = new
object();
var oElem = null;
WPDP_{0}.Save =
function pfp_Save(ctx)
if({1})
var arg = '';
{2}
ctx.Completed();
WPDP_{0}.Validate =
function pfp_Validate()
return true;
function SaveCallback_{0}(result,
ctx) {{
if (result != '') {{
SaveErrorCallback_{0}(result, ctx);
else {{
ctx.Completed();
function SaveErrorCallback_{0}(result,
ctx) {{
ctx.FailedShowInlineErrors(result);
WPDP_{0}.IsDirty =
false;", ClientID, doesFileExist.ToString().ToLower(), saveFunc);
Page.ClientScript.RegisterClientScriptBlock(GetType(), uniqueScriptName, script, true);
Note:-
1) There is no Error occurs in event viewer , SharePoint trace log
2) We have done exception handling for all the methods and tracking it at data base level but no exception found
3) HTTPS implemented.
Let me know in case of any query.
Regards
Vipin Upadhyay
Vipin UpadhyayHi All,
We are getting sporadic issue related to Callback error in project server after implementation of to hook save ribbon button.
Error Description:-
eThere was an error in the callback.384|/wEWLALXmdD0DAKpn5bCCwLNrvW5AwK9+p7tAgLo7L7kCgKNqJ6SDALd66mOAgK28832DwKP8832DwKz87HKBgK386WtDQK186WtDQKJ84mABALh4KLMBgLY4KLMBgLk4N7wDwLg4MqXBALi4MqXBALe4Oa6DQKThqG1AwKqhqG1AwKWht2JCgKShsnuAQKQhsnuAQKshuXDCAK9ptOEBQKEptOEBQK4pq+4DAK8prvfBwK+prvfBwKCppfyDgLA+vSFDQL5+vSFDQLF+oi5BALB+pzeDwLD+pzeDwL/+rDzBgLHtYnXAgL+tYnXAgLCtfXrCwLGteEMAsS14QwC+LXNoQkCyOSp1g+AouWT1aul62L1BetYTwN/Gc1roQ==s<RESULT
/>
Please have a look at code implementation for hooking save button;-
OnPreRender implemented java script code to hook the ribbon “Save” button. Attached code for your reference.
Code:-
protected override void OnPreRender(EventArgs e)
base.OnPreRender(e);
var saveFunc = Page.ClientScript.GetPostBackClientHyperlink(_lnbSaveProject, "");
//register script for hooking up into the page structure.
var uniqueScriptName = "PDP Class " + ClientID;
var script = string.Format(@"
var WPDP_{0} = new
object();
var oElem = null;
WPDP_{0}.Save =
function pfp_Save(ctx)
if({1})
var arg = '';
{2}
ctx.Completed();
WPDP_{0}.Validate =
function pfp_Validate()
return true;
function SaveCallback_{0}(result,
ctx) {{
if (result != '') {{
SaveErrorCallback_{0}(result, ctx);
else {{
ctx.Completed();
function SaveErrorCallback_{0}(result,
ctx) {{
ctx.FailedShowInlineErrors(result);
WPDP_{0}.IsDirty =
false;", ClientID, doesFileExist.ToString().ToLower(), saveFunc);
Page.ClientScript.RegisterClientScriptBlock(GetType(), uniqueScriptName, script, true);
Note:-
1) There is no Error occurs in event viewer , SharePoint trace log
2) We have done exception handling for all the methods and tracking it at data base level but no exception found
3) HTTPS implemented.
Let me know in case of any query.
Regards
Vipin Upadhyay
Vipin Upadhyay
Maybe you are looking for
-
Nokia n86 camera photos preview problem
hey, i have a problem with my nokia n86 when i go to Photos > Captured photos and i "travel" by the months that the pictures were taken, for some pictures, the preview image is completely different than the actual image! for example, i browse the pho
-
What itunes version will work with a first generation ipod mini
My wife has a first generation iPod mini and wants to use it but the version of iTunes that she has on her computer will not recognize it. Anyone know what she can do to be able to use this perfectly good device? What was the last iTunes version to s
-
Why assign variable doesn't work
In my test in sqlplus: variable testa number; select max(length(name)) into :testa from myschema.tabletest;MAX(LENGTH(NAME)) 6 print :testa;TESTA ----------
-
How do I change the name of a photo album
-
H1 footage & premiere deinterlace encoder questions.
Hi all, I recorded some footage on a H1 in 60i HD (HDV). Used Premiere CS3 preset HDV 1080i 30 (60i) to capture it. Capture question... 1. Should i buy cineform aspect or prospect HD to convert it before editing in premiere CS3? Adobe media encoder q