How to get the dID of any Content from SS_DATAFILE in Site Studio 10gR4?
Hi,
I am trying to get the dID of a Contributor Data File from its dDocName (SS_DATAFILE). I can do a search based on this Content ID but if I am able to get the dID using one of the Site Studio variables, it will be great.
Thanks,
Justin
Hi Sapan,
I am trying to customize a Dynamic List element to display the list of related content for the contributor data file. For this, I use the GET_RELATED_CONTENT service exposed by the Oracle RelatedContent component which needs the dID as a parameter. Now in a Contribution Region, I can get the the dDocName (Content ID) of the datafile from the SS_DATAFILE Site Studio variable. However, I need to get the dID from this Content ID.
Thanks for your reply.
Justin
Similar Messages
-
How to get top downloaded or accessed content from ucm in webcenter
Hi,
How to get the top ucm accessed contents or downloads from ucm using ridc?
Is it possible to retrieve content tracker details using ridc?
Thanks,
Chandrasekar MLike anything else Content Tracker functionality is provided in a form of services, but it might require a bit search to find which services are to be called and how.
However, Content Tracker stores data in the database tables - (also to be available for External Report Generator), so why not to take data directly from the database? Alternatively, you could configure the system to send reports for you and take it from there.
What exactly is your use case? -
How to get the values of Select-options from the screen.
The value of parameter can be obtained by function module 'DYNP_VALUES_READ' but How to get the values of Select-options from the screen? I want the F4 help values of select-options B depending on the values in Select-option A.So I want to read the Select-option A's value.
Hi,
Refer this following code..this will solve your problem...
"Following code reads value entered in s_po select options and willprovide search
"help for s_item depending upon s_po value.
REPORT TEST.
TABLES : ekpo.
DATA: BEGIN OF itab OCCURS 0,
ebelp LIKE ekpo-ebelp,
END OF itab.
SELECT-OPTIONS s_po FOR ekpo-ebeln.
SELECT-OPTIONS s_item FOR ekpo-ebelp.
INITIALIZATION.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_item-low.
DATA:
dyn_field TYPE dynpread,
temp_fields TYPE TABLE OF dynpread,
zlv_dynpro TYPE syst-repid.
zlv_dynpro = syst-repid.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = zlv_dynpro
dynumb = syst-dynnr
request = 'A'
TABLES
dynpfields = temp_fields
EXCEPTIONS
OTHERS = 0.
LOOP AT temp_fields INTO dyn_field.
IF dyn_field-fieldname EQ 'S_PO-LOW'.
SELECT * INTO CORRESPONDING fields OF TABLE itab FROM ekpo
WHERE ebeln EQ dyn_field-fieldvalue.
EXIT.
ENDIF.
ENDLOOP. -
How to get the number of decimal places configured for a site column
Hi,
I have a column 'SampleNumCol' of type Number, the number of decimal places to be displayed is configured as 2.
The column conatins a value, but when retrieved programatically is displayed as 5.00000000 instead of 5.00.
I am retrieving this column using listitem.Properties[field.InternalName].
I need to trim the decimals based on number of decimal places configured for the site column.
How to get the number of decimal places configured for a site column?
Thanks in advance,
dhijitGet the field as SPFieldNumber and then check DisplayFormat which returns
SPNumberFormatTypes
SPFieldNumber numberField = list.Fields.GetFieldByInternalName("YourNumberFieldName") as SPFieldNumber;
SPNumberFormatTypes numFormatType = numberField.DisplayFormat; -
How to get the current logged in username from windows and put it into an AS var
Hello,
I was hopeing someone would know how to get the current logged in username from windows and put it into a var, so I can create a dynamic text box to display it.
Thanks in advance
MichaelJust for everyone’s info, this is the script I have used to get the logged in windows username into flash ---- not and air app.
In the html page that publishes with the .swf file under the <head> section:-
<script language="JavaScript" type="text/javascript">
function findUserName() {
var wshell=new ActiveXObject ("wscript.shell");
var username=wshell.ExpandEnvironmentStrings("%username%");
return username;
</script>
The ActionScript:-
import flash.external.ExternalInterface;
var username:String = ExternalInterface.call ("findUserName");
trace (username); // a quick test to see it in output -
How to get the Dynamic UI component value from JSFF page to any managedbean
HI ,
We have list of bean objects in jSF page we are iterating the list of bean using the forEach loop and displaying the value into Input type text (UI component) value filed .
If we try to get the UI component value in Managed bean we are not getting the dynamic values .
The below piece of code used to retrieve the dynamic values from the JSF page doesn't have any form :
UIComponent component = null;
FacesContext facesContext = FacesContext.getCurrentInstance();
if (facesContext != null) {
UIComponent root = facesContext.getViewRoot();
component = findComponent(root, componentId);
then component type casting to the based on UI component which we trying to access and getting the value as " NULL " ..Please let me know how to get the dynamic values form the JSF ?
Please let me know if any other approach or any changes required on above ?
ThanksHi,
the root problem is this
<h:inputText id="it3" value="#{familyList.ctn}" />
<tr:commandButton text="Save" id="cb3"Note how each row writes to the same managed bean property, thus showing the same data. Instead your managed bean should expose a HashMap property that you then apply values to using a key/value pair. The key could be the ID of the field, which then you also should dynamically define e.g. cb<rowIndx>. The command button could then have a f:attribute assigned that has the row HahMap key as a value. This way you truly create value instances for the object
Frank -
How to get the postion of any string
hi
like untitle.txt
how to get the postion of '.'.
AmitHi Amit,
Use SEARCH statement to find out a character or a string in a string.
DATA V_STRING TYPE STRING VALUE 'untitle.txt'.
SEARCH '.' FOR V_STRING.
If search is successful then it will return position of character or string into system field SY-FDPOS.
If your idea is get values of filename and extension by separating period then use simply SPLIT statement.
SPLIT V_STRING AT '.' INTO V_FILE V_EXT .
Thanks,
Vinay
Edited by: Vinaykumar G on Jul 1, 2008 8:52 PM -
How to get the number of community members from outside the community
Hi everyone.
I need to know if there is any way to get the number of community members from outside the community, I mean, not using the "What's happening" webpart. I want to build up a page with a Webpart that summarize my three most visited communities indicating
number of members, three last messages in the newsfeed, and number of posts in blog, wikis, document libraries, etc.
Do I need statistics to get this kind of information? Should I use Sharepoint Object model instead?
Here is an example of what I need:
- Community name
- Number of members
- Community activity (messages, docs uploaded to library, etc)
- Number of posts in calendar, blog, wiki that belongs to community
Thank you all!Hi Thuan.
Thanks for your answer but it does not help me because these communities are Sharepoint Communities not external sites so I need to get that information using SP object model and BCS in this case is useless.
EDIT
I found the solution using the search objects but I was only able to get members, discussions and replies
using (ClientContext clientContext = new ClientContext("URL_OF_ENTERPRISE_SEARCH_CENTER"))
KeywordQuery keywordQuery = new KeywordQuery(clientContext);
keywordQuery.QueryText = "The_Name_of_the_Community WebTemplate:COMMUNITY";
SearchExecutor searchExecutor = new SearchExecutor(clientContext);
ClientResult<ResultTableCollection> results = searchExecutor.ExecuteQuery(keywordQuery);
clientContext.ExecuteQuery();
System.Collections.Generic.IDictionary<string, object> ret = null;
foreach (System.Collections.Generic.Dictionary<string, object> resultRow in results.Value[0].ResultRows)
Console.WriteLine("{0}: {1} ({2})", resultRow["CommunityMembersCount"], resultRow["CommunityTopicsCount"], resultRow["CommunitiyRepliesCount"]);
This is a Console Application.
I hope someone helps -
How to get the numeric value of DocTotal from UI API
When I hit the ADD button I need to get the DocTotal from the UI API !
All I have is the EditText which gives it in string and the problem is to double.Parse it
it's a pain to do it while there is CultureInfo related issue with it.
So It would be wise to get the numeric value directly from the UI API instead of getting the DocTotal by string and trying to convert it. So is there any way to get the numrci value of DocTotal from UI API ?Hello Marc,
Here is a function which considering the Culture Info and always working. You can speed it up by using extending admininfo to global vairables, and loading the values at startup of the addon.
Use the oEditText.value.ToString() to convert into into the doulbe number:
Public Function _string2double(ByVal s As String) As Double
Dim d As Double
' This part is fast, when regional settings equal to sap B1 settings:
Try
d = Convert.ToDouble(s)
d = Math.Round(d, 6)
Return d
Catch
End Try
' Speed up performance: extend CompaneService variables to global variables and query them at addon startup.
Try
Dim nfi As System.Globalization.NumberFormatInfo = System.Globalization.CultureInfo.CurrentCulture.NumberFormat
Dim oCompanyService As SAPbobsCOM.CompanyService = oCompany.GetCompanyService()
Dim oAdminInfo As SAPbobsCOM.AdminInfo = oCompanyService.GetAdminInfo()
Dim sbodsep As String = oAdminInfo.DecimalSeparator
Dim sbotsep As String = oAdminInfo.ThousandsSeparator
If s.IndexOf(Space(1)) > 0 Then
If oAdminInfo.DisplayCurrencyontheRight = BoYesNoEnum.tYES Then
s = s.Substring(0, s.IndexOf(Space(1)))
Else
s = s.Substring(s.IndexOf(Space(1)), s.Length - s.IndexOf(Space(1)))
End If
End If
Dim s1 As String = s.Replace(sbotsep, nfi.NumberGroupSeparator)
s1 = s1.Replace(sbodsep, nfi.NumberDecimalSeparator)
d = Convert.ToDouble(s)
d = Math.Round(d, 6)
Return d
Catch
Return 0
End Try
End Function
Regards,
J.
Edited by: János Nagy on Oct 7, 2009 8:55 AM -
How to get the coordinate of any character in just a single text frame?
I am using Illustrator CS5. Better solutions in c# language.
Hi,
According to your description, my understanding is that you want to get the groups name of a specific user using Client Object Model PowerShell in SharePoint 2010.
We can loop the site group collection and the users in each group and then check if the user exists in the user collection.
ClientContext clientContext = new ClientContext("http://sp/sites/mysite");
GroupCollection collGroup = clientContext.Web.SiteGroups;
clientContext.Load(collGroup);
clientContext.ExecuteQuery();
User usr = clientContext.Web.EnsureUser(@"contoso\administrator");
clientContext.Load(usr);
clientContext.ExecuteQuery();
foreach (Group group in collGroup)
UserCollection collUser = group.Users;
clientContext.Load(collUser);
clientContext.ExecuteQuery();
foreach (User user in collUser)
if (user.LoginName==usr.LoginName)
Console.WriteLine(group.Title);
Console.ReadKey();
For PoweShell command, you can convert the code above to PowerShell Command.
Here is a detailed article for your reference:
https://msdn.microsoft.com/en-us/library/ee538244%28v=office.14%29.aspx?f=255&MSPPError=-2147217396
Thanks
Best Regards
Jerry Guo
TechNet Community Support -
How to get the first and second quarter from CRT
Dear Freinds,
I have one scenario , the Functional SPEC says Read the payroll results and from the CRT get all the 4 quaters
for the wage type /5UH and sum them and then pass on the to field in the main strucutre.
Iam using the FM HR_GET_PAYROLL_RESULTS
CALL FUNCTION 'HR_GET_PAYROLL_RESULTS'
EXPORTING
pernr = fp_v_pernr
permo = fp_v_permo
pabrj = fp_v_pabrj
pabrp = fp_v_pabrp
actual = 'A'
TABLES
result_tab = i_payresult
EXCEPTIONS
no_results = 1
error_in_currency_conversion = 2
t500l_entry_not_found = 3
period_mismatch_error = 4
t549q_entry_not_found = 5
internal_error = 6
wrong_structure_of_result_tab = 7
OTHERS = 8.
Iam collecting all the Actual Result (current result) values
on the selection screen iam passing for month april (04 2008)
so this falls in the second quater .
the internal table i_payresult is picking up only the second quater (01-04-2008 to 30/04/2008 ) ,but since on the selection screen iam pasing as other period (04 2008) the internal table i_payresult returing from the FM (HR_GET_PAYROLL_RESULTS) only picks the second quater,
could any one let meknow how i can pick up the first quarter as well and add the first and second quater to mee the requirement .
Please help me in this regard
Thanks & regards
maduriHi Manoj,
Thank you for giving me idea for going further regarding this problem , so my final question for this is
as per FS they said they are going to enter the payroll
area and the other selection as 04 2008
In order to achieve the first quarter , because 04 2008 means they are going to enter for the second quarter , the payroll results will come only for second quarter and not for the first quater , if they want to sum all the two quarters then they shouldnt pass on the selection screen the dates as 04 2008, instead they has to pas
01 01 2008 to 30 06 2008 , as there is no point in they passing as 04 2008 as we are going to consider from 01 2008 to 062008 . Please correst me if am correct regarding the dates passing on teh selection screen
or if the user enters on theslection screen still enter 04 2008 and will be able to acheive the first quarter ??
Please answer me this point before i can change the logic of the code and tell to my FO regarding this point.
thanks & regards
Madhuri -
How to get the Hyper-V version/hostname from a linux guest?
Hi,
I am running a custom Linux VM on Windows Server 2008 R2 Hyper-V.
I need to get the version/hostname of Hyper-V from the running custom Linux guest. How can I do that?
I am having Integration Service 3.4 installed. Is there any option I can configure using Integration Services code?
What is the Linux kernel version in which Integrations Services code is ported? I hope 2.6.32. Is this correct?
Any help is appreciated.
SaleemHiya,
I have never worked with Linux for HyperV, however this download from Microsoft might describe what you need?
Linux Integration Services 3.4 for Hyper-V Readme
http://download.microsoft.com/download/4/9/7/4972134C-483D-494D-9B7D-BA74CAE50B94/Linux%20Integration%20Services%20v3%204%20Read%20Me.pdf -
How to get the list of registered phones from RTMT
I need to get the list of the registered phones from RTMT in excel sheet or text file how i can do this ?????
The approach you need to take depends on your CM/CUCM version. In Windows based systems (3.3.3 to 4.2.3 at least, not sure about 4.3 actually) you can get data using devicelistx.asp. This is discussed in the thread that James provided (+5 James).
If you are dealing 5.x or later then you need to look at using RISport. It is a little more involved but more powerful than devicelistx.asp. Actually, I think RISport and the associated API was available in later 4x releases but was "hidden").
I have a brief intro here:
http://www.netcraftsmen.net/component/content/article/70-unified-communications/452-good-bye-devicelistxasp-hello-risport.html
I probably need to get some of my notes together and put some examples on my blog now that I think about it. Anyway, the above link is a quick intro with links to devicelistx.asp info and RISport API info.
HTH.
Regards,
Bill
Please remember to rate helpful posts. -
How to get the service master long text from the AC03
Hi All,
we are using the FM READ_TEXT to read the long text for service master which is maintained in AC03 ,Please can any one suggest me how to do the same.
Get long description
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = LTXT
language = EN
name = '003000124'
object = 'ASMD'
TABLES
lines = litab_line
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
Regards
cbHello
Try this:
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = 'LTXT' " <- '' missed
language = 'EN' " <- '' missed
name = '000000000003000124' " <- 18 symbols must be here
object = 'ASMD'
TABLES
lines = litab_line
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8. -
How to get the debug sqlserver procedure calling from powerbuilder
How to get sqlserver debug while calling the procedure from PowerBuilder. Please can you help
Many Thanks
PolYou are better off doing this through the native SQL server tools. You can debug your PB code to find the variables being sent to the stored proc (if any) from PB and then use them in SQL Server Management Studio or similar.
Maybe you are looking for
-
Scheduling Agreement - Automatic Release Individual Schedule Lines
Dear all. I've create a "LPA" scheduling Agreement and its release type is "JIT". So, I use to ME38 to maintain the individual JIT delivery schedule lines. The problem I have is this method requires the person to manually release each individual deli
-
Tax amount line item with Business area in Billing Doc generating to A/cing
Hi, While generating the Billing Doc, for the Tax amount line item , the Business area shd be populated. How this can be done? while for the othter line items it is displaying but not for the tax amount line item.
-
hi, i'm having some problems getting the list of files into a vector, all the images are .jpg stored in a directory called ads under the classes directory, where all the .class files are stored. here is what i have so far: File directory = new Fi
-
How to remove toc_marker
I want to know could I remove all toc_marker 's entries from toc.ncx file Usually it looks like <content src="name_name.xhtml#toc_marker-5" /> and such toc_marker 's can be 10, 20, 100.. depending on amount of xhtml files in ePub. Can I directly crea
-
How to add 2007/2008 old chat messages to latest s...
There were important messages I copied and saved from my computer to a thumbdrive. Now I want to open these old messages. There were no main.db back in 2008... What must I do with all those .dbb files... Are there other software that I can use to rea