|
Hi!
I am just beginner, but
How I can hide part of Person.aspx (MySite) page? I want show part of page if accountname (querystring) is same as current user.
Is it possible?
|
|
|
|
|
Just make
and you can set its visibility --(true/false) from your code
eg: div1.Visible = false;
or div1.Visible = true;
using your condition..
--you can use multiple div tag...

|
|
|
|
|
Thanks, this works fine. I have still problem? How I can hide/unhide if "accounname" is same as current user. I try to use asp code:
if Request.QueryString("accountname") = v_currentuser then
' Visible = true
else
' Visible = false
end if
... as I say I am beginner
|
|
|
|
|
Then what is the problem .??
"your write Visible = true" but with which control...??
please upvote previous answer if you find its helpful for you 
|
|
|
|
|
Yes, Based on condition(User Type) you have to show/hide the elements using the properties[^] at runtime, that's it.
thatrajaNobody remains a virgin, Life screws everyone
|
|
|
|
|
How to deploy webpart in multiple servers?
I want to know advanced ,real time and new sharepoint concepts.
Please provide the best site urls to gain knowledge easily .
|
|
|
|
|
gyanacse wrote: How to deploy webpart in multiple servers?
This question was discussed here[^].
A solution can be deployed automatically to all servers of a farm. You have to deploy it manually to every farm you want to deploy it.
|
|
|
|
|
Good day all,
I'm asked to extend my application to be able to create Publishing Pages using SharePoint 2010 Web services.
i have looked around, I just can find a solution to this, I don't know which web service and which web method i should use to accomplish this, if there is any.
I can use SharePoint APIs, but i need to first check if there is a webservice that can do this.
i'm using C# 4.0, VS 2010, SharePoint 2010
Thank you in advance
Sibusiso
Developer
|
|
|
|
|
|
Just started happening on my front-end server, but when I go to retract a farm solution I'm getting a error stating that "The creation of this directory failed: C:\Windows\Temp\solution-[GUID]. Next to the Deployment status of the wsp package is "Error".
Has anyone seen this before? Is it a permission error? The service account that I have for sharepoint is added as an admin to the box.
|
|
|
|
|
Did you try Powershell?
First uninstall the solution then remove it.
Uninstall-SPSolution –Identity Solution.wsp –WebApplication http://myspwebapp
Remove-SPSolution –Identity Solution.wsp
|
|
|
|
|
i was facing a similar error few days ago. Nothing was working. Finally i had to delete the solution from PowerShell and then re-deployed. it worked then.I used following command on PS. don't know if that works for you.
(Get-SPSolution solutionName.wsp).Delete()
|
|
|
|
|
I have a web part that provides a value for filtering shareopint lists
The problem is when the value contains an ampersand '&' an Bad format exception is thrown
I tried to replace the & with & and "%26" but it doesn't work and the exception is thrown
please tell me what to do about this.
|
|
|
|
|
Member 10300893 wrote: I have a web part that provides a value for filtering shareopint lists
Is that a standard WebPart or did you created it on your own?
Member 10300893 wrote: please tell me what to do about this.
If it's a standard WebPart you could programm it in Visual Studio on your own. That's not a lot work and can be done easily. You can handle the error with try-catch or regular expressions.
There might be another solution, but as I don't know which webpart you are using I'm not able to check that.
|
|
|
|
|
I am a beginner in sharepoint.
I want to know How to create a login page in sharepoint2010.
Please help me.
Is there any other way instead of VisualStudio???
|
|
|
|
|
gyanacse wrote: I want to know How to create a login page in sharepoint2010.
Do you want to disable the normal login and create your own?
Or do you want to have a public startpage from where your users can login?
|
|
|
|
|
i want to create my own login page.
|
|
|
|
|
|
Thanks dear.
I got it. 
|
|
|
|
|
Hello, Everyone , I have a requirement to use cookieless session in SharePoint 2010 Application. I want to know about the Pros & Cons of Cookieless Session regarding SharePoint.
Please if anyone has any information about its behavior in SharePoint.
Do Let me know.
Thank you,
Nishant Sharma
nishant_sharma16@outlook.com
nishant_sharma16@yahoo.com
|
|
|
|
|
In some tests, I didn't determined any problems. As far as I tested, everything works fine.
|
|
|
|
|
Thanks for your response. When i was doing the same, i am facing an issue like whenever i try to create a new column in the list, it was redirecting me to my custom login page. This is the scenario with the Cookieless session when turned it off every thing was working fine.
|
|
|
|
|
Hi All,
I have Sharepoint Sharepoint 2010 Work space Installed on my Windows 7 Machine and i am trying to use it with Office 365 site when i try to sync the workspace i get the error "The field "AppAuthor" contains a lookup to list "AppPrincipals" that cannot be resolved. The target list may not be part of this site."
I Installed the Hotfix i.e http://support.microsoft.com/kb/2687364/en-us on my Local Machine but even then i am
getting same "The field "AppAuthor" contains a lookup to list "AppPrincipals" that cannot be resolved. The target list may not be part of this site."
Can somebody advice me how do i get away with this error
I am stuck badly .Please help
Cheers
|
|
|
|
|
I don't really know. I never had this problem and in the moment I don't have any Office 365 site. But I have an idea what might be the problem.
It sounds like the Office 365 is based on SharePoint 2013 and you are using SPWS 2010. I tried to connect SPWS 2010 with my local SP 2013 and I had problems with it.
The Problem is that the functionality of SPWS 2010 and the nextgen tool SkyDrive 2013 has changed a lot. So there might be compatibility issues.
|
|
|
|
|
Hi,
We have create a SharePoint 2010 site with InfoPath 2010 and now got requirement to upgrade the InfoPath 2010 to 2013 and publish in SharePoint 2010 site.
Can some one please let me know how to migrate the InfoPath 2010 to 2013 and publish it in SharePoint 2010
Thanks,
Madan.
|
|
|
|