To find any specific field from whole database use following query.
SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE COLUMN_NAME LIKE ‘%package%’
To find any specific field from whole database use following query.
SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE COLUMN_NAME LIKE ‘%package%’
To make field required we use this script using UI Model
Private Sub cboEmailType_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txt_NAME.TextChanged
Dim required As Boolean = Len(txt_NAME.Text) > 0
‘Tell base class to make the textbox for email required.
MyBase.FieldIsRequired(txt_EMAILADDRESS_EMAILADDRESS) = required
End Sub
I used this code in siebel Business Service. It will display value from XML in popup which is “admin” because it is sixth in hierarchy. Below is the code to get any value from XML string.
var input1 = TheApplication().NewPropertySet();
var output1 = TheApplication().NewPropertySet();
var svc = TheApplication().GetService(“Transcode Service”);
input1.SetProperty(“ConversionMode”,”StringToEncoding”);
input1.SetProperty(“TargetEncoding”,”UTF-8″);
//this is the string XML
input1.SetValue(“<?xml version=\”1.0\” encoding=\”UTF-8\”?>” +
“<Result><SiteRoot>http://mySite.net</SiteRoot><SiteName>mySite</SiteName>” +
“<JobMatchesLink>http://mySite.net/login.asp</JobMatchesLink>” +
“<JobMatches>25</JobMatches><ONET>15-222.00</ONET><Password>admin</Password>” +
“<Username>admin</Username><SSN>999999999</SSN></Result>”);
svc.InvokeMethod(“Convert”, input1, output1);
//assign the UTF-8 converted output to the input of the XML Converter BS
var inputx = output1;
var outputx = TheApplication().NewPropertySet();
var svc = TheApplicationication().GetService(“XML Converter”);
//TheApplication().GetBusObject(“Contact”).GetBusComp(“Contact”).SetFieldValue(“lastname”,”123″);
svc.InvokeMethod(“XMLToPropSet”, inputx, outputx);
Outputs.AddChild(outputx);
COMCreateObject(“WScript.Shell”).PopUp(outputx.GetChild(6).GetValue());// It will output “admin”
For urdu typing best available tool is here http://www.google.com/transliterate/indic/Urdu#
Mark reinhold, Principal Engineer @ Sun Microsystems announced at Java One conference that
“Classpath is dead !”
He was discussing about Project Jigsaw.
The primary goal of project jigsaw is to modularize the JDK which will decrease the load & deploy time of applications.
The PartyList type is basically a system control to display a n:n relationship. Here is the code use to get data from partylist. In this we are getting data for phonecall activity
foreach (BusinessEntity be in retrieved.BusinessEntityCollection.BusinessEntities)
{
DataRow row3 = crmEntityDataTable.NewRow();
DynamicEntity de = (DynamicEntity)be;
foreach (Property prop1 in de.Properties)
{
PropertyInfo propInfo = prop1.GetType().GetProperty(“Value”);
colName = prop1.Name;
switch (colName)
{
case “to”:
if (prop1.GetType() == typeof(DynamicEntityArrayProperty))
{
DynamicEntity[] children = ((DynamicEntityArrayProperty)prop1).Value;
//Loop over each DynamicEntity
string fullName = null;
foreach (DynamicEntity de0 in children)
{
//Loop over each Property in the current DynamicEntity
foreach (Property prop in de0.Properties)
{
if (prop.GetType().Name== “LookupProperty”)
if (prop.Name == “partyid”)
{
customername = dataExportHelper.GetValue(prop);
row3["to"] = customername;
}
}
}
}
break;
default:
break;
}