Changing the Custom Properties of Custom Webpart in Sharepoint 2013.
Am working on a requirement , where i need to create a quick poll , for that i am using some Third party webpart,
http://www.amrein.com/apps/page.asp?Q=5755 , this is the link of that Polling webpart , where the source code is not available.
Question : where by default we have to open the edit properties of that webpart in UI and then can configure those properties. But am facing a requirement like there should be UI with textboxes ,like in a form view in a page itself , and
after if we could enter those details, guess there is a button in a name " create a poll" ,
So in a click event , i could add this third party webpart to the page and now i need to change the custom properties based on the values we enter in the textboxes , how i can access the custom properties after if i got the instance of the that third
party webpart in a page using splimitedwebpart manager programmatically....??
Any One can guess this scenario...??
Hi,
If you use Third party web part, I suggest you contact the author of this web part to extend some custom requirements.
From your description, my understanding is that you want to create a quick poll.
Here are two solutions from codeplex with the source code for your reference. You can refer to the source code and customize your own solution base on your requirement.
Opinion Poll SharePoint 2010 Web Part
https://opinionpoll.codeplex.com/
SPUserPoll - SharePoint Poll Web Part
https://spuserpoll.codeplex.com/releases/view/104374
Best Regards
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected]
Similar Messages
-
Adding an Attribute to a VO changes the custom properties of the existing
Adding an Attribute to a VO changes the custom properties of the existing attributes of the VO.
We had a requirement to add an extra column in the VO.
We modified the underlying EO to include the new column from the table, and modified the VO as well.
Jdeveloper was changing the custom properties of the existing attributes in the VO. Our fix was not working as expected.
Could anyone please inform us:
1. On what logic does Jdeveloper determine to modify the existing custom properties of other VO attributes.
2. Can this behavior of Jdeveloper be controlled through any mechanism.
Thanks in advance,
Rahul.Hi,
which version of JDeveloper and how to reproduce ?
Frank -
Who has changed the Custom Field value?
Dears,
Need to know the information regarding how to fetch that who has changed the Custom field value from PWA/MPP.
Example:
There is a PDP (say ProjectInfo):
There is a Custom Field added to that PDP (say Project Status = In Progress).
Now for ProjectA, someone has checked out and changed the Custom Field "Project Status" from "In Progress" to "Closed".
I need to fetch the information regarding who has changed that Custom field.
In which direction should I move: Event Handlers, PSI???? Any other stuff?
Thanks & Regards,
ShravanHi Shravan,
I'm not a developer but I do know that you can use an event handler pushing the resource name and date in custom fields.
Another way is to use a 3rd-party tool like
FluentPro Audit Tool.
Hope this helps,
Guillaume Rouyre, MBA, MVP, P-Seller | -
XD02 transaction to change the customer data for updating KNA1 table?
Hi all,
How can we use XD02 transaction to change the customer data for updating KNA1 table?
Give the steps.
Thanks in advance
rkHi KR,
Why don't u use BDC to run XD02.
With Regards,
Zafar Ali -
Dear All,
Revision: 11.5.10.2
We have a case where some of the orders we have created have incorrect customer name along with incorrect Bill To Ship To.
All these orders are booked. And their Line Status is either Awaiting Shipping or Supply Eligible.
What Impact of changing the customer Name(along with Bill To and Ship To) at the header level.
Thanks,
HelenHi Helen-Oracle
As said above there should not be an impact if the warehouse on the order before and after changing the customer, ship to and bill to remains same.
Additionally, if the item on-hand qty is sufficient to reserve the item and there is no B2B internal requisition kicked off.
As long as the above conditions are fine, I don't see any impact of changing the customer, bill to and ship to.
Also, you can run a complete wing to wing cycle in case you really want to test the behavior of the system in such scenario.
Please feel free to mark the response as helpful or correct if you think it is helpful and to help people easily find help and answered responses.
Thanks
Mirza Tanzeel -
Changing the custom XML for a flash chart dynamically
Hello
I am wondering if anyone has found a way to change the custom XML
for a flash chart dynamically.
For instance.
On the www.anychart.com website their is a gallery with charts.
I have studied one called "2Dlinetimechart. It has hours on the X-axis.
When I view the XML for this chart.
I found this enrty
- <block color="0x0080C0" border_color="0x0080C0" name="Sales dept.">
<set value="0" argument="0" name="00:00" />
<set value="1" argument="0" name="01:00" />
It uses the tag value to set the position on the X-axis. But the tag name to set the labels on the X-axis.
I have not found a way to do this in application express 3.0.
Therefore I wonder if I can change to XML dynamically, and build my own block based on the input I have.
Or even build a chart, based on a xml that I create first then sends to the object that renders the chart.
Hope this makes sence ?
Ulf
PS this is related to my question about
http://forums.oracle.com/forums/thread.jspa?messageID=1887210?
using dates on the x-axis.
But would by nice to know a general method to rebuild the xml-file dynamically so I can change the chart within the limits of the xml-definition.String value = ResultSet.getObject("myfield").toString();
String opvalue = "15";
<OPTION Value=15 <%=((opvalue.equals(value))?"selected":"")%>> -
Changing the Customer no for unapproved project
Dear Dina,
A new project created with customer A and the project is in unapproved status...at this stage any possibilities to change the customer number to that project...for the same project number...
or
we need to end date the existing project and create new 1.
please advice.
thanks a lot n advance....Hi
Using the form you could always add customers to the project with zero % of contribution.
If you have a wrong customer assigned to a project, and you have not allocated funds from that customer agreement to the project, you are in a safe place. If you had allocated fund, enter a negative fund line for the wrong customer agreement, and baseline the funding, so it become zero.
Now, even when the system does not allow you to update the customer percentage, you can do it directly on the database using TOOLS EXAMINE or SQL. Update the percentage of the wrong customer to zero, and the percentage of the correct customer to 100%. Since this is an intervention behind the forms, you should do it very carfully. Verify you are doing such update while no user is trying to baseline funding or revenue budget, and also that no one is running GDR or GDI on the same time.
Dina -
Chnage in Header text when changing the customer
Dear Experts,
When i change the customer in sales quotation all the text in header text fields remove. i want to retain this text while change the customer. Can anybody help me who can i retain the Header Text when i change the customer.
Best regards,Hi,
Even it is the document text which is maintained by you in quotation,will be changed if you change the sold-to-party.
The text that is maintained either at the Header level or at the item level will be changed if you change the sold-to-party.
It is the standard setting in SAP.
Because Sold-to-party is the key field which controls the whole document.So if you change the sold-to-party means every thing will be redetermined.So that the text will be changed.
For maintaining the text as not changeable,in standard there is no setting.I think with ABAP coding it may be possible.
Ask you ABAPer to check whether there is any thing that will be used to check this text.
Regards,
Krishna. -
Change the customer master fields
Hi all,
I am looking for a BAPI or USER-EXIT to change the customer master fields KNA1-STCD3, BRAN1, BRAN2, BRAN3, BRAN4, BRAN5. If anybody knows please share.
Thanks in advance,
PranavHi Pranav,
If you want to change these fields while saving the trasaction XD02, use user exit: Enhancement- SAPMF02D and exit: EXIT_SAPMF02D_001 or BADI: CUSTOMER_ADD_DATA.
Reddy -
FM to change the customer address
Hi Guys,
I am looking for FM to change the customer address.
I found SD_CUSTOMER_MAINTAIN_ALL from here.. but the guys says its dumping..
Can I get some source code with the FM.
Thanks
SenthilUse this.
Data:gt_kna1 LIKE kna1 OCCURS 1000 WITH HEADER LINE,
gt_bapiaddr1 LIKE bapiaddr1 OCCURS 1000 WITH HEADER LINE,
gt_bapiaddr2 LIKE bapiaddr2 OCCURS 1000 WITH HEADER LINE.
LOOP AT gt_kna1.
CLEAR: gt_bapiaddr1, gt_bapiaddr2.
READ TABLE gt_bapiaddr1 WITH KEY addr_no = gt_kna1-adrnr.
IF sy-subrc NE 0.
READ TABLE gt_bapiaddr2 WITH KEY addr_no = gt_kna1-adrnr.
ENDIF.
CALL FUNCTION 'SD_CUSTOMER_MAINTAIN_ALL'
EXPORTING
i_kna1 = gt_kna1
i_bapiaddr1 = gt_bapiaddr1
i_bapiaddr2 = gt_bapiaddr2
i_maintain_address_by_kna1 = 'X'
pi_postflag = 'X'
EXCEPTIONS
client_error = 1
kna1_incomplete = 2
knb1_incomplete = 3
knb5_incomplete = 4
knvv_incomplete = 5
kunnr_not_unique = 6
sales_area_not_unique = 7
sales_area_not_valid = 8
insert_update_conflict = 9
number_assignment_error = 10
number_not_in_range = 11
number_range_not_extern = 12
number_range_not_intern = 13
account_group_not_valid = 14
parnr_invalid = 15
bank_address_invalid = 16
tax_data_not_valid = 17
no_authority = 18
company_code_not_unique = 19
dunning_data_not_valid = 20
knb1_reference_invalid = 21
cam_error = 22
OTHERS = 23.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDLOOP. -
How do I change the default properties for Replace(Ins)?
Acrobat Pro X
Comment tools: Annotations
All tool icons EXCEPT Replace(Ins) show "Tool Default Properties" as an option when right-clicked. When I right-click a particular replacement in the document and select "Properties," there is no option to set current as default.
So, how do I change the default properties for this annotation tool? I need to change the Author and the color.
Thanks,
NancyCreate customized controls for your graphs and controls and setup your favorite attributes .
Use your custom controls instead of the canned controls.
Do a search on UI and you will find a community that already created custom controls.
Visualize the Solution
CLA
LabVIEW, LabVIEW FPGA -
Changing the field properties (editabel/greyed out) dynamically?
Hello
I am developing an Adobe interactive form. My requirement is dynamically changing the filed properties based on the other field values/selections/inputs.
1) For example in the form, if user puts value_A in field_1, then, the field_2 should be greyed out.
2) If user puts value_B in field_3, then, system automatically populate the value_C in field_4 in order to let the user make easy- user friendly
3) If user puts value_D in field_5, then, only allowed value in field_6 is value_E, if by mistake user puts value_F in field_6, then, system should throw error message
Pls. let me know how to achive this DYNAMIC functionality in the FORM or do we need to handle from WEbDynPro ABAP side?
Thank youHi,
Everything you have mentioned is possible in the form itself. Just write the valid script at valid event of valid field.
1) For example in the form, if user puts value_A in field_1, then, the field_2 should be greyed out.
Ans: Write on change event of Field1:
if($.rawValue eq "value_A")
then
Field2.access = "readOnly"
Field2.fillColor = "192,192,192"
endif
2) If user puts value_B in field_3, then, system automatically populate the value_C in field_4 in order to let the user make easy- user friendly
Ans: Write on change event of Field3:
if($.rawValue eq "value_B")
then
Field4.rawValue = "value_C"
endif
3) If user puts value_D in field_5, then, only allowed value in field_6 is value_E, if by mistake user puts value_F in field_6, then, system should throw error message
Ans: Write at exit event of Field6:
if(Field5.rawValue eq "value_D" and $.rawValue ne "value_E")
then
xfa.host.messageBox("Wrong Value", "Error", 0)
endif
For such type of scripts you can refer to designer help also. So please check there before posting your query that would save your time.
Regards,
Vaibhav -
Can't seem to change the Document Properties > Advanced > Reading Options in a Form that was created in Adobe LiveCycle. This option has been "greyed" out - anyone know how to update this to English so I can pass Accessibility Testing?
LiveCycle forms use a very different approach to create a PDF form than Acrobat and that approach makes many features for processing PDFs non-functional.
You might want to ask this question in one of the LiveCycle product forums. -
Change the displayed properties of the StandardSearchResultRender
Hey,
I would like to change the displayed properties in the StandardSearchResultRender of the SearchResultSet
(SearchResultLayoutSet --> StandardSearchResultRenderer --> Displayed Properties).
I need a new Link such as Displayed Name of a document (rnd:displayname(contentLink/[1;2-3]/alignTop/space-right=30)).
For this i made two new properties witch called "newdisplayname" and "newlink". In the StandardSearchResultRendere I added the line "rnd:newdisplayname(newlink/[5;2-3]/alignTop/space-right=30)" in the displayed properties. When I apply my changes the Portal shows me an error (The current configurable is invalid ). I don't know why it's invalid.
Can anybody help me? How can I made a new link with an reference? Thanks.Hi Misel,
> Is it right, that I can create my own modifier, if I modificate the code?
In general, yes, but one should have heavy experience if starting to modify SAP code.
> If yes, where must I modifie the code
There are different classes, one example would be com.sapportals.wcm.rendering.resource.cm.ResourceRenderer (that is almost supported to "modify", at least it is supported to create your own ResourceRenderer)
> Is ther anywhere an example, or an document ore something else?
No, absolutely not. This is really deep-digging into foreign code which in general is not supported at all by SAP.
> Or is there an other option to show a link with an other caption?
The easier way would be to create a property renderer and to implement that or the resource renderer by yourself; this also is officially supported: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/com.sap.km.cm.docs/library/nw/NetweaverDevelopersGuide2004s/NetWeaverDevelopersGuide2004s_Documents/KM_articles_new/howto/km/flexui/Flexible%20UI%20Components.html
Hope it helps
Detlev -
Where can I change the System properties permanently
Instead of
System.setProperty("name","new-value");
to change the system properties in run-time.
How can I change it in a config file? Where is it?
Thx.Hai,
We can't directly set the system properties values using config/properties file. But, if you wish to use <b>Spring </b> framework, there is an option to load system properties through a config file.
Regards,
Loga
Maybe you are looking for
-
Not able to sync movie purchased from itunes from imac to ipad2.
-
How do I handle the same text/string request to several queues ?
Hello, I just want to send the same string (via a file) to several queues, how do I proceed with OSB ? A small transformation (XSLT) is required on one route, nothing on the other one, but the initial string is the same. I don't need any WSDL, just a
-
Hi FI Exp, How to restrict that the notification should flow only in case of completion of parked document and the same should not flow in case of only parked document. I have been activated std WS10000051 nd configured in IMG, Both Only Save and Sav
-
Provisioning Manager Business Edition on Linux
Has anyone successfully installed and configured the Linux Version of Provisioning manager that came with the BE6000 8.6 bundle? I can get the IP/Network config done using the Quick Start Guide, but then the guide references logging in with admin, an
-
My Welcome file has disappeared
Hey, I was creating a totally new version to my webpage and now I do not have a welcome page so it does not load up. What do I do? Chris