Forgot Guidewire Product Designer Password - guidewire

The default password for the GW Product designer is gwgw, I changed the password and not able to recollect it and not able to login Product designer.
I've gone through the productdesigner.war file for any datasource or properties file but couldn't find any. I believe the product designer uses jetty server to deploy the war file so looked for any web.xml and went through the jar files for default source but xmls and proprties files are not there. Any help to reset PD password or finding the datasource would be really helpful.

You can delete the folder named "pd-config" in the path "PolicyCenter/ProductDesigner/"
Then, close your product designer application and launch it again.
Now you can login with default credentials and then you can reset the password as you wish.

Related

IIS 6.0 W3C Log Folder

In IIS 6.0 Manager when setting the logging properties for a web site I have selected W3C Extended Log File Format. I have selected a log file directory but would also like to be able to change the name of log folder which is auto-generated(i.e. W3SVCXXXXXXXX\exyymmdd.log).
Is it possible to change the name of the W3SVC folder? If so how?
Update:
After further research I discovered that the folder name will be W3SVC#. The # refers to the instance of that site and is also known as the identifier. The Default Web Site will always be 1 and every other site will have a random number assigned to it.
If this is true then there would be no way to choose the name of this folder. Can anyone confirm this?
The randomly generated number is also the website identifier which can be customized.

Configure the WebPart before add it to a page in the SharePoint 2010

I have an issue: gather configuration of the WebPart before add it to a page. For instance, the Silverlight Web Part has the same behaviour. It show modal dialog with asking to enter path to .xap file.
The enviroment is SharePoint Foundation/Server 2010.
I hope that you has already solved this problem. Please share you solution, whever is has been solved or not.
Thanks.
Web parts properties and configuration are stored in the web parts .dwp file which is just an xml file.
You can manually setup your web part then export the .dwp file via the web part menu. If you examine it in a text editor you will be able to identify the configuration.
You can then import the pre-configured web parts .dwp file using the Add new web part link (can't give you exact instructions as you didn't specify SharePoint 2007 or 2010) or you can import it into the web part gallery so it will be automatically used with "Add new web part"

How to Publish InfoPath (which is fulltrusted having codebehid code ) in sharePoint?

I created one InfoPath form which is having C# code and i gave security option is 'full trusted' to access infopath object model,and it should be open with Browser.finally i published the Infopath form to SharePoint(by using admin-approved) site.
But when i'am trying to open, it is not opening and giving an error that is 'InfoPath can not create a new or blank form InfoPath can not open the form,To fix this problem,Contact your System administrator'
and in error show details its giving following message.
'The form template is trying to access files and settings on your computer. InfoPath cannot grant access to these files and settings because the form template is not fully trusted. For a form to run with full trust, it must be installed or digitally signed with a certificate'.
please give me a solution.
Unfortunately, if you are using any file system calls in your C# code then you will have to keep the fully trusted setting. As the error message says, any fully trusted form has to be either installed or have a certificate associated with it to run. Infopath is really just a glorified webpage when it runs on a users machine - you wouldn't want a webpage to run unsecurely and have full rights to the machine without the user knowing it.
You should only need full trust if the form accesses LOCAL resources (indivdiual hard drives). If you don't include C# libraries for file/directory access then domain trust should be sufficient and the form will work fine. (Database access, webservices, etc are not local and will work under domain level).
In the Form Setting change the browser enabled documents as "Display as Web Page".
it resolved the issue :)

sharepoint listview web part access deined error

I have created listview web part do display infopath form . When i open the forms using adminstrator login everything works fine but when i login using normal user account the fallowing error is displayed .
"Error: Access denid"
Can anyone give solution for this..
The user doesn't have rights to view the list the listview web part is reading from?
The only time I've had such errors is when a resource refferenced from a webpart (whether custom or not), is being read from the file system. e.g. DataFormWebPart reading an xslt from the file system (layouts folder) instead of the style library. I would just double check that you haven't got a file like an xslt being called from the file system. If you have, try storing it somewhere within SharePoint e.g. Style Library.

Setting up a new website with Liferay Portal - basic steps?

I know this is not specifically a programming question, but programmers will often have to do this work.
How do I create a website with Liferay portal - the docs are pretty light on this fundamental issue and are all for version 4.4. I am using version 5.2 and the docs don't seem to be relevant.
Do you know what the basic steps are. So far I have logged in as the bruno user and can see the 7cogs website and edit it. But I now need to create my own website (for my company) and be able to develop portlets to add to the parts of the page.
Further I notice that the docs talk about doing work in Eclipse. If our website is all static HTML, (the reason we want liferay is mainly so that we can edit content items using its content management tools), then will there be any need for Java dev, or will it all be drag n drop and clicking to get setup. Any guidance will be much appreciated.
Liferay can be used as a simple CMS, without much Java knowledge : creating, editing and positioning of web content fragments are drag'n'drop and use of the included rich text editor.
But to start using Liferay for your company, there are two main steps : a technical configuration (database, etc.), and a look'n'feel customization.
The technical part
First of all, you should get rid of the 7cogs website : this is called a hook in the Liferay wording. To do that, if you are using Tomcat for the application server, just delete the 7cogs directory as stated here.
You can now create the configuration file for your installation : it's a simple text properties file, named portal-ext.properties and placed in the webapps/ROOT/WEB-INF/classes folder of your tomcat installation.
This file handles most of the configuration of the Liferay portal, for example :
the name of your company
if you want to display a terms of use page on first login
if you want anybody to be able to create an account on your portal
the database where the data will be stored
To do this, the properties in the portal-ext.properties override default properties found in a embedded portal.properties file located in the jar file portal-impl.jar, in the webapps/ROOT/WEB-INF/lib directory. Just unzip the jar file in a temporary folder to access the portal.properties file.
A sample portal-ext.properties file :
company.default.web.id=yourcompany.com
terms.of.use.required=false
company.security.strangers=false
jdbc.default.driverClassName=com.mysql.jdbc.Driver
jdbc.default.url=jdbc:mysql://localhost/lportal?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false
jdbc.default.username=root
jdbc.default.password=root
Once done, you can startup your application server. As the default admin (named test, something you can change in the portal-ext.properties file), you can access to the centralized web "control center", located in the "dock" (the strange menu labelled "welcome Test" in the upper right part of any page once logged in).
I would advise you to read the administration guide, useful for most administrative tasks.
The "branding" part
Liferay uses "Themes" to automatically decorate the portal pages (logo, navigation, portlet borders...) using images, CSS, Javascript (JQuery) and the templating language Velocity. The themes are bundled in a .war file, like a standard web application, and deployed on the fly either via the control center or by dropping the file in the deploy directory of the server.
Liferay can use several themes at the same time, one for each community (a group of pages, users and content) for example.
Creating your own theme can be done afterwards, using the "Plugins SDK".
The Wiki, forums and blogs can be very useful.

Resources