How to get administrations of distribution list using api?
I want get all administrations of a distribution list using api, how to do that?
anybody knows? Thank you very much!!
there is a standard function in mdm wd component
https://help.sap.com/saphelp_nwmdm71/helpdata/en/loio30bf76947bb64c48a2e835fda42c5183_30bf76947bb64c48a2e835fda42c5183/4…
"Note The Compare to Original button on the Items Detail component opens a Compare component enabling a user to compare a checked out record with an original record (if the user has authorization for the checked out group).
If the checked out record is a result of a merge action, then the Compare view displays all the original records prior to the merge. When a merge action is executed on a number of checked out records, the merged record is also checked out."
Similar Messages
-
How to create Exchange dynamic distribution list using multivalue extension custom attribute
I am trying to create a dynamic distribution list using an ExtensionCustomAttribute. I am in hybrid mode with Exchange 2013. The syntax I have is this:
New-DynamicDistributionGroup -Name "DG_NH" -RecipientFilter {(ExtensionCustomAttribute2 -eq 'NH')}
This works correctly on-prem. But hosted always results in an empty list. I can see in dirsync the attribute is in the hosted environment, but for whatever reason, the distribution group gets created but always come up null.
If I create a group looking at the single valued attributes, such as CustomAttribute6 -eq 'Y', it works correctly on-prem and hosted.
If anyone has any suggestions I would appreciate it.I don't think I provided enough information about the problem. Let me add some and see if it makes sense.
I have an Exchange 2013 on-premise configured in hybrid mode with Office365. For testing purposes, I have 2 users, Joe and Steve, one with the mailbox on-prem, and the other with the mailbox in the cloud. Each of them has CustomAttribute6 = 'Y'
and ExtensionCustomAttribute2 = 'NH'. Dirsync shows these users and these attributes are synced between on-prem and cloud.
Using on-prem Exchange powershell, I run the following command:
New-DynamicDistributionGroup -Name "DG_NH" -RecipientFilter {((RecipientType -eq UserMailBox) -or (RecipientType -eq MailUser) -and (CustomAttribute6 -eq 'Y')}
This correctly finds the 2 users when I query for them as follows:
$DDG = Get-DynamicDistributionGroup DG_NH
Get-Recipient -RecipientPreviewFilter $DDG.RecipientFilter | FT alias
So I then delete this DG, and recreate it this time looking at the multi-value attribute ExtensionCustomAttribute2, as follows:
New-DynamicDistributionGroup -Name "DG_NH" -RecipientFilter {((RecipientType -eq UserMailBox) -or (RecipientType -eq MailUser) -and (ExtensionCustomAttribute2 -eq 'NH')}
Replaying the query above, I can see this also works fine and finds my two users.
Next I open a new powershell and connect to Office 365 and repeat the process there.
New-DynamicDistributionGroup -Name "DG_NH" -RecipientFilter {((RecipientType -eq UserMailBox) -or (RecipientType -eq MailUser) -and (CustomAttribute6 -eq 'Y')}
This correctly finds the 2 users when I query for them.
And then delete the group and recreate it using the multi-value attribute:
New-DynamicDistributionGroup -Name "DG_NH" -RecipientFilter {((RecipientType -eq UserMailBox) -or (RecipientType -eq MailUser) -and (ExtensionCustomAttribute2 -eq 'NH')}
When I run the query this time it produces no result. Every test I try results in an empty group if I am using a multi-valued attribute in the search criteria in the cloud. If I use single valued attribute, it works fine.
I really need to be able to get multi-valued DDG's working in the cloud. If anyone has done this and has any suggestions, I would appreciate seeing what you did. And if this is the wrong forum to port this, if you can point me to a more suitable
forum I will report there.
Thanks,
Richard -
How to send spool to Distribution List using JOB_CLOSE
Please help on sending Distribution list when job defined using JOB_OPEN, JOB_Submit and JOB_CLOSE
Thanks.Hi, this is code:
DATA WA_RECIPIENT LIKE swotobjid.
CONSTANTS: gc_objname TYPE oj_name VALUE 'RECIPIENT'.
PERFORM get_distribucion_list USING 'NAME_LIST' " name of List of distribution
CHANGING WA_RECIPIENT.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = l_jobcount
jobname = l_jobname
strtimmed = 'X'
recipient_obj = wa_recipient
IMPORTING
job_was_released = l_libero
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
OTHERS = 8.
FORM get_distribucion_list USING p_objnam TYPE so_obj_nam
CHANGING p_wa_recipient LIKE swotobjid.
DATA: it_tab LIKE STANDARD TABLE OF soxdl
INITIAL SIZE 0 WITH HEADER LINE.
CHECK NOT p_objnam IS INITIAL.
CALL FUNCTION 'SO_DLI_LIST_READ_XDL'
EXPORTING
dli_generic_name = p_objnam
public = 'X'
subscript = 'X'
TABLES
dli_display_tab = it_tab
EXCEPTIONS
communication_failure = 1
dl_list_no_entries = 2
owner_not_exist = 3
system_failure = 4
x_error = 5
parameter_error = 6
OTHERS = 7
IF sy-subrc = 0.
READ TABLE it_tab INDEX 1.
IF sy-subrc = 0.
CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET'
IMPORTING
own_logical_system = p_wa_recipient-logsys
EXCEPTIONS
own_logical_system_not_defined = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
MOVE gc_objname TO p_wa_recipient-objtype.
CONCATENATE it_tab-dlitp it_tab-dliyr it_tab-dlino
INTO p_wa_recipient-objkey.
ENDIF.
ELSE.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. -
How to get Process Task Retry Count using API (OIM 10g)
Hi ,
I want to get all the process task which are failed after retried 5 times.
For e.g Create user task in AD retried for 5 times but still it is in failed state. I want to get all such process task.
I am stuck at point how to get process task retry count from process definition?
ThanksYou can reference the code in the "Task Timed Retry" scheduled task to get what you are looking for. Here is the decompiled code:
>
package com.thortech.xl.schedule.tasks;
import Thor.API.Operations.tcScheduleTaskOperationsIntf;
import com.thortech.util.logging.Logger;
import com.thortech.xl.dataaccess.tcDataSetException;
import com.thortech.xl.dataobj.tcDataSet;
import com.thortech.xl.scheduler.tasks.SchedulerBaseTask;
import com.thortech.xl.util.logging.LoggerMessages;
import java.sql.Date;
import java.util.Hashtable;
public class tcTskTimedRetry extends SchedulerBaseTask
private static Logger logger = Logger.getLogger("Xellerate.Scheduler.Task");
Date isCurrentDate;
public void init()
logger.debug(LoggerMessages.getMessage("EnteredMethodDebug", "tcTskTimedRetry/init"));
this.isCurrentDate = new Date(System.currentTimeMillis());
logger.debug(LoggerMessages.getMessage("LeftMethodDebug", "tcTskTimedRetry/init"));
public void execute()
logger.debug(LoggerMessages.getMessage("EnteredMethodDebug", "tcTskTimedRetry/execute"));
tcDataSet localtcDataSet1 = new tcDataSet();
tcDataSet localtcDataSet2 = new tcDataSet();
tcDataSet localtcDataSet3 = new tcDataSet();
try
if (isStopped())
return;
localtcDataSet2.setQuery(getDataBase(), "select osi_retry_on from osi where 1=2");
localtcDataSet2.executeQuery();
if (isStopped())
return;
localtcDataSet2.setDate("osi_retry_on", this.isCurrentDate);
localtcDataSet1.setQuery(getDataBase(), "select osi.sch_key, osi.mil_key, osi.orc_key, osi.osi_rowver, sch.sch_rowver, osi.osi_retry_for, osi.osi_retry_on, osi.osi_retry_counter, sch.sch_note from osi osi,sch sch where osi.osi_retry_on <=" + localtcDataSet2.getSqlText("osi_retry_on") + " and osi.sch_key = sch.sch_key" + " and sch.sch_status='R'" + " and osi_retry_counter>0 order by osi.sch_key");
localtcDataSet1.executeQuery();
if (isStopped())
return;
int i = localtcDataSet1.getRowCount();
logger.debug("tcTskTimedRetry:execute:Number of Process tasks retrieved is=" + i);
tcScheduleTaskOperationsIntf localtcScheduleTaskOperationsIntf = (tcScheduleTaskOperationsIntf)getUtility("Thor.API.Operations.tcScheduleTaskOperationsIntf");
tcDataSet localtcDataSet4 = new tcDataSet();
localtcDataSet4.setQuery(getDataBase(), "select osi_retry_for, osi_retry_counter from osi where 1=2");
localtcDataSet4.executeQuery();
Hashtable localHashtable = new Hashtable();
if (isStopped())
return;
for (int j = 0; j < i; j++)
if (isStopped())
return;
localtcDataSet1.goToRow(j);
localtcDataSet3.setQuery(getDataBase(), "select count(*) as counter from osi osi,sch sch where osi.sch_key = sch.sch_key and osi_retry_for=" + localtcDataSet1.getLong("sch_key"));
localtcDataSet3.executeQuery();
if (isStopped())
return;
if (localtcDataSet3.getInt("counter") > 0)
continue;
localHashtable.put("osi_retry_for", String.valueOf(localtcDataSet1.getLong("sch_key")));
localHashtable.put("sch_note", localtcDataSet1.getString("sch_note"));
long l = localtcDataSet1.getLong("osi_retry_counter");
if (isStopped())
return;
try
localtcScheduleTaskOperationsIntf.createScheduleItem(localtcDataSet1.getString("orc_key"), localtcDataSet1.getString("mil_key"), localHashtable, l - 1L);
catch (Exception localException2)
logger.error(LoggerMessages.getMessage("ErrorMethodDebug", "tcTskTimedRetry/execute", localException2.getMessage()), localException2);
catch (tcDataSetException localtcDataSetException)
logger.error(LoggerMessages.getMessage("ErrorMethodDebug", "tcTskTimedRetry/execute", localtcDataSetException.getMessage()), localtcDataSetException);
logger.debug("PJ:tcTskTimedRetry:execute:DataSetexception has occured");
catch (Exception localException1)
logger.error(LoggerMessages.getMessage("ErrorMethodDebug", "tcTskTimedRetry/execute", localException1.getMessage()), localException1);
logger.debug(LoggerMessages.getMessage("LeftMethodDebug", "tcTskTimedRetry/execute"));
public boolean stop()
logger.debug("tcTskTimedRetry:stop:Task being stopped");
return true;
>
-Kevin -
How to get listitems from different lists using Js
Hi,
I want to search my web for all the lists that contains a certain checkbox column (get it by name).
Once I have this list, I want to iterate through all of them and get the list items with this column checked.
I got the lists, but when I tried to get the fields - I got an error - the system doesn't recognizes the fields.
To be more specific - in the code I've posted below in method onGetFieldsSuccess I'm getting an error in the first line, as I can't retrieve the enumerator.
In the MSDN I saw how to retrieve list's fields, but there it was a specific list. Is there a way to get the lists who have a specific field?
Any help will be appreciated
<script>
ExecuteOrDelayUntilScriptLoaded(showFavorites, "sp.js");
var ctx;
var lists;
function showFavorites()
ctx = new SP.ClientContext.get_current();
var web = ctx.get_site().openWeb("/legal");
ctx.load(web);
lists = ctx.get_site().openWeb("/legal").get_lists();
ctx.load(lists);
ctx.executeQueryAsync(Function.createDelegate(this, this.onGetListSuccess), Function.createDelegate(this, this.onFail));
var list;
var fields;
function onGetListSuccess(sender, args) {
var listEnumerator = lists.getEnumerator();
while (listEnumerator.moveNext()) {
list = listEnumerator.get_current();
ctx.load(list);
fields = list.get_fields();
ctx.load(fields , 'Include(Title)');
ctx.executeQueryAsync(Function.createDelegate(this, this.onGetFieldsSuccess), Function.createDelegate(this, this.onFail));
function onGetFieldsSuccess(sender, args)
var fieldEnumerator = fields.getEnumerator();
while (fieldEnumerator.moveNext()) {
var field = fieldEnumerator.get_current();
var name = field.get_staticName();
if (name == "MyFavorite") {
alert(list.get_title());
break;
function onFail(sender, args) {
console.log(args.get_message());
</script>Thanks a lot Thriggle,
I've used your advise, and other then some syntax problems (as you predicted :) everything worked just fine!
(I had to add another executeQueryAsync to get the listItems files - but that wasn't a problem).
The only issue that I have is that it takes FOREVER to load, and once it does load - it returns duplicates of the same results (sometimes 3, sometime up to 10).
I only have 13 tables with about 50 list items in each table, and from that only 6 tables have the specified field - so it shouldn't have taken THAT long (sometimes I see the results after 45 seconds after the page finished loading).
should I have used a new client context for each query? or is there a place where I'm getting unnecessary loops (I've made sure that I have only 1 list item that matches the
I'm resending the complete code. maybe there's something I've missed here.
<cfheader name="X-XSS-Protection" value="0"></cfheader> <script>
ExecuteOrDelayUntilScriptLoaded(showFavorites, "sp.js");
function showFavorites()
var displayTable = document.getElementById("myFavoritesTable");
for(var i = displayTable.rows.length - 1; i > 0; i--)
displayTable.deleteRow(i);
var fieldToLookFor = "MyFavorite";
var ctx = new SP.ClientContext.get_current();
var web = ctx.get_site().openWeb("/legal");
var lists = web.get_lists();
ctx.load(web);
ctx.load(lists, 'Include(Title,Fields)');
ctx.executeQueryAsync(Function.createDelegate(this, function(){
var matchingLists = [];
var listEnum = lists.getEnumerator();
while(listEnum.moveNext()){
var currList = listEnum.get_current();
var containsField = false;
var fields = currList.get_fields();
var fieldEnum = fields.getEnumerator();
while(fieldEnum.moveNext()){
if(fieldEnum.get_current().get_staticName() == fieldToLookFor){ containsField = true; break;}
if(containsField){
matchingLists.push(currList.get_title());
//alert(matchingLists);
var i = 0;
while(i < matchingLists.length){
var list = lists.getByTitle(matchingLists[i]);
i++;
var camlQuery = new SP.CamlQuery();
var camlString = '<View><Query><FieldRef Name=\'' + fieldToLookFor + '\' /><Value Type=\'Integer\'>1</Value></Query></View>';
camlQuery.set_viewXml(camlString);
var items = list.getItems(camlQuery);
ctx.load(items);
ctx.executeQueryAsync(Function.createDelegate(this,function(){
var itemEnum = items.getEnumerator();
while(itemEnum.moveNext()){
var item = itemEnum.get_current();
var file = item.get_file();
ctx.load(file);
ctx.executeQueryAsync(Function.createDelegate(this,function(){
var table = document.getElementById("myFavoritesTable");
// Create an empty <tr> element and add it to the 1st position of the table:
var row = table.insertRow(-1);
// Insert new cells (<td> elements) at the 1st and 2nd position of the "new" <tr> element:
var cell1 = row.insertCell(0);
var cell2 = row.insertCell(1);
var cell3 = row.insertCell(2);
var cell4 = row.insertCell(3);
cell1.innerHTML = "XX";
cell2.innerHTML = item.get_id();
cell3.innerHTML = "<a href='" + item.get_file().get_serverRelativeUrl() + "' alt=''>" + item.get_file().get_name() + "</a>" ;
cell4.innerHTML = "";
}),Function.createDelegate(this,function(sender, args){
alert(args.get_message());
}),Function.createDelegate(this,function(sender, args){
alert(args.get_message());
}), Function.createDelegate(this, function(sender, args){
alert(args.get_message());
</script>
<table id="myFavoritesTable">
<tbody>
<tr valign="top" class="ms-viewheadertr">
<th nowrap="nowrap" class="ms-vh">
<table>
<tbody>
<tr>
<td width="100%" nowrap="nowrap" class="ms-vb">שם טבלה
<img src="/_layouts/15/images/blank.gif" height="1" width="13" alt="" style="visibility: hidden;"/> </td>
</tr>
</tbody>
</table>
</th>
<th nowrap="nowrap" class="ms-vh">
<table>
<tbody>
<tr>
<td width="100%" nowrap="nowrap" class="ms-vb">ID
<img src="/_layouts/15/images/blank.gif" height="1" width="13" alt="" style="visibility: hidden;"/> </td>
</tr>
</tbody>
</table>
</th>
<th nowrap="nowrap" class="ms-vh">
<table>
<tbody>
<tr>
<td width="100%" nowrap="nowrap" class="ms-vb">כותרת
<img src="/_layouts/15/images/blank.gif" height="1" width="13" alt="" style="visibility: hidden;"/> </td>
</tr>
</tbody>
</table>
</th>
<th nowrap="nowrap" class="ms-vh">
<table>
<tbody>
<tr>
<td width="100%" nowrap="nowrap" class="ms-vb">מסמך
<img src="/_layouts/15/images/blank.gif" height="1" width="13" alt="" style="visibility: hidden;"/> </td>
</tr>
</tbody>
</table>
</th>
</tr>
</tbody>
</table>
<p></p> -
HT204150 Distribution list using Contacts
How do I make a distribution list using Contacts?
Click the the groups button in contacts
Add and name a new group
Drag contacts into the group
Create an email and use the name of the group in the address field. -
How do I send e-mail to a distribution list using LabWindows/CVI?
I need to be able to send e-mail to a user-defined distribution list using LabWindows/CVI? Has anyone done this? Any ideas where I could look?
I commented on something similar to this awhile back. My issue was that I had the base version and didn't have the Internet classes. So this external app worked like a charm
It has a lot of command-line inputer options to use as well.
http://forums.ni.com/t5/LabWindows-CVI/Need-Help-for-Sending-Email-with-LabWindows-8-5-or-9/m-p/1095... -
Extracting Administrator of Distribution Lists
Hi everyone,
I'm trying to get the description, members and administrators of a distribution list with a VBScript.
Example:
Dim objDLMember
Dim objAdminSystem
Dim objDL
Dim strGWPath
Dim strDN
strGWPath = "<path-to-domain>"
strDN = "<distinguished.name.of.DL>"
Set objAdminSystem = CreateObject("NovellGroupWareAdmin")
objAdminSystem.Connect (strGWPath)
Set objDL = objAdminSystem.DistributionLists.ItemByDN(strDN)
Msgbox objDL.Name
Msgbox objDL.Description
For Each objDLMember In objDL.Membership
Msgbox objDLMember.Member.Name
Next
This works fine so far, but I can't see a way to get the administrator of distribution lists.
How can I extract the administrator's name?
I would prefer to use LDAP for that, but the administrator information is not stored there.
I appreciate any ideas,
ReneIs there any alternative way to extract this information?
Thanks,
>>>
Von: Michael Bell<[email protected]>
An:novell.devsup.gwadmin
Datum:22.05.08 21:00
Betreff:Re: extracting Administrator of Distribution Lists
Ren NIEDERHAUSER wrote:
> Hi everyone,
>
> I'm trying to get the description, members and administrators of a
> distribution list with a VBScript.
>
> Example:
> Dim objDLMember
> Dim objAdminSystem
> Dim objDL
> Dim strGWPath
> Dim strDN
>
> strGWPath = "<path-to-domain>"
> strDN = "<distinguished.name.of.DL>"
>
> Set objAdminSystem = CreateObject("NovellGroupWareAdmin")
> objAdminSystem.Connect (strGWPath)
> Set objDL = objAdminSystem.DistributionLists.ItemByDN(strDN)
>
> Msgbox objDL.Name
> Msgbox objDL.Description
>
> For Each objDLMember In objDL.Membership
> Msgbox objDLMember.Member.Name
> Next
>
> This works fine so far, but I can't see a way to get the administrator
> of distribution lists.
> How can I extract the administrator's name?
> I would prefer to use LDAP for that, but the administrator information
> is not stored there.
>
> I appreciate any ideas,
> Rene
>
AFAIK this is not exposed at all. -
How to get alternative strings in list of strings.
Hi experts,
how to get alternative strings in list of strings.
eg
'country1, italy, country2, india, country3, paris, country4, scottland, country5, rome'
from the above list i need to fetch all the countries and their names separately.
like country1, country2, country3, country4, country5
italy, india, paris, scottland, rome
i am trying the above one in the below fashion
SELECT SUBSTR
('country1, italy, country2, india, country3, paris, country4, scottland, country5, rome',
1,
INSTR
('country1, italy, country2, india, country3, paris, country4, scottland, country5, rome',
1,
1
- 1
FROM DUAL
can you please any one help meIf you want the data to be more stuctured, and useful:
col col_name for a20
col col_value for a20
var inlist VARCHAR2(2000)
exec :inlist := 'country1, italy, country2, india, country3, paris, country4, scottland, country5, rome';
exec :inlist := replace(:inlist,' ')
select max(decode(mod(lvl,2),1,value)) col_name
,max(decode(mod(lvl,2),0,value)) col_value
from (select substr(:InList,start_pos+1, end_pos-start_pos-1) value
,lvl
from (select :InList
,case when level = 1 then
0
else
instr(:InList,',',1,level-1)
end start_pos
,case when instr(:InList,',',1,level) = 0
then length(:InList)+1
else
instr(:InList,',',1,level)
end end_pos
,level lvl
from dual
connect by level <=length(:InList)-length(replace(:InList,','))+1
group by ceil(lvl/2)
order by 1;
COL_NAME COL_VALUE
country1 italy
country2 india
country3 paris
country4 scottland
country5 rome
Untested on 10g
Then you could stragg the rows together ... -
How can I create email distribution lists in my contacts on my macbook air?
How can I create email distribution lists in my contacts on my macbook air? I could do this on a pc using outlook, but I don't see how to do it on my new mac.
UPDATE, ok, I figured out how to make a list, but how can I remove specific contacts from the list? The "Remove from Group" is greyed out & not available.
-
How to get administration password
Please advice how to get administrator password
With 10.4, 10.5 or 10.6 put your install DVD into the optical drive (CD/DVD drive) and reboot. Be sure to either use the disc that came with your Mac, or, if you installed a later Mac OS X version from disc, use the newer disc. As soon as you hear the boot chime, hold down the "c" key on your keyboard (or the Option Key until the Install Disk shows up) until the apple shows up. That will force your MacBook to boot from the install DVD in the optical drive.
When it does start up, you'll see a panel asking you to choose your language. Choose your language and press the Return key on your keyboard once. It will then present you with an Installation window. Completely ignore this window and click on Utilities in the top menu and scroll down to Reset Password. After resetting the password use Startup Disk from the same menu to choose your hard drive for startup and restart.
With 10.4, 10.5 or 10.6 if you don’t have an install disk check this article. http://www.macyourself.com/2009/08/03/how-to-reset-your-mac-os-x-password-withou t-an-installer-disc/
If you're running 10.7 Lion check this article
http://osxdaily.com/2011/08/24/reset-mac-os-x-10-7-lion-password/
With 10.8 restart holding the Command and R keys, then from the drop down
of actions, choose Terminal. When Terminal opens type:
resetpassword
and press enter.
You will get a reset password window from which you can select the user you want to reset, the admin account in your case. Type a new password twice, do not do anything with the hint box. Click Save, then confirm you want to do this reset. Then click apply to the user's home directory, and click the apple in the left corner, and choose Restart. -
I just downloaded 3 podcast items into my iPod shuffle but don't know how to listen to it. It plays the music list but don't know how to get to my podcast list to play it..
jfromnj wrote:
I purchased and downloaded the Family Pack of IWork. I recently purchased another computer (MacBook Pro) and I want to be able to use IWork on the new
computer but don't know how to go about it. The only thing on the Apple home page is to purchase either the item or trial pack. I don't think I should have to purchase anything since a family pack covers 5 computers in the same household. Please, if someone knows how to go about this and what I need to do so please let me know. Thank you.
You didn't keep the download for future use? -
How to get resultset from oracle procedure use ejb3
how to get resultset from oracle procedure use ejb3
i know oracle procedure should like this
Create or replace PROCEDURE resultset_test(
aaa IN NUMBER,
bbb OUT sys_refcursor) ....
but what s the ejb3 scripts looks like? please give me an example or link~
ths- there are no EJB3 scripts, only compiled application code
- the part of the EJB spec that deals with databases is called the Java Persistence API, but likely you are just looking for the JDBC API.
Now you should know what to Google to get your "example script": "java jdbc oracle procedure" -
How to Enable Ratings on SharePoint List using Client Object Model code for Office 365 SharePoint Site.
Thanks in Advance
Rajendra KHi Rajendra,
here you are the code and the blog, let me know if this helps
using (ClientContext ctx = new ClientContext(https://yourSiteUrl))
Web w = ctx.Web;
List l = w.Lists.GetByTitle("yourListName");
ctx.Load(l, info => info.Id);
ctx.ExecuteQuery();
string ListID = l.Id.ToString();
Microsoft.Office.Server.ReputationModel.Reputation.SetRating(ctx, ListID, 1, 5);
ctx.ExecuteQuery();
http://blogs.technet.com/b/speschka/archive/2013/07/08/how-to-use-csom-with-ratings-in-sharepoint-2013.aspx
Kind Regards, John Naguib Technical Consultant/Architect MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation -
How to get inputtext's inputvalue by using javascript
how to get inputtext's inputvalue by using javascript?
and how to judge whether its be filled or empty stringWhy do you want to use javascript..? Why not action listener..? You can check whether its an empty string by checking
if(str != null && !str.equals("")) {..}
where str is the variable for inputText value.
If this is not helpful, do provide more details on which version of JDev you are using and what are you trying (your usecase).
regards,
~Krithika
Maybe you are looking for
-
Issues Defining Poster Size in Keynote 09
I use Keynote to print posters of about 4x3 feet size. I used to be able to define and select a custom paper size in Keynote 08 in the page setup menu. When printing the file into a PDF to give it to our printers, this size was maintained, i.e. the p
-
Scrabble on Facebook causes FF to freeze
Every time I try to play Scrabble on Facebook, FF freezes up for about 45 seconds. All of my plug-ins are up to date and I do not have a virus or malware. I am running Windows 7, FF 3.6.13, ABP, Java Console. Any help would be appreciated.
-
Hi Expert, Is this select statement is ok ? actually i have doubt in where clause when it mix both AND and OR without braces SELECT SINGLE * FROM vbfa WHERE vbeln = s_bkpf-awkey AND vbtyp_v = 'C' OR vbtyp_
-
One reason I bought the 24" iMac was so I could run two programs side-to-side, referencing content in one program as I worked on another. However, I find that program screen menu items (or task screens within a program screen) are so small that I can
-
My husband and I just bought a new Ipad 2. We turned it on and we are on the screen that says "Choose a Network" we would like to choose one of the free Wi-Fi networks but we cant go any further. We have tried tapping the button on the bottom but n