Click here to Skip to main content
       

Sharepoint

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page  Show 
GeneralRe: IniWrkflIP.aspx Not exists ?memberAhmed R El Bohoty2 Sep '12 - 22:16 
I'm already enabled Infopath Forms Services
 
but the page not found the layout.
 
I'm use Sp 2010 ( Enterprise )
I hope to serve my religion (Islam) as much as possible and exert the effort in order to be a good model desire to achieve renaissance to our country. This mean that I would be one of the Geniuses in practical if Allah wishes. I think my Ambition will help me to do that.
--------------------------------
Discover Other ....
http://www.islamHouse.com

QuestionError occurred in deployment step 'Activate Features': Attempted to perform an unauthorized operation.memberHemadriT28 Aug '12 - 4:13 
Hi,
I crated webparts in sharepoint using Visual Studio2010.when i deploy in Visual Studio2010 by solution explorer i got an erroe like "Error occurred in deployment step 'Activate Features': Attempted to perform an unauthorized operation".
 

Thank You.
AnswerRe: Error occurred in deployment step 'Activate Features': Attempted to perform an unauthorized operation.memberihoecken28 Aug '12 - 5:04 
Ok. I had this problem once, too.
 
My Solution was, to remove all Features, add one, deploy it, add another, deplay again and so on.
So I identified the Feature with the problem in it. After you did that it should be easier to find the problem.
------------------------------
Author of Primary ROleplaying SysTem
 
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.

QuestionI can't find my custom WFmemberAnTiiiKa27 Aug '12 - 0:19 
I did this task,,
http://www.dotnetcurry.com/ShowArticle.aspx?ID=695
but the problem that when I try to start the workflow from my site ... it don't work and say " Failed on Start " ,,, and after 24 hours , the workflow disappeared from the site !!! Any one have a solution plz?
AnswerRe: I can't find my custom WFmemberihoecken27 Aug '12 - 1:25 
Have you checked the workflow for errors in SharePoint Designer?
Have you the permissions set properly?
------------------------------
Author of Primary ROleplaying SysTem
 
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.

GeneralRe: I can't find my custom WFmemberAnTiiiKa27 Aug '12 - 2:46 
yes I checked there is no errors ,,, and permissions is ok ... and same problem ,, failed to start
GeneralRe: I can't find my custom WFmemberihoecken27 Aug '12 - 5:18 
Uh, sorry. Then I don't know. Did you tried a simple Workflow on a standard-library? Does that work?
------------------------------
Author of Primary ROleplaying SysTem
 
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.

AnswerRe: I can't find my custom WFmvpRichard MacCutchan27 Aug '12 - 1:31 
Don't you think it would be a better idea to try and contact the author of the article for assistance?
One of these days I'm going to think of a really clever signature.

GeneralRe: I can't find my custom WFmemberAnTiiiKa27 Aug '12 - 2:49 
Actually the problem is not in this workflow ... I posted this article as an example for the steps I did... the problem happen if I did a 2 steps custom workflow .. "Failed on Start" and after the weekend .. I can't find my WF on site so I had to re publish it again ... I think both errors related to each other ..
AnswerRe: I can't find my custom WFmemberAndrija Juric29 Aug '12 - 2:10 
You can look at Sharepoint logs for exception.
ULS viewer makes it easier http://sharepointlogviewer.codeplex.com/[^]
QuestionUser Field typememberAptiva Dave23 Aug '12 - 5:18 
I'll ask this again. I've got a list that contains a field that is type "User". I was planning on using a people picker or people editor control on my app page to get the name of a user's Manager and place that info into the user field, but I'm not sure how to do that.
GeneralRe: User Field typememberihoecken23 Aug '12 - 21:11 
So that ist no question. Where do you stuck?
 
By the way, before answering the untold question you should answer, where the manager is stored? Do you have this Information in AD (every User has a department, someone is manager of the department), do you have a database with this information, do you have MetaData about it? Or do you habe a simple List?
So, perhaps you see, there are many ways for reaching the aim, of displaying the manager of a user.
------------------------------
Author of Primary ROleplaying SysTem
 
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.

GeneralRe: User Field typememberAptiva Dave24 Aug '12 - 4:06 
All my users are in AD.
AnswerRe: User Field typememberihoecken25 Aug '12 - 0:58 
Ok, next question is, if you have synchronized the user profile service with the ad.
 
If it is synchronized all data is there. You just habe to read it:
 
using (SPSite Site = new SPSite(“Site URL”)) {
  using (SPWeb Web = Site.OpenWeb()) {
    SPList UserInfoList = Web.Lists[“User Information List”];
    SPUser User = Web.Users.GetByID(1); – Put the User ID Here
    SPListItem UserItem = UserInfoList.GetItemById(User.ID);
    ...
  }
}
 
You can read the Department with:
UserItem[“Department”]
 
Afterwards you read the "Job title" for all the Users in the department (same way) and look up the head of the deparment. Perhaps it's not in the job title but in another field, depending on how the information in the ad is filled.
 
Well, so that how to do it with informations in the ad.
------------------------------
Author of Primary ROleplaying SysTem
 
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.

GeneralRe: User Field typememberAptiva Dave27 Aug '12 - 5:38 
I'm not trying read info (yet), I'm just trying to add to the list.
 
So, here is what I'm using on the form:
 <SharePoint:PeopleEditor ID="sppeManager" runat ="server" MultiSelect ="false" />
 
Here is my field:
<Field ID="{b12b1382-dac6-4e43-9c67-92de741279cc}" Name="Manager" DisplayName="Manager" Type="User" />
 
And here was the code I was trying to use to insert the value from the form into the field:
 Dim managerID As SPFieldUserValueCollection = New SPFieldUserValueCollection()
                Dim manager As String = sppeManager.Entities(0).ToString
                site.EnsureUser(manager)
                Dim mgrAccount As SPUser = site.SiteUsers(manager)
                Dim mgrID As New SPFieldUserValue(site, mgrAccount.ID, mgrAccount.LoginName)
                managerID.Add(mgrID)
                item(AccessRequest.ManagerCol) = managerID
 
But, this isn't working at all. I just can't get anywhere and I can't find a reliable tutorial online to help me.
AnswerRe: User Field typememberihoecken27 Aug '12 - 21:42 
Aptiva Dave wrote:
I'm not trying read info (yet), I'm just trying to add to the list.

 
??? You try to read the Info and add it to the list. Therefore is the code I wrote. Fill the Field with an EventListener.
------------------------------
Author of Primary ROleplaying SysTem
 
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.

GeneralRe: User Field typememberAptiva Dave28 Aug '12 - 2:43 
Well, that's going to be an issue because some people report to someone who isn't labeled as a manager in AD. This is because a) in some large departments it is just a title and doesn't really mean anything and b) IT doesn't usually get notified of when someone is made a manager or supervisor so that we can make the changes in AD nor do our users usually make use of the tools we have given them to make the changes themselves. So, since all I can rely on AD for is their user account and email address, I would like to have the people picker on the form to allow the user to at least find their manager's name and let the site handle the rest.
 
I hope that makes sense.
AnswerRe: User Field typememberihoecken28 Aug '12 - 3:02 
Ok, you just want to have a field, where the User of the form can put in the one, who is manager, right?
There are different solutions.
1. You go a different way and build a list of managers for each department
2. You let the user enter a name in a normal user-field
3. You fill a dropdownbox with all users of the department, so that the selection is smaler (for this case you can use the code I wrote before, just that you add every member of the department to the dropdownbox).
 
Hope, there is a solutions suitable for you.
------------------------------
Author of Primary ROleplaying SysTem
 
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.

GeneralRe: User Field typememberAptiva Dave28 Aug '12 - 3:35 
Well, the big wrinkle is that we have anonymous access on the site and don't allow users to log in, so that is why I was going to used the People editor control so the user could find their manager's name from our AD environment.
GeneralRe: User Field typememberAptiva Dave27 Aug '12 - 5:39 
Also, I'm using this information to start a workflow.
GeneralRe: User Field typememberAptiva Dave24 Aug '12 - 5:18 
Sorry, didn't realize that I didn't actually ask a question. My bad. Laugh | :laugh: Laugh | :laugh:
GeneralRe: User Field typememberihoecken25 Aug '12 - 0:50 
Ok, I guessed what do you want, but it would be good to describe the problem and what do you already did. Shucks | :->
------------------------------
Author of Primary ROleplaying SysTem
 
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.

GeneralMessage RemovedmemberSusan Rich31 Aug '12 - 5:05 
Message Removed
AnswerRe: User Field typememberihoecken2 Sep '12 - 21:07 
SharePoint 2010 Shucks | :->
------------------------------
Author of Primary ROleplaying SysTem
 
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.

QuestionSharepoint designer encountered an error generating the task form!memberAnTiiiKa15 Aug '12 - 0:22 
Hello,
I created a form using infoPath, and a workflow using visio, and imported it in Sharepoint Designer 2010, but when I press publish, this message shows up "sharepoint designer encountered an error generating task" even my WF contains no problem. I have a full control permission and there is no network problems.
how can I solve it ??

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   


Advertise | Privacy | Mobile
Web03 | 2.6.130516.1 | Last Updated 23 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid